Skip to main content

OrthogonalEditorOptions

Options for an orthogonal path editor.

Extends

Properties

activeMode?

optional activeMode: boolean

When true (which is the default), tells the EdgePathEditor to mark any new connection dragged with the mouse as "edited", ie. to fix the initial geometry. This is particularly beneficial when using an anchorPositionFinder: it results in every new edge having a 'geometry' object, so that if you export the dataset, you will get the anchor values you chose in your anchorPositionFinder. If an edge does not get exported with geometry for its path, next time it is loaded it will be assigned anchors automatically, which may or may not match the anchors you actually wanted.

Inherited from

ConnectorEditorOptions.activeMode


anchorPlaceholderSize?

optional anchorPlaceholderSize: number

The width and height in pixels of the element used to show the current position of a dynamic anchor, and the positions to which it may be dragged. Defaults to DEFAULT_ANCHOR_PLACEHOLDER_SIZE

Inherited from

ConnectorEditorOptions.anchorPlaceholderSize


buttonSize?

optional buttonSize: number

The width and height of the buttons added by this editor.

Inherited from

ConnectorEditorOptions.buttonSize


hoverMode?

optional hoverMode: boolean

When true, the path editor is activated when the user hovers over an edge. For touch devices this is ignored, since there are no hover events.

Inherited from

ConnectorEditorOptions.hoverMode