Simple javascript canvas framework for navigating large 2D graph?

时间:2017-12-18 05:57:55

标签: javascript canvas frameworks html5-canvas

I have a large graph (1000+ nodes, 5000+ edges) that I'd like to display on an HTML canvas. I would like to have the ability to zoom in to a single node, or zoom out to view the entire graph. I would rather not implement these functions myself with the native API, so I am looking for a simple javascript canvas framework that will allow me to attach generic objects to a zoomable 2D map. Does such a framework exist?

Thank you.

1 个答案:

答案 0 :(得分:1)

我正在使用sigma.js,它具有渲染密集图的功能。它提供了用于放大/缩小的高级API。