BalloonLayoutDataProvider<TNodeData, TEdgeData>

A provider for individual options per nodes or edges in a BalloonLayout. It allows for defining a function that provide values for each element.

For more information, see BalloonLayoutData.

Props

NameDescriptionType
edgeLabelPreferredPlacement?
Provides descriptors for the placement of edge labels.
(
label: LabelData
) => PreferredPlacementDescriptor
groupNodeInsets?
Provides the insets the group nodes, i.e., a rectangular area like padding in the interior of the node.
(
node: TNodeData
) => Insets
nodeHalos?
Provides halos for nodes, i.e., a rectangular area around a specific node considered during the layout.
(
node: TNodeData
) => NodeHalo
nodeTypes?
Provides types which can influence the ordering of nodes during layout.
(node: TNodeData) => any
outEdgeComparer?
Provides an order for the given edges in which the edges are arranged at a node.
(
edge1: TEdgeData,
edge2: TEdgeData
) => number