PaperDefaults
Defaults for a Paper renderer
Extends
Properties
edgeRelocateHandleSize?
optionaledgeRelocateHandleSize: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.
Inherited from
BrowserUIDefaults.edgeRelocateHandleSize
elementsDraggable?
optionalelementsDraggable:boolean
Whether or not elements should be draggable. Default value is true.
Inherited from
BrowserUIDefaults.elementsDraggable
hoverEvents?
optionalhoverEvents: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.
Inherited from
hoverPaintStyle?
optionalhoverPaintStyle:PaintStyle
Default style to use to paint edges when mouse is hovering over them.
Inherited from
BrowserUIDefaults.hoverPaintStyle
paintStyle?
optionalpaintStyle:PaintStyle
Default style to use to paint edges.
Inherited from
resizeObserver?
optionalresizeObserver: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 revalidate()