Skip to main content

Home > @jsplumbtoolkit/connector-editors > ConnectorEditorOptions

ConnectorEditorOptions interface#

Signature:

export interface ConnectorEditorOptions 

Properties#

PropertyTypeDescription
activeMode?boolean(Optional) When true, 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.