Directed, acyclic graph in d3.js

后端 未结 2 1365
有刺的猬
有刺的猬 2021-02-03 11:44

Is there a reliable way of drawing directed, acyclic graphs in D3.js today? I\'m trying to visualize prerequisites in a curriculum, similar to this.

I\'ve seen some olde

2条回答
  •  南笙
    南笙 (楼主)
    2021-02-03 12:07

    You may have a try to dagre, a JS library for DAG graphs.

    If you want to use d3 for whatever reason, have a look at dagre-d3

    For a more high-level approach have a look at this project using all the libs above.

    If d3 is not mandatory have also a look at others graphs library. ;)

    Update for September 2018

    There is a new library , called d3-dag

提交回复
热议问题