EdgeLayoutData

The result of the layout algorithm, which provides all the necessary information to route the edges and arrange the labels. This information will be stored in the data.yData of each edge.

Props

NameDescriptionType
bends
The bend points of an edge. This information will be used by the PolylineEdge to draw the edge path.
{ x: number; y: number }[]
labelBoxes
The layout information about the labels of a node or an edge. This information will be used by the EdgeLabels component.
LabelBox[]
sourcePoint
The coordinates of an edge’s source point relative to its source node’s center. This information will be used by the PolylineEdge to draw the edge path.
{ x: number; y: number }
targetPoint
The coordinates of an edge’s target point relative to its target node’s center. This information will be used by the PolylineEdge to draw the edge path.
{ x: number; y: number }