# antvis/X6

🚀 JavaScript diagramming library that uses SVG and HTML for rendering.

Repository: https://github.com/antvis/X6
Canonical: https://ross.abutalabs.com/products/x6
Homepage: https://x6.antv.antgroup.com
Language: TypeScript
License: MIT
License Family: permissive
Topics: diagramming, graph, svg, antv, graph-editor, dag, flowchart, uml-diagram, erdiagram, diagram, erd, javascript-diagramming-library, typescript, javascript
Last push: 2026-08-11T03:28:07+00:00

## Health v2 (maintenance only)
Score: 90/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 97, release rhythm 75, longevity 100
- inputs: {"age_days": 2484, "days_push": 22, "days_rel": 168, "gap_med": 12.5, "n_releases_24m": 9}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6685, forks 1894 (observed 2026-08-28T04:09:47.655492+00:00)

## What it is
X6 is a JavaScript/TypeScript diagramming and graph editing engine that renders nodes and edges using SVG and HTML. It provides customizable nodes (including React/Vue/Angular integration) and built-in extensions like selection, snapping, minimap, and undo/redo for building interactive graph editing applications.

## Use cases
- build a flowchart editor in the browser
- create a DAG pipeline visualization with draggable nodes
- render ER diagrams from database schemas
- build a node-based workflow orchestration UI
- draw UML diagrams interactively on the web
- visualize data lineage graphs
- embed an interactive graph editor in a React or Vue app

## When to choose
- you need an interactive graph/diagram editor with draggable, connectable nodes
- you want out-of-the-box editing features like minimap, selection, snapping, and keyboard shortcuts
- you need custom node rendering with SVG, HTML, React, Vue, or Angular
- you are building flowchart, DAG, ER, or lineage graph applications

## When to avoid
- you only need static chart plotting (bar, line, pie) rather than node-edge diagrams
- you need server-side rendering of diagrams without a browser DOM
- you want a fully managed diagram-as-code tool rather than an interactive editing engine
- your project requires a non-JavaScript environment

## Facets
- artifact type: library
- maturity: active
- function: graphics, ui-components, data-visualization, plugin-system
- domain: web-development, frontend, data-visualization, developer-tools
- platform: browser, cross-platform
- tags: diagramming, graph-editor, svg, flowchart, dag, er-diagram, uml, antv, node-based-editor, workflow-editor, nodejs, web-server

## Member repositories
- antvis/X6 (main) score 90

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:47.655492+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-29T17:42:59.764839+00:00, confidence not recorded.
  - readme: https://github.com/antvis/X6 (fetched 2026-08-28T04:09:47.655492+00:00, sha f357be3d0e1d)
  - homepage: https://x6.antv.antgroup.com (fetched 2026-08-29T08:39:29.548779+00:00, sha 848d76de06cc)
  - site_page: https://x6.antv.antgroup.com/tutorial/about (fetched 2026-08-29T08:39:29.555366+00:00, sha bda03f4aab36)
  - site_page: https://x6.antv.antgroup.com/tutorial/getting-started (fetched 2026-08-29T08:39:29.557225+00:00, sha a43e894c18d7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
