Optional
allowWhether or not to dynamically allow decreasing minimum zoom value if current graph does not fit on screen at minimum zoom. When set to true, zoom and fit operations will allow zooming out further than the minimum zoom value if the graph does not fit on screen. When set to false, zoom and fit operations will stop at the minimum zoom value, even if the full graph does not fit on screen at that zoom level.
Optional
callbacksCallbacks for various events in the NVL instance.
Optional
disableDisables ARIA attributes on the graph.
By default, NVL adds ARIA attributes to the graph container to make it more accessible.
Attributes include role="image"
, aria-label="Graph visualization"
and aria-describedby="nvl-${instanceId}-description"
.
The description element is a live region that will announce changes to the graph.
Optional
disableDisables tracking of library usage
Optional
disableDisables the use of web workers for the layout calculations.
Optional
initialZoom value of the current viewport
Optional
instanceId for uniquely identifying the instance of Nvl
Optional
layoutThe graph layout algorithm to be used
Optional
layoutConfiguration for the current layout
Optional
maxThe maximum zoom level allowed
Optional
minimapThe DOM container in which to render the minimap.
Optional
minThe minimum zoom level allowed
Optional
panXX-coordinate for panning of the current viewport
Optional
panYY-coordinate for panning of the current viewport
Optional
rendererWhat renderer to use Possible values are 'webgl' or 'canvas'
Optional
stylingStyling options for the NVL instance.
Optional
defaultThe default color for nodes.
Optional
defaultThe default color for relationships.
Optional
disabledThe color to use for the disabled nodes and relationships
Optional
disabledThe color to use for the labels of the disabled nodes and relationships
Optional
dropThe color to use for the drop shadow of selected/hovered nodes and relationships
Optional
minimapThe color to use for the viewport box in the minimap
Optional
nodeThe color to use for the default border of nodes
Optional
selectedThe color to use for the selected border of nodes and relationships
Optional
selectedThe color to use for the selected inner border of nodes and relationships
Configurations for a NVL instance