Skip to content

NgDiagramPortComponent

The NgDiagramPortComponent represents a single port on a node within the diagram.

<ng-diagram-port [id]="port.id" [type]="port.type" [side]="port.side" />
  • NodeContextGuardBase
  • OnInit
  • OnDestroy

id: InputSignal<string>

The unique identifier for the port. test


side: InputSignal<PortSide>

The side of the node where the port is rendered (e.g., top, right, bottom, left).


type: InputSignal<"source" | "target" | "both">

The type of the port (e.g., source, target, both).