Open ugurdogrusoz opened 3 years ago
Now, when we expand collapsed clusters we get better initial positions for expanded content.
However, when we create a node and move a cluster as the child of this node, position and size values of the node are not updated immediately and the collapse operation applied subsequently cannot get correct position and size values of the node. I temporarily solved the position problem but size problem still exists and affects the fish-eye operation. I suspect this can be a cytoscape.js bug, so it should be further explored and an issue should be opened in cytoscape.js if necessary.
Closed with keyword 'resolve'.
Now the demo allows the user to "Apply Markov clustering on load" and bring the graph already simplified through possibly multiple levels of clustering. However, when we expand these collapsed clusters, we get poor initial positions for expanded content. So we should try applying partial layout on each cluster content before collapsing them. That way collapsed content will have some decent layout which would be used upon expand to produce a stable layout.