buildROptions {shinyCyJS} | R Documentation |
buildROptions
Description
build Rendering Option
Usage
buildROptions(
headless = FALSE,
styleEnabled = TRUE,
hideEdgesOnViewport = FALSE,
textureOnViewport = FALSE,
motionBlur = FALSE,
motionBlurOpacity = 0.2,
wheelSensitivity = 1,
pixelRatio = "auto"
)
Arguments
headless |
A convenience option that initialises the instance to run headlessly. [logical] |
styleEnabled |
Whether style available or not. [logical] |
hideEdgesOnViewport |
Whether edge will show on canvas manipulation. [logical] |
textureOnViewport |
Whether texture used in canvas manipulation. [logical] |
motionBlur |
Whether use motionBlur effect. [logical] |
motionBlurOpacity |
opacity of motion blur frames [numeric between 0 ~ 1 (transparent)] |
wheelSensitivity |
Changes the scroll wheel sensitivity when zooming. [numeric between 0 (zoom slower) ~ 1 (zoom faster)] |
pixelRatio |
Overrides the screen pixel ratio with a manually set value [numeric] |
Details
undescribed parameter will set as default.
Value
List typed Rendering Option for Cytoscape.js canvas object.
See Also
https://js.cytoscape.org/#core/initialisation
Examples
ropt <- buildROptions(wheelSensitivity = 0.5)
[Package shinyCyJS version 1.0.0 Index]