# tgdwyer/WebCola

Javascript constraint-based graph layout

Repository: https://github.com/tgdwyer/WebCola
Canonical: https://ross.abutalabs.com/products/webcola
Homepage: http://marvl.infotech.monash.edu/webcola/
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2026-04-30T00:52:25+00:00

## Health v2 (maintenance only)
Score: 58/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 79, release rhythm 8, longevity 100
- inputs: {"age_days": 4802, "days_push": 126, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2096, forks 262 (observed 2026-08-28T04:06:13.287469+00:00)

## What it is
WebCola is a JavaScript/TypeScript library for constraint-based graph layout, producing high-quality interactive graph visualizations in the browser. It integrates with D3.js and other web graphics libraries and supports layout constraints such as alignment and grouping.

## Use cases
- lay out network graphs in the browser with d3
- draw graphs with alignment constraints between nodes
- visualize graphs with grouped nodes
- force-directed graph layout with constraint support
- render interactive node-link diagrams on a web page
- avoid node overlaps in graph visualization

## When to choose
- you need constraint-based or overlap-free graph layout in a web app
- you already use D3.js and want better graph layout than the built-in force layout
- you need alignment or grouping constraints in your diagram

## When to avoid
- you need server-side or offline graph layout outside the browser
- you need a full diagramming/editor UI rather than a layout algorithm
- your project uses a non-JavaScript stack without a JS frontend

## Facets
- artifact type: library
- maturity: stable
- function: graphics, data-visualization, math
- domain: data-visualization, web-development, frontend, graphics
- platform: browser, cross-platform
- tags: graph-layout, constraint-solver, d3, force-directed-layout, typescript, nodejs

## Member repositories
- tgdwyer/WebCola (main) score 58

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:13.287469+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:54:38.069129+00:00, confidence not recorded.
  - readme: https://github.com/tgdwyer/WebCola (fetched 2026-08-28T04:06:13.287469+00:00, sha b307159c2639)
  - registry_npm: https://registry.npmjs.org/webcola (fetched 2026-08-29T10:35:11.734638+00:00, sha 23afaa8f5af8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
