+2
Daily
5,858
stars
643
forks
90
watchers
183
prs
347
issues
9
releases
README
dagre - Graph layout for JavaScript 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.
Top issues
#234Cannot set property 'order' of undefined45 comments · 2018-03-07#13Clustering support32 comments · 2012-10-14#492Build failing after update to v2.0.029 comments · 2025-11-21#238 Unable to draw an edge from a child to parent compound graph12 comments · 2018-03-26#189Node/Edge ordering issue11 comments · 2015-09-29#112Controling the order of outgoing edges11 comments · 2014-02-21#188What is a good replacement?10 comments · 2015-08-07#145Undesired overlapping edges10 comments · 2014-09-16
Latest release
v2.0.0 v2.0.0 2025-11-23What's Changed Updated the dependencies to remove or replace Bower, Karma, JSHint and dependent libraries. The old IIFE style library, for loading as a script tag and including dagre in the global namespace is available in the dagre[.min].js files. A new import style library is available at dagre.esm.js Full Changelog: https://github.com/dagrejs/dagre/compare/v1.1.8...v2.0.0