NgDiagramPortComponent
since v0.8.0The NgDiagramPortComponent represents a single port on a node within the diagram.
Example usage
Section titled “Example usage”<ng-diagram-port [id]="port.id" [type]="port.type" [side]="port.side" />Extends
Section titled “Extends”NodeContextGuardBase
Implements
Section titled “Implements”OnInitOnDestroyAfterContentInit
Properties
Section titled “Properties”id:
InputSignal<string>
The unique identifier for the port. test
originPoint
Section titled “originPoint”originPoint:
InputSignal<OriginPoint>
The origin point for the port (e.g., topLeft, center, bottomRight). This value determines the transform origin of the port for precise positioning. By default, it is set to ‘center’.
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).