snikproject / graph

Visualization of the snik-ontology.
http://www.snik.eu/graph
GNU General Public License v3.0
8 stars 3 forks source link

switch from euler layout to FCOSE #427

Closed KonradHoeffner closed 1 month ago

KonradHoeffner commented 2 months ago

According to the developer of cytoscape.js, the "new" (since 2019) FCOSE layout does not require workarounds to not freeze when nodes are in the same position and is faster and better in general, so switch to that and keep it if it works out for our usage.

KonradHoeffner commented 2 months ago

Initial experiments in the fcose branch show a very low performance with our 4085 nodes and 8198 edges, which is not suitable for a replacement of the "euler" layout. However I will try if this can be improved by tuning the parameters.

KonradHoeffner commented 2 months ago

The layout with quality: "proof" does indeed seem quite nice, but only quality: "draft" was fast enough for the whole graph. If we use it then there should be an automatic switch depending on graph size.