Class Port

Port is where connectors connects to a stencil.

Hierarchy

  • Port

Constructors

Properties

Methods

Constructors

  • Creates a connector.

    Parameters

    Returns Port

Properties

connectors: ConnectorBase[] = []

Connecrtors connected to the port.

enabled: boolean = true

Is this port enabled. When set to false the port will not be visible in the connection mode in the DiagramEditor.

location: PortLocation

Location of the port on the stencils frame.

x: number = 0

Horizontal coordinate of the port within the stencil.

y: number = 0

Vertical coordinate of the port within the stencil.

Methods

  • Removes the supplied connector from the port.

    Parameters

    Returns void

Generated using TypeDoc