Description Usage Arguments Value Examples
Apply a layout to the current network
| 1 | applyLayout(layout, base.url = "http://localhost:1234/v1")
 | 
| layout | (char) name of the layut, run commandHelp('layout') to see available list of layouts. Feel free to include parameters along with the layout name, space delimited. See example. | 
| base.url | cyrest base url for communicating with cytoscape | 
server response
| 1 | applyLayout('force-directed defaultSpringCoefficient=.000004 defaultSpringLength=100')
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.