# relation-graph/relation-graph

relation-graph is an  relationship graph component for React/Vue/Svelte relationship data visualization/edit. Through its slot-based customization model, users can fully customize graph elements with plain React/Vue/Svelte/HTML components, relation-graph also uses an LLM-friendly architecture and provides knowledge content.

Repository: https://github.com/relation-graph/relation-graph
Canonical: https://ross.abutalabs.com/products/relation-graph
Homepage: https://relation-graph.com
Language: JavaScript
License: MIT
License Family: permissive
Topics: relationship-graph, vue, vue3, react, knowledge-graph, layout-engine, svelte
Last push: 2026-05-20T14:36:51+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 83, release rhythm 51, longevity 100
- inputs: {"age_days": 2189, "days_push": 105, "days_rel": 117, "gap_med": 406, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2272, forks 516 (observed 2026-08-28T04:06:33.216584+00:00)

## What it is
relation-graph is an MIT-licensed relationship graph visualization and editing component library supporting React, Vue 2/3, Svelte, and Web Components. It offers slot-based full customization of graph elements with plain HTML/framework components, a built-in layout engine, interactive graph editing APIs, and an LLM-friendly architecture with AI knowledge assets.

## Use cases
- visualize relationship data as an interactive graph in React or Vue
- build a knowledge graph viewer with custom node rendering
- create an editable graph drawing board with draggable nodes and connections
- render org charts or family trees with force-directed or tree layouts
- add a minimap and zoom/pan navigation to a network diagram
- build cross-platform graph apps that work in Vue 2, Vue 3, React, and Svelte
- use AI tools to generate graph application code from natural language

## When to choose
- you need a highly customizable relationship graph component across multiple frontend frameworks
- you want to fully customize nodes and lines with your own components via slots
- you need interactive graph editing (create/move/connect nodes) not just display
- you want an LLM-friendly library with AI knowledge bases to accelerate development

## When to avoid
- you need high-performance rendering of hundreds of thousands of nodes (consider WebGL-based graph engines)
- you need a standalone desktop graph analysis tool rather than an embeddable web component
- your project does not use React, Vue, Svelte, or Web Components

## Facets
- artifact type: library
- maturity: stable
- function: ui-components, data-visualization, charts, graphics
- domain: web-development, frontend, data-visualization, developer-tools
- platform: cross-platform
- tags: relationship-graph, knowledge-graph, graph-editing, layout-engine, vue, react, svelte, web-components, llm-friendly, slots, web-server, nodejs

## Member repositories
- relation-graph/relation-graph (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:33.216584+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:41:43.363609+00:00, confidence not recorded.
  - readme: https://github.com/relation-graph/relation-graph (fetched 2026-08-28T04:06:33.216584+00:00, sha 9372f9f1fdf2)
  - homepage: https://relation-graph.com (fetched 2026-08-29T10:22:32.738859+00:00, sha d569c2460cb6)
  - site_page: https://relation-graph.com/docs (fetched 2026-08-29T10:22:32.748066+00:00, sha ce32ec009b23)
  - site_page: https://relation-graph.com/docs/start (fetched 2026-08-29T10:22:32.751847+00:00, sha 7d2ba423cf5e)
  - site_page: https://relation-graph.com/docs/multi-platform-architecture (fetched 2026-08-29T10:22:32.753694+00:00, sha 065344801751)
  - site_page: https://relation-graph.com/docs/start-react (fetched 2026-08-29T10:22:32.756308+00:00, sha dc2d9863ac4f)
  - site_page: https://relation-graph.com/pricing (fetched 2026-08-29T10:22:32.749901+00:00, sha b9987ff2e9a4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
