Skip to content

EdgeLabel

since v0.8.0

Interface representing a label of an edge.

id: string

The id of the label.


optional position: Point

The position of the label on flow.


positionOnEdge: number

The position of the label from 0 to 1 where 0 is the source position of edge and 1 is the target position of edge.


optional size: Size

The size of the label.