vis-network
Reasonable, with limits. 9th of 9 diagrams and node graphs.
vis-network is a canvas library for interactive, physics-based network graphs. It is easy to set up and gives good-looking results quickly. A small group still maintains it, but it is slow on large graphs, and Cytoscape.js and sigma.js now do the same job better for most new projects.
Best for: Developers who want an interactive force-directed network view of small to medium graphs with little setup code.
Scores
Overall6.3
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 5.5, likely 4.5 to 6.5
It is a working, maintained and safe choice for quick interactive network views of modest size. Cytoscape.js does the same job with more features and more users, and sigma.js handles large graphs far better. Its growth trails the median, so it ranks in the middle of the category.
- peers Cytoscape.js downloadsLast4Weeks: Peer has about 24x the downloads and more dependents
- medium.com/cylynx/a-comparison-of-javascript-graph-network-visualisation-libraries-ec9914b901e3: Independent comparison: easy and performant enough for moderate graphs
- memgraph.com/blog/you-want-a-fast-easy-to-use-and-popular-graph-visualization-tool: Slow on large graphs
GPT-6.2 Sol: 7.0, likely 5.9 to 8.0
Pick vis-network for a browser graph that should arrange itself and support exploration with little setup. Cytoscape.js is stronger when graph algorithms and layout extensions matter, React Flow fits editors with rich custom nodes, and sigma.js is better suited to large graphs. Recent releases support a new adoption today, while slower relative growth and limited benchmarks on 10.1.5 keep the recommendation focused.
- visjs.github.io/vis-network/docs/network: Automatic layouts and interactive controls work together out of the box.
- js.cytoscape.org: Broader graph analysis and layout extension support.
- reactflow.dev/learn/customization/custom-nodes: Custom nodes can contain React components and form controls.
- sigmajs.org: WebGL rendering is designed for large graphs.
- github releasesLastYear, npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, peers, medianDownloadsRatio: Active release cadence with slower relative download growth.
Needed by many3.8
How many developers need a tool for this job?
Claude Opus 5.5: 4.0, likely 3.0 to 5.0
Interactive network graph views are a clear niche inside the diagrams category. Most of the demand comes from data tools, graph database UIs and dashboards. It does not cover flowcharts, node editors or sketching, which makes it narrower than peers like Mermaid or React Flow.
- github description: Scope is dynamic network views only
- medium.com/cylynx/a-comparison-of-javascript-graph-network-visualisation-libraries-ec9914b901e3: Placed among network-graph libraries, a niche
GPT-6.2 Sol: 3.6, likely 2.5 to 4.7
Interactive relationship graphs serve a clear niche in dashboards, topology tools, and data exploration. The library works across browser frameworks, though its scope is narrower than the full diagrams and sketching category. State of JavaScript offers graphics usage context, while the share of developers who need an interactive network graph remains uncertain.
- visjs.github.io/vis-network/docs/network: Browser Canvas renderer for node and edge data.
- 2025.stateofjs.com/en-US/other-tools: Graphics and animation survey gives broad context for the niche.
Helps a lot6.4
How well does it do the job for those who need it?
Claude Opus 5.5: 5.5, likely 4.5 to 6.5
It is easy to use and has good documentation, built-in physics, clustering and DOT parsing, and it ships types. Independent benchmarks found it the slowest of the libraries tested on large graphs: canvas only, with physics tied to the main thread. Cytoscape.js offers more algorithms and layouts, and sigma.js scales much further.
- memgraph.com/blog/you-want-a-fast-easy-to-use-and-popular-graph-visualization-tool: Easy, well documented, but slowest and blocks the main thread
- dev.to/timlrx/a-comparison-of-javascript-graph-network-visualisation-libraries-34a8: Canvas only; low on components and middle on algorithms
- npm hasTypes: Ships TypeScript types
GPT-6.2 Sol: 7.3, likely 6.1 to 8.3
Version 10.1.5 offers automatic layouts, incremental data updates, clustering, and basic editing through a documented API. The examples and TypeScript declarations give developers and coding agents a clear starting point, though they must match the imports to the chosen build. A user reported sluggish physics at 7,500 nodes, and a 2026 benchmark through Pyvis found similar limits on an older release. Performance on the current version remains sensitive to graph density and layout settings.
- visjs.github.io/vis-network/docs/network: Layouts, examples, manipulation API, and build-specific setup.
- github.com/visjs/vis-network/releases: Current stable release and recent TypeScript compatibility fixes.
- github.com/visjs/vis-network/discussions/2230: User reports poor performance at 7,500 nodes despite tuning.
- haozhu233.github.io/lightgraph/benchmark.html: Competitor-run benchmark tested vis-network 9.1.2 through Pyvis.
Holds up over time6.5
Will it still be a good choice in two years?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
The project is active: 248 commits and 7 releases in the last year, the latest on 2026-11-08, and a move to trusted publishing. Most releases are small fixes, a few volunteers carry it with no known funding, and open issues outnumber closed ones. The v10 ESM/CJS change was handled carefully, with few breaking changes.
- github commitsLastYear: 248 commits, 7 releases
- github.com/visjs/vis-network/releases: Steady bug-fix releases through 2026; v10 hybrid ESM+CJS
- github openIssues/closedIssues: 323 open vs 254 closed
- security.snyk.io/package/npm/vis-network: Small set of npm maintainers
GPT-6.2 Sol: 6.9, likely 5.7 to 8.0
Seven releases and 248 commits in the past year show active maintenance, and a reported CSS typing regression was fixed the next day. Some users needed to update imports after the version 10 packaging change, and the repository still has 323 open issues. The wider vis.js project receives donations, while the number of people who can publish a release remains unclear.
- github: 248 commits, seven releases, 323 open issues, and 27 open pull requests.
- github.com/visjs/vis-network/releases: Recent patch cadence and version 10 import migration notes.
- github.com/visjs/vis-network/issues/2517: CSS declaration regression fixed one day after it was reported.
- opencollective.com/visjs: Donations support the wider vis.js project.
Used widely4.4
How many use it, and is that growing?
Claude Opus 5.5: 5.0, likely 4.0 to 6.0
About 4.4M downloads in 4 weeks, up from 1.1M a year ago. That ratio of 3.9 is just below the 4.1 median, so it is slightly losing ground. It has 1,192 dependent repos, against Cytoscape.js at 5,456 and elkjs at 4,433, and its downloads are a small fraction of those of Cytoscape.js, Mermaid and React Flow.
- npm downloadsLast4Weeks: 4.39M vs 1.13M a year ago; ratio 3.9 vs median 4.1
- dependents repos: 1,192 repos and 113 packages
- bluesky posts: 0 posts; little current attention
GPT-6.2 Sol: 3.8, likely 2.7 to 5.0
Four-week npm downloads rose from 1.13 million to 4.39 million, or 3.89×, slightly below the 4.1× catalog baseline and well below Cytoscape.js and sigma.js growth. The 1,192 tracked repositories and 113 packages suggest a few thousand projects choose it, with sampled repository use below Cytoscape.js and above sigma.js. Automated installs, CDN distribution, and incomplete dependent coverage leave that estimate uncertain.
- npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, medianDownloadsRatio: 3.89× download growth against the 4.1× baseline.
- dependents, peers: 1,192 tracked repositories versus 5,456 for Cytoscape.js and 311 for sigma.js.
- github stars, bluesky, hackerNews: 3,644 stars and no matches in either collected discussion feed.
- visjs.github.io/vis-network/docs/network: Documents CDN and downloadable builds alongside npm.
Vouched for5.4
Who stands behind it being good?
Claude Opus 5.5: 4.5, likely 3.0 to 6.0
Wrappers in other ecosystems (pyvis, R visNetwork, neovis.js) build on it, which shows long-term trust. Memgraph used it and then moved away over performance. Independent comparisons praise its ease of use but rank it below peers on speed. It has no current survey presence, no HN stories and no Bluesky posts.
- memgraph.com/blog/you-want-a-fast-easy-to-use-and-popular-graph-visualization-tool: Used in Memgraph's old Lab, then replaced
- datastorm-open.github.io/visNetwork/performance.html: R visNetwork package builds on vis.js
- hackerNews stories: No stories found
GPT-6.2 Sol: 6.3, likely 5.1 to 7.5
NetBox Topology Views depends on the 10.1 line, and AWS uses an older 9.x build in its graph notebook widget. Memgraph praised the styling and API but replaced its vis-based renderer after running into performance limits. These deployments establish practical value, while current evidence on developer satisfaction with 10.1.5 is thin.
- github.com/netbox-community/netbox-topology-views/blob/develop/netbox_topology_views/static_dev/package.json: The topology plugin declares vis-network 10.1.x.
- github.com/aws/graph-notebook/blob/main/src/graph_notebook/widgets/package.json: AWS graph notebook widget uses vis-network 9.1.6.
- memgraph.com/blog/you-want-a-fast-easy-to-use-and-popular-graph-visualization-tool: Former production user reports strong styling and slow large-graph rendering.
Safe7.4
How safe is it to depend on?
Claude Opus 5.5: 7.5, likely 6.5 to 8.5
It has zero runtime dependencies, no known advisories and a permissive Apache-2.0 OR MIT licence. Releases now use trusted publishing. The OpenSSF Scorecard is 6.2, with code review, security policy, SAST and fuzzing all at 0.
- npm dependencies: 0 dependencies
- advisories total: No advisories
- scorecard score: 6.2; Code-Review, Security-Policy and SAST at 0
- github.com/visjs/vis-network/releases: v10.1.3 switched to trusted publishing
GPT-6.2 Sol: 7.2, likely 6.0 to 8.4
The package offers MIT or Apache-2.0 licensing, and the collector found no OSV advisories. It declares zero regular dependencies and six peer dependencies, and the standalone build bundles JavaScript dependencies. The project moved to trusted npm publishing, while its 6.2 OpenSSF Scorecard shows gaps in code review, security reporting, fuzzing, and static analysis. The number of people with release access remains unverified.
- advisories, scorecard: No recorded OSV advisories and several weak security checks.
- github.com/visjs/vis-network/blob/v10.1.5/package.json: Permissive dual license and six declared peer dependencies.
- visjs.github.io/vis-network/docs/network: The standalone build bundles JavaScript dependencies.
- github.com/visjs/vis-network/releases: Version 10.1.3 switched to trusted publishing.
Good
- It has zero runtime dependencies and ships its own TypeScript types, with TypeScript 6 support added in 2026.
- Its defaults are good: physics layout, clustering, hierarchical layout, DOT import and event handling work with little code.
- The documentation is rich and many examples exist online, which helps AI coding agents write correct code for it.
- Data tools such as pyvis, R visNetwork and neovis.js wrap it, so its API is familiar to many users.
Bad
- It renders on canvas only, with no WebGL, and its physics runs on the main thread, so graphs with thousands of nodes get slow or block the page.
- Development is mostly small bug fixes by a few volunteers, and open issues (323) outnumber closed ones (254).
- It has fewer graph algorithms and layouts than Cytoscape.js, and it cannot make editable diagrams the way React Flow or JointJS can.
- Its npm downloads grow a little slower than the median, so it is slowly losing share.
The numbers
- npm downloads, 4 weeks
- 4.4M ×3.9 in a year
- GitHub stars
- 3.6k
- Commits, 12 months
- 248
- npm version
- 10.1.5 Nov 2026
- Versions, 12 months
- 7
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 6.2 out of 10, Nov 2026
- Licence
- Apache-2.0
Read on 21 November 2026 from GitHub (visjs/vis-network), npm (vis-network), OSV and the OpenSSF Scorecard.
Diagrams and node graphs
- 8.6React Flow
- 8.5Mermaid
- 7.6Cytoscape.js
- 7.4elkjs
- 7.4sigma.js
- 7.3Excalidraw
- 6.7dagre
- 6.7JointJS
- 6.3vis-network