PaperDefaults
Defaults for a Paper renderer
| Name | Type | Description |
|---|---|---|
| edgeRelocateHandleSize? | number | Width/height of the SVG element with which a user can drag to relocate the source or target of some edge. Defaults to 20. |
| elementsDraggable? | boolean | Whether or not elements should be draggable. Default value is . |
| hoverEvents? | boolean | Defaults to false. When true, VisuallyJs tracks mouseover/mouseout/mouseenter/mouseexit events for overlays, elements and connections. Most of the reasoning for having this ability was related to the initial canvas renderer, and with SVG/CSS this functionality is, for the most part, not needed. But you can switch it on if you need to. |
| hoverPaintStyle? | PaintStyle | Default style to use to paint edges when mouse is hovering over them. |
| paintStyle? | PaintStyle | Default style to use to paint edges. |
| resizeObserver? | boolean | Defaults to true, indicating that a ResizeObserver will be used, where available, to allow VisuallyJs to revalidate elements whose size in the DOM have been changed, without the library user having to call |