Skip to content

Graphty3D/2D Graph Visualization Web Component

Build interactive graph visualizations with a powerful Web Component library built on Lit and Babylon.js

Quick Start

Install via npm:

bash
npm install @graphty/graphty-element

Create your first graph:

html
<script type="module">
  import '@graphty/graphty-element';
</script>

<graphty-element
  node-data='[{"id": "a"}, {"id": "b"}, {"id": "c"}]'
  edge-data='[{"source": "a", "target": "b"}, {"source": "b", "target": "c"}]'>
</graphty-element>

See it in action: Basic Graph