panzoom Layout
1 2 3 4 5 6 7 8 9 | panzoom(cytoscape, name = "panzoom", zoomFactor = 0.05,
zoomDelay = 45, minZoom = 0.1, maxZoom = 10, fitPadding = 50,
panSpeed = 10, panDistance = 10, panDragAreaSize = 75,
panMinPercentSpeed = 0.25, panInactiveArea = 8,
panIndicatorMinOpacity = 0.5, zoomOnly = FALSE, fitSelector = NULL,
animateOnFit = htmlwidgets::JS("function(){return false;}"),
fitAnimationDuration = 1000, sliderHandleIcon = "fa fa-minus",
zoomInIcon = "fa fa-plus", zoomOutIcon = "fa fa-minus",
resetIcon = "fa fa-expand", ...)
|
zoomDelay |
|
... |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.