dagre
dagre copied to clipboard
Compound Graph: Unable to draw edge from a child node to a parent node. Error: Uncaught TypeError: Cannot set property ‘rank’ of undefined
I’m currently using dagre.js for my visualisation graph, it’s great. But I can’t draw any edge from a child node to a parent node, if I try to do so I will get the following error: Uncaught TypeError: Cannot set property ‘rank’ of undefined.
I think this is a bug, but I can’t find a way to fix this issue. The parent of a node is a node, so we should be able to draw edges to it.
Can someone please help?
Much appreciated, Michael
Here's an example that has loop in it (1 -> 2 -> 5 -> 1) and there doesn't seem to be any problem? http://jsfiddle.net/xe4wvqoa/1/
@jemerald Hi, I think you misunderstood my problem here. The problem is that I couldn't draw an edge from a node to a parent node which contains a nested node. Does this make sense? Please see the question description in this link as I included more descriptions https://github.com/dagrejs/dagre-d3/issues/319
Thanks!
Any workaround ?
Is there a solution?I have the same problem
also looking for a solution. any updates? any pointers to places in the codebase to look at?