updateStyleDefaults: Updates the default values of visual properties in a style

Description Usage Arguments Value See Also Examples

View source: R/updateStyleDefaults.R

Description

Updates visual property defaults, overriding any prior settings. See mapVisualProperty for the list of visual properties.

Usage

1
2
updateStyleDefaults(style.name, defaults,
  base.url = "http://localhost:1234/v1")

Arguments

style.name

(char) name for style

defaults

(list) a list of visual property default settings, see mapVisualProperty

base.url

cyrest base url for communicating with cytoscape

Value

server response

See Also

mapVisualProperty

Examples

1
updateStyleDefaults('myStyle',list('node fill color'='#0000FF','node size'=50))

cytoscape/r2cytoscape documentation built on May 4, 2019, 6:36 p.m.