NgDiagramBaseEdgeLabelComponent
The NgDiagramBaseEdgeLabelComponent is responsible for displaying a label at a specific position along an edge.
Example usage
Section titled “Example usage”<ng-diagram-base-edge-label [id]="labelId" [positionOnEdge]="0.5"> <!-- Any label content here (text, icon, button) --></ng-diagram-base-edge-label>Implements
Section titled “Implements”OnInitOnDestroy
Properties
Section titled “Properties”id:
InputSignal<string>
The unique identifier for the edge label.
positionOnEdge
Section titled “positionOnEdge”positionOnEdge:
InputSignal<number>
The relative position of the label along the edge (from 0 to 1).