curveBundle function Curves

Curve curveBundle(
  1. Path context
)

Produces a straightened cubic basis spline using the specified control points, with the spline straightened according to the curve’s beta (see curveBundleBeta), which defaults to 0.85.

This curve is typically used in hierarchical edge bundling to disambiguate connections, as proposed by Danny Holten in Hierarchical Edge Bundles: Visualization of Adjacency Relations in Hierarchical Data. This curve does not implement Curve.areaStart and Curve.areaEnd; it is intended to work with line, not area.

Implementation

Curve curveBundle(Path context) => curveBundleBeta(0.85)(context);