The Cytoscape 'Layout' menu lists many layout algorithms, but the names presented there are different from the names by which these algorithms are known to layout method. This method returns a named list in which the names are from the GUI, and the values identify the names you must use to choose an algorithms in the programmatic interface.
getLayoutNameMapping(base.url = .defaultBaseUrl)
(optional) Ignore unless you need to specify a custom domain, port or version to connect to the CyREST API. Default is http://localhost:1234 and the latest version of the CyREST API supported by this version of RCy3.
Alexander Pico, Tanja Muetze, Georgi Kolishovski, Paul Shannon
1 2 3
getLayoutNameMapping() # Degree Sorted Circle Layout Group Attributes Layout Edge-weighted Spring Embedded Layout # "degree-circle" "attributes-layout" "kamada-kawai"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.