Skip to main content
100%

Sigma.js

✓ Published0🌍 Public
Aadkatrit
Last edited Mar 4, 2014
Created on Mar 4, 2014

This example demonstrates interactive graph visualization using the Sigma.js library, rendering nodes and edges as an animated canvas display. The graph structure is defined through explicit node and edge objects, with each node carrying properties like position, size, degree, and label, while edges track source, target, weight, and type. The code initializes a graph instance via Sigma's `sigma.classes.Cascade` and `EventDispatcher` APIs, adding nodes and edges through methods like `addNode` and `addEdge`. Rendering relies on canvas-based animation, with the library handling dynamic updates to node positions and display attributes. The data originates from a gist, and the visualization emphasizes network topology through adjustable node and edge scaling parameters.

AI-generated description

Similar vizzes