change layout

9 views
Skip to first unread message

victor...@gmail.com

unread,
Oct 9, 2018, 12:06:53 PM10/9/18
to cytoscape-helpdesk
2,000 vertex 16,000 edges takes ~10 secs to pull from rest api and load a graph.

When I change layouts by running

var layout = cy.layout({
name: 'random'
});
layout.run();

it takes 4 minutes to load the new graph. Why?

I'm thinking its better to load a new graph instead of just switching layouts.

David Otasek

unread,
Oct 11, 2018, 11:16:21 AM10/11/18
to cytoscape-helpdesk
Hello,

This forum is for the Cytoscape desktop application. Cytoscape JS questions are answered here.

Thank you,

David Otasek
Reply all
Reply to author
Forward
0 new messages