setStyleDependencies: Set Style Dependencies

Description Usage Arguments Value Available Dependencies Examples

View source: R/StyleDependencies.R

Description

Sets the values of dependencies in a style, overriding any prior settings.

Usage

1
2
3
4
5
setStyleDependencies(
  style.name = NULL,
  dependencies,
  base.url = .defaultBaseUrl
)

Arguments

style.name

Name of style; default is "default" style

dependencies

A list of style dependencies, see Available Dependencies below. Note: each dependency is set by a boolean, TRUE or FALSE (T or F)

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.

Value

server response

Available Dependencies

arrowColorMatchesEdge nodeCustomGraphicsSizeSync nodeSizeLocked

Examples

1
setStyleDependencies("myStyle",list(nodeSizeLocked=TRUE))

RCy3 documentation built on Nov. 21, 2020, 2 a.m.