View source: R/buildRoptions.R
buildROptions | R Documentation |
build Rendering Option
buildROptions(
headless = FALSE,
styleEnabled = TRUE,
hideEdgesOnViewport = FALSE,
textureOnViewport = FALSE,
motionBlur = FALSE,
motionBlurOpacity = 0.2,
wheelSensitivity = 1,
pixelRatio = "auto"
)
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] |
undescribed parameter will set as default.
List typed Rendering Option for Cytoscape.js canvas object.
https://js.cytoscape.org/#core/initialisation
ropt <- buildROptions(wheelSensitivity = 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.