@dagrejs/dagre breaking changes
@dagrejs/dagre 3.0.0 (March 22, 2026) is its newest release with breaking changes, 52 of them. The first: Removed configUnion.labeloffest. Every breaking API change we have recorded in @dagrejs/dagre on npm: 52 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 3.1.4, released November 24, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
@dagrejs/dagre 3.0.0 breaking changes
- Removed
configUnion.labeloffest
configUnion.labeloffest was removed in @dagrejs/dagre 3.0.0 npmjs.com - Removed
EdgeConfig.labeloffest
EdgeConfig.labeloffest was removed in @dagrejs/dagre 3.0.0 npmjs.com - Removed
EdgeFn
EdgeFn was removed in @dagrejs/dagre 3.0.0 npmjs.com - Removed
GraphEdge
GraphEdge was removed in @dagrejs/dagre 3.0.0 npmjs.com - Removed
graphlib.alg
graphlib.alg was removed in @dagrejs/dagre 3.0.0 npmjs.com - Removed
graphlib.Graph
graphlib.Graph was removed in @dagrejs/dagre 3.0.0 npmjs.com - Removed
graphlib.json
graphlib.json was removed in @dagrejs/dagre 3.0.0 npmjs.com - Removed
Label
Label was removed in @dagrejs/dagre 3.0.0 npmjs.com - Removed
Node
Node was removed in @dagrejs/dagre 3.0.0 npmjs.com - Renamed
configUnion
Use LayoutOptions instead. npmjs.com - Renamed
WeightFn
Use WeightFunction instead. npmjs.com - Signature changed
configUnion.acyclicer
Was acyclicer?: string | undefined; now acyclicer?: 'greedy'. npmjs.com - Signature changed
configUnion.align
Was align?: string | undefined; now align?: 'UL' | 'UR' | 'DL' | 'DR'. npmjs.com - Signature changed
configUnion.compound
Was compound?: boolean | undefined; now compound?: boolean. npmjs.com - Signature changed
configUnion.customOrder
Was customOrder?: (graph: graphlib.Graph, order: (graph: graphlib.Graph, opts: configUnion) => void) => void; now customOrder?: (graph: Graph<GraphLabel, NodeLabel, EdgeLabel>, order: (graph: Graph<GraphLabel, NodeLabel, EdgeLabel>, opts... npmjs.com - Signature changed
configUnion.edgesep
Was edgesep?: number | undefined; now edgesep?: number. npmjs.com - Signature changed
configUnion.height
Was height?: number | undefined; now height?: number. npmjs.com - Signature changed
configUnion.labelpos
Was labelpos?: 'l' | 'c' | 'r' | undefined; now labelpos?: 'l' | 'c' | 'r'. npmjs.com - Signature changed
configUnion.marginx
Was marginx?: number | undefined; now marginx?: number. npmjs.com - Signature changed
configUnion.marginy
Was marginy?: number | undefined; now marginy?: number. npmjs.com - Signature changed
configUnion.minlen
Was minlen?: number | undefined; now minlen?: number. npmjs.com - Signature changed
configUnion.nodesep
Was nodesep?: number | undefined; now nodesep?: number. npmjs.com - Signature changed
configUnion.rankalign
Was rankalign?: 'top' | 'center' | 'bottom' | undefined; now rankalign?: 'top' | 'center' | 'bottom'. npmjs.com - Signature changed
configUnion.rankdir
Was rankdir?: string | undefined; now rankdir?: 'TB' | 'BT' | 'LR' | 'RL'. npmjs.com - Signature changed
configUnion.ranker
Was ranker?: string | undefined; now ranker?: 'network-simplex' | 'tight-tree' | 'longest-path'. npmjs.com - Signature changed
configUnion.ranksep
Was ranksep?: number | undefined; now ranksep?: number. npmjs.com - Signature changed
configUnion.weight
Was weight?: number | undefined; now weight?: number. npmjs.com - Signature changed
configUnion.width
Was width?: number | undefined; now width?: number. npmjs.com - Signature changed
Edge.name
Was name?: string | undefined; now name?: string. npmjs.com - Signature changed
EdgeConfig.height
Was height?: number | undefined; now height?: number. npmjs.com - Signature changed
EdgeConfig.labelpos
Was labelpos?: 'l' | 'c' | 'r' | undefined; now labelpos?: 'l' | 'c' | 'r'. npmjs.com - Signature changed
EdgeConfig.minlen
Was minlen?: number | undefined; now minlen?: number. npmjs.com - Signature changed
EdgeConfig.weight
Was weight?: number | undefined; now weight?: number. npmjs.com - Signature changed
EdgeConfig.width
Was width?: number | undefined; now width?: number. npmjs.com - Signature changed
GraphLabel.acyclicer
Was acyclicer?: string | undefined; now acyclicer?: 'greedy'. npmjs.com - Signature changed
GraphLabel.align
Was align?: string | undefined; now align?: 'UL' | 'UR' | 'DL' | 'DR'. npmjs.com - Signature changed
GraphLabel.compound
Was compound?: boolean | undefined; now compound?: boolean. npmjs.com - Signature changed
GraphLabel.edgesep
Was edgesep?: number | undefined; now edgesep?: number. npmjs.com - Signature changed
GraphLabel.height
Was height?: number | undefined; now height?: number. npmjs.com - Signature changed
GraphLabel.marginx
Was marginx?: number | undefined; now marginx?: number. npmjs.com - Signature changed
GraphLabel.marginy
Was marginy?: number | undefined; now marginy?: number. npmjs.com - Signature changed
GraphLabel.nodesep
Was nodesep?: number | undefined; now nodesep?: number. npmjs.com - Signature changed
GraphLabel.rankalign
Was rankalign?: 'top' | 'center' | 'bottom' | undefined; now rankalign?: 'top' | 'center' | 'bottom'. npmjs.com - Signature changed
GraphLabel.rankdir
Was rankdir?: string | undefined; now rankdir?: 'TB' | 'BT' | 'LR' | 'RL'. npmjs.com - Signature changed
GraphLabel.ranker
Was ranker?: string | undefined; now ranker?: 'network-simplex' | 'tight-tree' | 'longest-path'. npmjs.com - Signature changed
GraphLabel.ranksep
Was ranksep?: number | undefined; now ranksep?: number. npmjs.com - Signature changed
GraphLabel.width
Was width?: number | undefined; now width?: number. npmjs.com - Signature changed
graphlib
Was namespace graphlib; now export {graphlib}. npmjs.com - Signature changed
layout
Was function layout(graph: graphlib.Graph, layout?: configUnion): void; now function layout(g: Graph<GraphLabel, NodeLabel, EdgeLabel>, opts?: LayoutOptions): Graph<GraphLabel, NodeLabel, EdgeLabel>. npmjs.com - Signature changed
LayoutConfig.customOrder
Was customOrder?: (graph: graphlib.Graph, order: (graph: graphlib.Graph, opts: configUnion) => void) => void; now customOrder?: (graph: Graph<GraphLabel, NodeLabel, EdgeLabel>, order: (graph: Graph<GraphLabel, NodeLabel, EdgeLabel>, opts... npmjs.com
And 2 more in this version. Sign up to see every change
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.