Chuan Chen

Results 4 comments of Chuan Chen

Running into this issue as well. Trying to do a similar thing -- removing the "parent" property from the data dictionary while keeping same IDs throws that error for me....

@agersch2 I found a workaround to this issue. When modifying the parent/child relationship of a node, or the source/target of an edge (with id), I append a unique UUID string...

For larger graphs, the issue is worse, with the layout producing: ![image](https://user-images.githubusercontent.com/15064893/97233255-0d9f5f80-17b5-11eb-8942-c3accc554c1e.png) or ![image](https://user-images.githubusercontent.com/15064893/97233265-12641380-17b5-11eb-9978-0b6ff0626f0f.png) The expected output should be like: ![image](https://user-images.githubusercontent.com/15064893/97235535-74bf1300-17b9-11eb-884d-9351243bce63.png)

Thanks for your help @xhlulu ! Your gist with reproduces the error when I try to run it. Will open a PR in the dagre repo. Appreciate your help!