# Cola.js

> A tool to create diagrams using constraint-based optimization techniques. Works with d3 and svg.js.

- Category: [JavaScript graph & network visualization libraries](https://awesomedataviz.com/categories/javascript-graph-visualization/)
- Website: https://marvl.infotech.monash.edu/webcola/
- Repository: https://github.com/tgdwyer/WebCola
- License: MIT
- Language: TypeScript
- Status: Maintained (commits in the last 12 months)
- GitHub stars: 2,098
- Commits in the last 12 months: 3
- Contributors: 31
- Last commit: Apr 30, 2026
- Latest release: v3.3.8 (Mar 19, 2018)
- Install (npm): `npm install webcola`, 205.7K downloads per week
- Topics: Graph & network visualization, Diagrams & diagrams as code

## Overview

Cola.js is an open-source JavaScript graph visualization library released under the MIT license. Its GitHub repository has 2,098 stars, 260 forks, and 31 contributors. It is maintained with 3 commits in the last 12 months; the most recent commit was on Apr 30, 2026. The latest release, v3.3.8, was published on Mar 19, 2018. On npm it is downloaded about 205.7K times per week.

## Alternatives

- [xyflow](https://awesomedataviz.com/tools/xyflow/): React Flow and Svelte Flow: libraries for building node-based editors, flow charts and interactive diagrams. (38.6K stars)
- [G6](https://awesomedataviz.com/tools/g6/): Graph visualization library powered by Javascript & Typescript, maintained by Alibaba (12.3K stars)
- [Sigma.js](https://awesomedataviz.com/tools/sigma-js/): JavaScript library dedicated to graph drawing. (12.2K stars)
- [Cytoscape.js](https://awesomedataviz.com/tools/cytoscape-js/): JavaScript library for graph drawing maintained by Cytoscape core developers. (11.2K stars)
- [Vue Flow](https://awesomedataviz.com/tools/vue-flow/): Flowchart and node-based graph component for Vue 3. (6.9K stars)
- [X6](https://awesomedataviz.com/tools/x6/): Diagramming library for DAGs, ER diagrams, flowcharts and other graph editors, maintained by Alibaba. (6.7K stars)

Source: https://awesomedataviz.com/tools/cola-js/ · Data updated 2026-10-04 · Content: CC BY 4.0, Awesome Dataviz (https://awesomedataviz.com).
