iVis-at-Bilkent / cytoscape.js-fcose

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

Static layout on empty graph gives error #22

Closed hasanbalci closed 4 years ago

hasanbalci commented 4 years ago

When static layout is called on zero number of elements, layout gives error in console.

hasanbalci commented 4 years ago

@ugurdogrusoz You can verify this in Newt by hiding all elements and applying static layout. Before it was giving error, now it is fixed.