Closed hasanbalci closed 4 years ago
When I select edges with completely different source target pairs, it does not collapses. So to be more consistent I also didn't collapsed here.
@canbax @ugurdogrusoz It's ok now, but I also realized that when we click on "Collapse all edges" in the demo, loops are not collapsed. Maybe we can collapse them as well. What do you think?
I think we should collapse the self-loops as well.
Sure let's collapse them as well.
There is still a small inconsistency:
Moreover, I think demo file checks whether there are at least two selected nodes when clicked on "Collapse edges between selected nodes" and "Expand edges between selected nodes". I think we can remove this check so that when we only select the node with self loops and click on these buttons, we can collapse and expand self loops.
@canbax It seems working, thanks!
While testing, I faced with the following:
In this case, either only loops should be collapsed or none.