MCPcopy Index your code
hub / github.com/dagrejs/dagre

github.com/dagrejs/dagre @v2.0.0 sqlite

repository ↗ · DeepWiki ↗ · release v2.0.0 ↗
179 symbols 377 edges 63 files 0 documented · 0%
README

dagre - Graph layout for JavaScript

Build Status npm

Dagre is a JavaScript library that makes it easy to lay out directed graphs on the client-side.

For more details, including examples and configuration options, please see our wiki.

There are 2 versions on NPM, but only the one in the DagreJs org is receiving updates right now.

License

dagre is licensed under the terms of the MIT License. See the LICENSE file for details.

Extension points exported contracts — how you extend this code

Label (Interface)
(no doc)
index.d.ts
GraphLabel (Interface)
(no doc)
index.d.ts
NodeConfig (Interface)
(no doc)
index.d.ts
EdgeConfig (Interface)
(no doc)
index.d.ts
LayoutConfig (Interface)
(no doc)
index.d.ts

Core symbols most depended-on inside this repo

time
called by 31
lib/util.js
initLowLimValues
called by 28
lib/rank/network-simplex.js
buildLayerMatrix
called by 22
lib/util.js
hasConflict
called by 21
lib/position/bk.js
buildLayerGraph
called by 21
lib/order/build-layer-graph.js
layout
called by 19
lib/layout.js
calcCutValue
called by 15
lib/rank/network-simplex.js
undirectedEdge
called by 14
test/rank/network-simplex-test.js

Shape

Function 164
Interface 7
Class 4
Method 4

Languages

TypeScript100%

Modules by API surface

lib/util.js22 symbols
lib/position/bk.js19 symbols
lib/layout.js19 symbols
lib/rank/network-simplex.js12 symbols
index.d.ts9 symbols
lib/data/list.js8 symbols
lib/coordinate-system.js8 symbols
lib/greedy-fas.js7 symbols
lib/rank/feasible-tree.js5 symbols
lib/order/resolve-conflicts.js5 symbols
lib/order/index.js5 symbols
lib/nesting-graph.js5 symbols

Dependencies from manifests, versioned

@dagrejs/graphlib2.2.4 · 1×
benchmark2.1.4 · 1×
esbuild0.27.0 · 1×
eslint8.35.0 · 1×
jest30.2.0 · 1×
semver7.3.7 · 1×

For agents

$ claude mcp add dagre \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact