Skip to main content

Home > @jsplumbtoolkit/connector-editors-orthogonal > OrthogonalEditor > _update

OrthogonalEditor._update() method

updates the current origin of the connector's SVG element (the location of its to left corner wrt the origin of the jsplumb instance's container). Then updates the offset of the source and target points from the origin of the SVG element. Finally, extracts the control point information from the connection, either as geometry (if previously edited or set) or from the computed control points.

Signature:

/** @override */
_update(args?: {
segmentInfo?: SegmentEditorInfo;
segmentIndex?: number;
}): void;

Parameters

ParameterTypeDescription
args{ segmentInfo?: SegmentEditorInfo; segmentIndex?: number; }

Returns:

void