iVis-at-Bilkent / cytoscape.js-expand-collapse

A Cytoscape.js extension to expand/collapse nodes for better management of complexity of compound graphs
MIT License
126 stars 37 forks source link

Demo on load clustering improvement #122

Open ugurdogrusoz opened 3 years ago

ugurdogrusoz commented 3 years ago

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.

hasanbalci commented 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.

msalihaltun commented 3 years ago

Closed with keyword 'resolve'.