ConstReadonlygraphlib: { Graph: typeof DagreGraph }graph constructors
ReadonlyGraph: typeof DagreGraphdagre-compatible graph class
Readonlylayout: {}run layout on a graph, mutating it in-place
Sets x/y on node labels and width/height on the graph config. Edge
control points are read via DagreGraph.edge after layout — unlike
dagre, they are not written onto a persistent edge label.
optional Operator; graph config is applied on top
dagre-compatible namespace backed by d3-dag
Drop-in replacement for
dagreusing d3-dag's layout algorithms. Optionally pass a custom sugiyama or zherebko operator tolayoutfor fine-tuned algorithm selection.