Author: marekz
Date: 2011-08-17 08:28:25 -0700 (Wed, 17 Aug 2011)
New Revision: 26584

Modified:
   cytoscapeweb/branches/gsoc2011/cytoscapeweb-svg/cytoscapeweb-svg.js
   cytoscapeweb/branches/gsoc2011/cytoscapeweb-svg/main.html
Log:
Fixed issue with arrow colors and changed some styles

Modified: cytoscapeweb/branches/gsoc2011/cytoscapeweb-svg/cytoscapeweb-svg.js
===================================================================
--- cytoscapeweb/branches/gsoc2011/cytoscapeweb-svg/cytoscapeweb-svg.js 
2011-08-17 15:18:31 UTC (rev 26583)
+++ cytoscapeweb/branches/gsoc2011/cytoscapeweb-svg/cytoscapeweb-svg.js 
2011-08-17 15:28:25 UTC (rev 26584)
@@ -287,7 +287,7 @@
                        "shape": "ELLIPSE",
                        "ratio": 1,
                        "size": 18,
-                       "color": "#f5f5f5",
+                       "color": "#e0e0e0",
                        "borderColor": "#666666",
                        "borderWidth": 1,
                        "opacity": 1,
@@ -306,7 +306,7 @@
                },
 
                edge: {
-                       "color": "black",
+                       "color": "#404040",
                        "width": 3,
                        "opacity": 1,
                        "style": "SOLID",
@@ -1209,7 +1209,7 @@
                // Arrow head attributes
                var targetArrowPath = 
this._arrowShapes[this.getRenderedStyle("targetArrowShape")] || "none";
                var targetArrowAttr = {
-                       "fill": this.getRenderedStyle("targetArrowColor") || 
attr["stroke"],
+                       "fill": attr["stroke"],
                        "stroke": "none",
                        "opacity": attr["stroke-opacity"],
                        "d": targetArrowPath,
@@ -1219,7 +1219,7 @@
                
                var sourceArrowPath = 
this._arrowShapes[this.getRenderedStyle("sourceArrowShape")] || "none";
                var sourceArrowAttr = {
-                       "fill":  this.getRenderedStyle("sourceArrowColor") || 
attr["stroke"],
+                       "fill": attr["stroke"],
                        "stroke": "none",
                        "opacity": attr["stroke-opacity"],
                        "d": sourceArrowPath,

Modified: cytoscapeweb/branches/gsoc2011/cytoscapeweb-svg/main.html
===================================================================
--- cytoscapeweb/branches/gsoc2011/cytoscapeweb-svg/main.html   2011-08-17 
15:18:31 UTC (rev 26583)
+++ cytoscapeweb/branches/gsoc2011/cytoscapeweb-svg/main.html   2011-08-17 
15:28:25 UTC (rev 26584)
@@ -35,7 +35,7 @@
                                },
                                nodes: {
                                        size: 20,
-                                       color: "#f5f5f5",
+                                       color: "#d0d0f0",
                                        borderColor: "#666666",
                                        borderWidth: 1.8,
                                        opacity: 1,

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to