OptionalallowWhether 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.
OptionalcallbacksCallbacks for various events in the NVL instance.
OptionaldisableDisables 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.
OptionaldisableDisables tracking of library usage
OptionaldisableDisables the use of web workers for the layout calculations.
OptionalinitialZoom value of the current viewport
OptionalinstanceId for uniquely identifying the instance of Nvl
OptionallayoutThe graph layout algorithm to be used
OptionallayoutConfiguration for the current layout
OptionalmaxThe maximum zoom level allowed
OptionalminimapThe DOM container in which to render the minimap.
OptionalminThe minimum zoom level allowed
OptionalpanXX-coordinate for panning of the current viewport
OptionalpanYY-coordinate for panning of the current viewport
OptionalrendererWhat renderer to use Possible values are 'webgl' or 'canvas'
OptionalstylingStyling options for the NVL instance.
OptionaldefaultThe default color for nodes.
OptionaldefaultThe default color for relationships.
OptionaldisabledThe color to use for the disabled nodes and relationships
OptionaldisabledThe color to use for the labels of the disabled nodes and relationships
OptionaldropThe color to use for the drop shadow of selected/hovered nodes and relationships
OptionalminimapThe color to use for the viewport box in the minimap
OptionalnodeThe color to use for the default border of nodes
OptionalselectedThe color to use for the selected border of nodes and relationships
OptionalselectedThe color to use for the selected inner border of nodes and relationships
Configurations for a NVL instance