Function: bundleLinks()
ts
function bundleLinks(positions, graph, options?): BundleResult;Bundle the links of a laid-out graph: hierarchical bundling when it has groups, force-directed bundling when it has none (see BundleOptions.method). positions are the node centers a layout returned; the number of nodes is their length.
Parameters
| Parameter | Type |
|---|---|
positions | BundlePositions |
graph | BundleGraph |
options | BundleOptions |