Interface ConnectorBaseState

Represents a state (configuration) of a connector. Used when storing and restoring connector state externally and for undo/redo operations.

Hierarchy

  • ConnectorBaseState

Properties

arrowType?: ArrowType

Describes which tips of the connector end in arrows.

endPortLocation?: PortLocation

Location of the stencil connector port on the end tip of the connector.

endStencilId?: number

Identifier of the stencil at the end tip of the connector.

iid: number

Internal connector identifier.

labelOffsetX?: number

Horizontal offset of the connector's text label (as measured from the automatic position).

labelOffsetY?: number

Vertical offset of the connector's text label (as measured from the automatic position).

labelText?: string

Text of the connector's label.

startPortLocation?: PortLocation

Location of the stencil connector port on the start tip of the connector.

startStencilId?: number

Identifier of the stencil at the start tip of the connector.

strokeColor?: string

Color of the connector line.

strokeDasharray?: string

Dash array for the connector line.

See

MDN stroke-dasharray docs for details.

strokeWidth?: number

Width of the connector line (in pixels).

typeName: string

Text representation of connector's type name.

Generated using TypeDoc