iVis-at-Bilkent / cytoscape.js-fcose

fCoSE: a fast Compound Spring Embedder
MIT License
137 stars 25 forks source link

Tree reduction during non-incremental layout #18

Closed ugurdogrusoz closed 3 years ago

ugurdogrusoz commented 4 years ago

Currently non-incremental layout of fcose calls incremental layout of the cose algorithm, which doesn't reduce trees, and hence takes longer. There is not much of a reason not to reduce the trees during non-incremental layout of fcose though. So, if we can implement a non-exposed flag named to cose (cose-bilkent) to force tree reduction (even during incremental cose) and set it to true for non-incremental cose, that'd be great.

hasanbalci commented 4 years ago

With this commit https://github.com/iVis-at-Bilkent/cytoscape.js-fcose/commit/d2d3d81535e95b932bd17da5a2c3fe7774a280d8, tree reduction is now applied during non-incremental layout.