dagrejs/dagre
View on GitHub ↗ ★ 5,843 TypeScript
Directed graph layout for JavaScript
16 mentions on Hacker News by 16 people: 2 stories, 14 comments · first 2014-02-04 · latest 2025-10-29
20082026
-
…converted the dagre/graphlib codebase to typescript [4]. [1] https://github.com/thx/resvg-js [2] https://github.com/dagrejs/dagre [3] https://github.com/skanaar/nomnoml [4] https://github.com/skanaar/graphre --- Edit: One of the…
comment by tauchunfall · 2025-10-29 · in Who needs Graphviz when you can build it yourself? -
…so I decompiled the wasm and looked around a bit. I see this appears to use or build on Dagre ( https://github.com/dagrejs/dagre/wiki ), though I've seen no citation of that work. What's up with that? How much of this is original work vs…
comment by awwaiid · 2024-09-02 · in Vizdom: Diagrams as Code -
…done implementing the algorithm it set out to), but recently a Google engineer has revived it: https://github.com/dagrejs/dagre
comment by alixanderwang · 2024-03-25 · in D2 Playground -
…https://d2lang.com/ ) to create ERDs. However, of the free layout engines available in D2, Dagre ( https://github.com/dagrejs/dagre ) and ELK ( https://github.com/eclipse/elk ) both don't have optimal placement of layouts for a…
comment by mih · 2023-06-08 · in Show HN: Private, text to entity-relationship diagram tool -
…a section on "Recommended Reading" which lists which algorithms from which papers they implement. https://github.com/dagrejs/dagre/wiki#recommended-reading
comment by escot · 2022-11-23 · in D2, a diagram scripting language that turns text to diagrams, is now open source -
Do you maintain a dagr fork internally? The project looks to be deprecated: https://github.com/dagrejs/dagre
comment by linuxdude314 · 2022-11-22 · in D2, a diagram scripting language that turns text to diagrams, is now open source -
…be open source though I can't say for sure yet whether it'll be with our layout algorithm or with https://github.com/dagrejs/dagre .
comment by nhooyr · 2022-09-04 · in D2: A new declarative language to turn text into diagrams -
…by dragging from one node to another, rather then having a special handle to make connections. [1]: https://github.com/dagrejs/dagre
comment by amadeuspagel · 2020-07-17 · in Show HN: Tasky – Flow diagram task management -
…wanted to render some graphs and found there are a confusing variety of options. In particular https://github.com/dagrejs/dagre/wiki seems to be layout focused and then plugs into a bunch of other systems including d3. It would be nice if…
comment by evmar · 2018-09-09 · in D3-dag – Layout algorithms for visualizing directed acylic graphs -
For web things, I would recommend the combination of dagre ( https://github.com/cpettitt/dagre ), which will calculate node and edge positions, and d3.js ( https://d3js.org/ ), which you can use to layout your nodes as an SVG. I did some…
comment by GlennS · 2017-03-05 · in I spent three months working full time to get a job -
Is the layout using https://github.com/cpettitt/dagre ?
comment by fourthark · 2016-11-18 · in Show HN: Code2flow – easy flowcharts with no mouse, no dragging and no hassle -
It is awesome. Thanks for sharing. Wish I had this a year before. We ended up using this library - https://github.com/cpettitt/dagre
comment by shseham · 2015-12-03 · in Labella.js – placing labels on a timeline without overlap -
https://github.com/cpettitt/dagre/wiki
comment by mes5k · 2014-11-21 · in Visualising dependencies in Go -
Try https://github.com/cpettitt/dagre , it's using some of the latest and most performant algos, really nice + a D3 renderer.
comment by davidjgraph · 2014-02-04 · in Sigma.js, a JavaScript library dedicated to graph drawing