d3js Tree square

后端 未结 2 1437
死守一世寂寞
死守一世寂寞 2020-12-07 09:58

I would like to use d3.js to build a pedigree tree.

All exemples that I found are showcasing organic trees.

2条回答
  •  心在旅途
    2020-12-07 10:32

    You could accomplish this using either the cluster or tree layouts. And using a custom path generator to draw orthogonal lines connecting nodes, as in this elbow dendrogram. I guess I was feeling inspired so I gave it a shot:

    • http://bl.ocks.org/2966094

提交回复
热议问题