Render a software dependency tree as an auto-arranged visual diagram in a web app without manually placing nodes.
Build a flowchart editor where users define connections and dagre automatically positions nodes in a readable layout.
Visualize CI/CD pipeline steps as a directed graph in a browser-based dashboard.
Add automatic graph layout to a React or Vue app using the @dagrejs/dagre npm package.
Dagre is a JavaScript library for arranging directed graphs visually in a browser. A directed graph is a diagram where items (nodes) are connected by arrows pointing in a specific direction, like a flowchart or a dependency tree. The library handles the math of figuring out where to place each node and how to route the connecting lines so the result looks organized and readable. You describe what connects to what, and dagre figures out the layout. It runs entirely on the client side, meaning the layout calculation happens in the user's browser without needing a server. It is available as a package on npm under the @dagrejs/dagre name, and that is the version currently receiving active updates. The project is MIT-licensed and open source.
← dagrejs on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.