D3: Substituting d3.svg.diagonal() with d3.svg.line()

后端 未结 4 951
离开以前
离开以前 2020-12-08 16:04

I have implemented the following graph with the edges rendered with d3.svg.diagonal(). However, when I try substituting the diagonal with d3.svg.line(), it doesn\'t appear t

4条回答
  •  感动是毒
    2020-12-08 16:11

    I had the same problem...There's a jsFiddle here.

    Note that changing line to diagonal will make it work.

提交回复
热议问题