setNetworkCenterBypass: Set Network Center Bypass

View source: R/StyleBypasses.R

setNetworkCenterBypassR Documentation

Set Network Center Bypass

Description

Set the bypass value for center x and y for the network. This function could be used to pan and scroll the Cytoscape canvas.

Usage

setNetworkCenterBypass(
  x,
  y,
  bypass = FALSE,
  network = NULL,
  base.url = .defaultBaseUrl
)

Arguments

x

Coordinate value, increases going to the right.

y

Coordinate value, increase going down.

bypass

Whether to set permanent bypass value. Default is FALSE per common use of temporary center settings.

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.

Details

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.

Value

None

See Also

setNetworkPropertyBypass, clearNetworkPropertyBypass

Examples


setNetworkCenterBypass()


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