Skip to content

NgDiagramBaseEdgeComponent

Base edge component that handles edge rendering. It can be extended or used directly to render edges in the diagram.

edge: InputSignal<Edge<object>>

Edge data model


routing: InputSignal<undefined | string>

Edge routing mode


sourceArrowhead: InputSignal<undefined | string>

ID of a source element in the SVG document. Edge model data has precedence over this property.


stroke: InputSignal<undefined | string>

Stroke color of the edge. Edge model data has precedence over this property.


strokeDasharray: InputSignal<undefined | string>

Stroke dash array of the edge (e.g., ‘5 5’ for dashed line, ‘10 5 2 5’ for dash-dot pattern).


strokeOpacity: InputSignal<undefined | number>

Stroke opacity of the edge


strokeWidth: InputSignal<undefined | number>

Stroke width of the edge


targetArrowhead: InputSignal<undefined | string>

ID of a target element in the SVG document. Edge model data has precedence over this property.