Closed canbax closed 3 years ago
It seems that the source of the buggy behavior is not the layout algorithm but the expand-collapse extension, so I fixed the issue there.
@canbax Can you please confirm this fix?
It seems better now. I tested on http://visuall.herokuapp.com/
When I use fcose inside expand-collapse extension, I see very bad layouts on expand.
Below is a very small video showing what happens on Visuall. You can reproduce the video by loading visuall.txt inside Visuall. (File>Load)
https://user-images.githubusercontent.com/8426741/111583972-45438e00-87ce-11eb-8809-f4f52acd06a5.mp4
Here is also a JSBIN
You can try collapsing and then expanding an inner compound node.