Sigma.js 1.1.0 发布了,Sigma.js 是一个开源的轻量级 JS 库,用来绘制各种图形,使用的是 HTML Canvas 元素。
该版本改进内容包括:
Added the SVG renderer.
Added the minArrowSize setting (thanks to @ssidorchick).
Added an edge quadtree and support for edge events (thanks to @sheymann).
Fixed #362: Nodes and edges can now have a number id.
Added the renderers.snapshot plugin.
Fixed #403: renderer string container polymorphism.
Added an event dispatched when instance is killed.
Added low-level Barnes-Hut optimization to the layout.forceAltas2 plugin (thanks to @jacomyma).
Added the mouseWheelEnabled setting.
Added an option to skip quadtree indexation when refreshing an instance.
Added defaultEdgeType and defaultNodeType settings.
Added a isDragging flag in click event.
Added some features to the layout.forceAltas2 plugin.
Fixed resizing related issues.
Added the SVG exporter plugin.
Fixed some SVG-related bugs (thanks to @qinfchen).
Added the A* plugin (thanks to @A----).
Changed the singleHover setting to default to true.
Added the cypher plugin (thanks to @sim51).
Added the parallel edges plugin (thanks to @3ch01c).
Added HDPI screens support (thanks to @mdamien).
Fixed a ForceAtlas2 bug related to the ajustSizes setting (thanks to @rangeonnicolas).
Improved sigma.webgl.nodes.fast implementaton.
Added some alternatives to sigma.webgl.edges.def.
Various optimizations.
来自:开源中国社区

