Appearance
ZoomInteractionOptions
Type: object
Properties
- duration(optional)
number[=150]Indicate the duration of a manual zoom. - easing(optional)
EasingFunction[="cubicOut"]Easing function to use for the zoom. - enabled(optional)
boolean[=true]Indicates if zoom on mouse wheel should be enabled. - hideEdgeTexts(optional)
boolean[=false]Indicates if the edge texts should be hidden when zooming manually. - hideEdges(optional)
boolean[=false]Indicates if the edges should be hidden when zooming manually. - hideNodeTexts(optional)
boolean[=false]Indicates if the node texts should be hidden when zooming manually. - hideNodes(optional)
boolean[=false]Indicates if the nodes should be hidden when zooming manually. - keyboard(optional)
boolean[=true]Indicates if the keyboard shortcuts for moving the view should be enabled. - maxValue(optional)
null|ZoomBoundaryFunctionFunction indicating the maximum possible zoom. By default, it's not possible to zoom so the smallest node takes more than 50% of the view. Set tonullto remove the limit. - metaKey(optional)
'alt'|'shift'|'space'[='ctrl/cmd']Modifier button to use for zooming with the mousewheel or trackpad whenscrollToPanis enabled. - minValue(optional)
null|ZoomBoundaryFunctionFunction indicating the minimum possible zoom. By default, it's not possible to zoom so the graph takes less than 20% of the view. Set tonullto remove the limit. - modifier(optional)
number[=1.8]Indicate the zoom multiplier on the manual zoom. - onDoubleClick(optional)
boolean[=false]Indicates if zoom on double click should be enabled. - scrollToPan(optional)
boolean[=false]Indicates if the view should be moved when scrolling with mousewheel or trackpad - zoom(optional)
object