View source: R/StyleBypasses.R
setNetworkCenterBypass | R Documentation |
Set the bypass value for center x and y for the network. This function could be used to pan and scroll the Cytoscape canvas.
setNetworkCenterBypass(
x,
y,
bypass = FALSE,
network = NULL,
base.url = .defaultBaseUrl
)
x |
Coordinate value, increases going to the right. |
y |
Coordinate value, increase going down. |
bypass |
Whether to set permanent bypass value. Default is |
network |
(optional) Name or SUID of the network. Default is the "current" network active in Cytoscape. |
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. |
This method permanently overrides any default values for this visual property. This method ultimately calls the generic function, setNetworkPropertyBypass, which can be used to set any visual property. To restore defaults, use clearNetworkPropertyBypass.
None
setNetworkPropertyBypass, clearNetworkPropertyBypass
setNetworkCenterBypass()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.