talira

sigma.js

A WebGL JavaScript library for drawing interactive graphs of hundreds of thousands of nodes and edges

open sourceMITfree

sigma.js is an open source JavaScript and TypeScript library for visualising large graphs, hundreds of thousands of nodes and edges, in the browser with WebGL. It's built on the graphology graph library: you build a graph with graphology and render it in a container with sigma. Companion packages add node programs that draw images, concentric borders and pie charts, Leaflet and MapLibre map backgrounds, custom WebGL layers, and image export. Docs are at sigmajs.org.

Problems it solves

  • draw an interactive network graph of thousands of nodes in the browser without it lagging
  • visualise a large social or knowledge graph on a web page
  • show graph nodes on top of a map in my web app

Features

  • WebGL rendering of graphs with hundreds of thousands of nodes and edges
  • built on the graphology graph data library
  • node programs for images, borders and pie charts
  • Leaflet and MapLibre map backgrounds, custom WebGL layers and image export