EdgeLabelsProps

The properties that describe the labels of an edge with their layout and styling.

Props

NameDescriptionType
className?
An optional CSS class used for styling the label.
string
labelBoxes
The layout information for the labels.
LabelBox[]
labels
The list of labels for the given edge.
(
| Label
| string
| ReactNode
)[]
labelStyle?
An optional CSS style used for the label.
CSSProperties
ownerId
The id of the edge to which the labels belong.
string