Home > @jsplumbtoolkit/connector-editors-orthogonal > OrthogonalEditor
OrthogonalEditor class
Signature:
export declare class OrthogonalEditor extends EditorBase<OrthogonalConnector>
Extends: EditorBase<OrthogonalConnector>
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(surface, params) | Constructs a new instance of the OrthogonalEditor class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
geometry | InternalOrthogonalConnectorGeometry | ||
segmentHandles | Array<{ geometry: OrthogonalSegment; el: HTMLElement; }> | ||
segments | Array<OrthogonalSegment> | ||
type | static | string |
Methods
Method | Modifiers | Description |
---|---|---|
_clearHandles(excludeHandle) | clear all handles, except, optionally, the one provided. | |
_elementDragged(p) | ||
_elementDragging(p) | ||
_setHandlePosition(segmentInfo, mid) | ||
_update(args) | 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. |