JavaScript graph & network visualization libraries
Node-link diagrams for networks, dependency graphs and knowledge graphs. 15 tools, ranked by GitHub stars and updated .
Libraries for drawing node-link diagrams: social networks, dependency graphs, knowledge graphs, flowcharts and other relational data. Most pair a renderer with layout algorithms (force-directed, hierarchical, circular) and interactions such as dragging, zooming and selecting nodes.
Graph size decides a lot: Sigma.js renders with WebGL to keep large graphs interactive, Cytoscape.js combines visualization with graph analysis, and diagramming libraries focus on editing and constraint-based layout. For the graph data model and algorithms on their own, see Graphology.
By GitHub stars, the most popular JavaScript graph visualization libraries here are xyflow (38.6K stars), G6 (12.3K stars), and Sigma.js (12.2K stars). 9 of 15 had commits in the last 90 days.
| 1 |
React Flow and Svelte Flow: libraries for building node-based editors, flow charts and interactive diagrams. |
38.6K |
| 2 |
Graph visualization library powered by Javascript & Typescript, maintained by Alibaba |
12.3K |
| 3 |
JavaScript library dedicated to graph drawing. |
12.2K |
| 4 |
JavaScript library for graph drawing maintained by Cytoscape core developers. |
11.2K |
| 5 |
Flowchart and node-based graph component for Vue 3. |
6.9K |
| 6 |
Diagramming library for DAGs, ER diagrams, flowcharts and other graph editors, maintained by Alibaba. |
6.7K |
| 7 |
3D force-directed graph component using Three.js/WebGL. |
6.4K |
| 8 |
Directed graph layout library for JavaScript. |
5.8K |
| 9 |
SVG-based JavaScript diagramming library for interactive diagrams and graph editors. |
5.4K |
| 10 |
Graph drawing library for JavaScript. |
3.9K |
| 11 |
Eclipse Layout Kernel (ELK) graph layout algorithms for JavaScript. |
2.8K |
| 12 |
React.js based directed graph library maintained by UBER. |
2.6K |
| 13 |
A tool to create diagrams using constraint-based optimization techniques. Works with d3 and svg.js. |
2.1K |
| 14 |
Javascript diagram library serving as the basis for camunda's online BPMN modeler. |
1.9K |
| 15 |
A declarative graph layout and rendering engine for Javascript/Typescript powered by Rust/WebAssembly. |
193 |
Head-to-head comparisons
Related topics
Related categories
Frequently asked questions
What is the most popular JavaScript graph visualization library?
Which JavaScript graph visualization libraries are actively maintained?
Are these JavaScript graph visualization libraries free and open source?
Missing a tool? Add it with a one-line pull request to the README.