Skip to content

Interface: BundleResult ​

What bundleLinks returns.

Properties ​

PropertyModifierTypeDescription
methodreadonly"none" | "force" | "hierarchical"The method that gave the routes, or 'none' when no link got one: no links, strength 0, no hierarchy for 'hierarchical', no compatible links for 'force', or refused.
refusedreadonlybooleanTrue when force bundling was asked for but the graph is over the size cap (maxLinks), so links were left straight.
routesreadonly(LinkRoute | undefined)[]One entry per link (same indices as graph.source); undefined = a straight link. Fits LayoutResult.routes.

Released under the MIT License.