Skip to content

LabelEdge

LabelEdge(__namedParameters): Element

Default edge component for the diagram. Renders a smooth-step path between two nodes, mounts an EdgeLabel at the midpoint when data.label or data.icon is set, and degrades to a self-connecting loop when source and target are the same node.

Registered automatically as the 'labelEdge' type — to use it in your own diagrams, set edge.type = 'labelEdge' and put a label / icon in edge.data.

EdgeProps<WorkflowBuilderEdge>

Element