Reputation: 23
I think there is a curvature attribute given to the edges. or should it be given in cytoscape.stylesheet
Upvotes: 2
Views: 4970
Reputation: 12242
You use the stylesheet. Relevant properties: http://js.cytoscape.org/#style/edge-line
Specific properties of interest include the control point properties:
curve-style: bezier
for bundled (spaced) curved edges; curve-style: unbundled-bezier
for complete manual controlcontrol-point-step-size
: for bundled bezier spacingcontrol-point-distance
: manual spacingcontrol-point-weight
: to pull the control point more towards the source or targetUpvotes: 2