Cytoscape with Haystack or Bezier Layout: How to Shorten Edge Length
<p>I am new to Cytoscape, and I have a working graph, but my nodes are very far apart.  While I realize Cytoscape generates everything dynamically, it seems like it should be possible to say "use half as much space between nodes".</p>

<p>This demo:</p>

<p><a href="http://js.cytoscape.org/demos/2ebdc40f1c2540de6cf0" rel="nofollow">http://js.cytoscape.org/demos/2ebdc40f1c2540de6cf0</a></p>

<p>seems to show that you can dynamically change the lengths of edges.  However, when I look at the source code (<a href="https://gist.github.com/maxkfranz/2ebdc40f1c2540de6cf0" rel="nofollow">https://gist.github.com/maxkfranz/2ebdc40f1c2540de6cf0</a>), I can't figure out how it works.</p>

<p>It seems like the demo is passing a <code>edgeLength</code> option to <code>makeLayout</code>, but the Cytoscape documentation doesn't even mention <code>edgeLength</code> as a valid option.</p>

<p>Can anyone more experienced with Cytoscape point me to how I can shorten the edges between my nodes?</p>