dagrejs / dagre-d3

A D3-based renderer for Dagre
MIT License
2.83k stars 588 forks source link

how to ensure two edge not interset #355

Open chenhu297 opened 5 years ago

chenhu297 commented 5 years ago

beside changing the order of the edges, how to ensure two edge not interset for example: changing g.addEdge(a, b, 1); g.addEdge(c, d, 2); to g.addEdge(c, d, 2); g.addEdge(a, b, 1); and give you a Chinese blessing: 好人一生平安

chenhu297 commented 5 years ago

image

image