Skip to content

Variable: layeredLayout ​

ts
const layeredLayout: GraphLayout<LayeredOptions | null | undefined>;

The layered layout as the graph trace calls it: layered: { rankdir, ranksep, nodesep, … } (see LayeredOptions). Returns a position per node, a route per link (also for straight ones: routes end on the nodes' outlines), the links it reversed, and the cluster frames when clusters is on.

Released under the MIT License.