Scalability of Cytoscape.js

后端 未结 2 726
醉话见心
醉话见心 2021-01-21 19:03

I have a 11MB JSON graph file with about 45K edges and 73K nodes without x, y locations, and I want to display this graph using the BFS layout. I am using promise/defer

2条回答
  •  野的像风
    2021-01-21 19:33

    We display a graph from a 5.4 MB JSON file with predefined coordinates on different browsers with great performance. Is there a specific reason for not precalculating the coordinates (e.g. in Cytoscape desktop)?

    To increase rendering performance:

    • use haystack edges
    • provide "min-zoomed-font-size" for nodes and edges
    • hide non-selected edge labels
    • use batches for series of operations

提交回复
热议问题