Interface ConnectorEditorOptions

Options for the EdgePathEditor.

interface ConnectorEditorOptions {
    activeMode?: boolean;



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.