Documentation•v1.0
Getting Started withDiagrammatic-UI
Learn how to use Diagrammatic-UI to create stunning graph visualizations for your React applications.
Browse Documentation
Step-by-Step Tutorials
Follow our detailed tutorials to master Diagrammatic-UI
Quick Reference
Key information at your fingertips
Basic Graph Setup
import { Graph } from 'diagrammatic-ui';
function MyGraph() {
const graphData = {
nodes: [
{ id: 'node1', name: 'Node 1' },
{ id: 'node2', name: 'Node 2' }
],
edges: [
{ id: 'edge1', source: 'node1', target: 'node2' }
]
};
return (
<Graph
data={graphData}
height={500}
theme="light"
/>
);
}
Available Layouts
force
- Physics-based layoutcircular
- Nodes in a circletree
- Hierarchical layoutspiral
- Nodes in a spiraldonut
- Circular with holegrid
- Nodes in a grid
Ready to build your graph visualization?
Get started with Diagrammatic-UI today and create stunning visualizations for your data.