setStyleDependencies: Set Style Dependencies

View source: R/StyleDependencies.R

setStyleDependenciesR Documentation

Set Style Dependencies

Description

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

Usage

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


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


cytoscape/RCy3 documentation built on Nov. 1, 2024, 2:49 a.m.