Scalability of Cytoscape.js

别来无恙 提交于 2019-12-01 23:25:20

You are limited by the performance of the browsers themselves. Cytoscape.js uses several techniques to optimise rendering performance, but you'll still hit the ceiling of the browser's performance.

I don't think you'll find any browser tech today (July 2015) that supports rendering such large datasets.

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
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!