Skip to content

Function: forceBundle() ​

ts
function forceBundle(positions, graph, options?): ForceBundleResult;

Force-directed edge bundling: a 'polyline' route for every link that was pulled into a bundle and undefined for a link that stays straight. See the module comment for the model, its bounds and which links stay straight.

refused is true, with every route undefined and method: 'none', when the graph has more than maxLinks links that can be bundled.

Parameters ​

ParameterType
positionsBundlePositions
graphBundleGraph
optionsForceBundleOptions

Returns ​

ForceBundleResult

Released under the MIT License.