Appearance
EdgeGroupingOptions
Type: object
Properties
- duration(optional)
numberAnimation time in milliseconds. The animation will be played once after the creation of the group. Ignored ifenabledis false. - easing(optional)
EasingFunction[="quadraticOut"]Grouping animation easing function. - enabled(optional)
booleanIndicates if the edge grouping must be enabled. - generator(optional)
function(edges: EdgeList, groupId: string, source: Node, target: Node, transformation: Transformation): EdgeDataAndAttributes| nullGiven a list of edges that should be grouped together, must return the new edge (meta-edge) to be added. Returning null means that the edges should not be grouped. - groupIdFunction(optional)
function(edge: Edge): string|undefinedGiven an edge, must return a string identifying a group. All edges that are parallel and for which the function returns the same value will be grouped together. By default matches all the edges that are parallel together. The returned string will be used as prefix of the final id. Returningundefinedmeans that the edge should not be grouped. - selector(optional)
function(edge: Edge): booleanOnly edges that match this criteria will be grouped with other edges. By default, all the edges will be assigned a group. - separateEdgesByDirection(optional)
booleanBy default, edges that have opposite source and target are grouped together (resulting source and target not deterministic). If this option istrue, they will not be grouped together.