Composable graph visualization components for RDF, LPG, and Holonic graph paradigms. Install the pieces you need; compose them into your application.
Auto-generated from TypeScript. Every class, function, type, and prop documented.
π§©Interactive Storybook. Browse views, controls, and encoding panels live.
πΈοΈ
Seven surfaces driving the graph canvas: Provenance Auditor, MBSE
Satellite Workbench, Supply Chain Digital Thread, Biomedical
Knowledge Graph, Analytics Dashboard, Scale, Ontology Workbench.
Style Lab is dev-only and Scale is deployment-only, so pnpm
run dev shows a different set.
Drive the toolkit from your app: custom buttons, store subscriptions, and the JSON contracts. Every snippet runs in CI.
πREADME, ARCHITECTURE.md, specs, and planning docs on GitHub.
# Install (pnpm required)
pnpm add @g3-toolkit/core @g3-toolkit/react react react-dom \
cytoscape cytoscape-fcose zustand echarts
// Minimal graph render import { UGM } from "@g3-toolkit/core"; import { CytoscapeCanvas } from "@g3-toolkit/react"; // Required: the packages ship CSS as a separate file and do not // import it for you. Without this line every view renders // unstyled, with no error and no warning. import "@g3-toolkit/react/style.css"; const ugm = new UGM(); ugm.addNode("alice", { types: ["Person"], properties: { name: "Alice" } }); ugm.addNode("bob", { types: ["Person"], properties: { name: "Bob" } }); ugm.addEdge("alice", "bob", { type: "knows" }); function App() { return <CytoscapeCanvas ugm={ugm} />; }
@g3-toolkit/core is framework-agnostic (no
React imports). @g3-toolkit/react wraps it for
React consumers. Source-boundary tests enforce this at build time. Read
ARCHITECTURE.md
for the full design rationale.