# dhotson/springy

A force directed graph layout algorithm in JavaScript

Repository: https://github.com/dhotson/springy
Canonical: https://ross.abutalabs.com/products/springy
Homepage: http://getspringy.com
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2024-06-06T21:13:41+00:00

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

## Adoption (not part of the score)
Stars 1883, forks 229 (observed 2026-08-28T04:05:48.760403+00:00)

## What it is
Springy is a small JavaScript library implementing a force-directed graph layout algorithm using physics simulation. It provides graph manipulation and layout computation while leaving rendering (canvas, SVG, WebGL, or HTML) up to the developer.

## Use cases
- visualize network graphs in the browser
- compute force-directed layouts for node-link diagrams
- render interactive graph visualizations with canvas or SVG
- layout small network topology diagrams
- build custom graph drawing tools with a layout engine

## When to choose
- you need a lightweight, dependency-free graph layout algorithm
- you want full control over rendering and interaction
- you're drawing small-to-medium graphs in a web page

## When to avoid
- you need a full-featured graph visualization framework with built-in interaction
- you need to lay out very large graphs efficiently
- you want prebuilt renderers and styling out of the box

## Facets
- artifact type: library
- maturity: maintenance
- function: data-visualization, graphics
- domain: data-visualization, web-development
- platform: browser
- tags: force-directed-graph, graph-layout, physics-simulation, canvas, svg, webgl, algorithms, nodejs, javascript

## Member repositories
- dhotson/springy (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:48.760403+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-30T03:13:41.418318+00:00, confidence not recorded.
  - homepage: http://getspringy.com (fetched 2026-08-29T10:53:15.807016+00:00, sha 4e26dea46e45)
  - registry_npm: https://registry.npmjs.org/springy (fetched 2026-08-29T10:53:15.809595+00:00, sha ad00d99c636b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
