Sets the specified properties for the specified layout. Unmentioned properties are left unchanged.
setLayoutProperties(layout.name, properties.list, base.url = .defaultBaseUrl)
layout.name | ( |
---|---|
properties.list | ( |
base.url | (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. |
None
Run getLayoutNames to list available layouts. Run getLayoutPropertyNames to list properties per layout.
Alexander Pico, Tanja Muetze, Georgi Kolishovski, Paul Shannon
# \donttest{ setLayoutProperties('force-directed', list(defaultSpringLength=50, defaultSpringCoefficient=6E-04)) # Successfully updated the property 'defaultSpringLength'. # Successfully updated the property 'defaultSpringCoefficient'. # }