What it does
Neural Graph renders nodes and connections on a canvas using perspective projection of x, y, and z coordinates. Nodes have spherical shading and depth ordering.
Camera and selection
Drag to orbit, Shift-drag to pan, and scroll or use the toolbar to zoom. Hover and selection highlight connected edges; selection supports controlled and uncontrolled state.
Data and clustering
Use ZuiNode, ZuiEdge, and ZuiCluster as declarative children or pass nodes, edges, and clusters arrays for larger data sets. Edges with unknown endpoints are ignored.
Common use cases
- AI model and pipeline visualization.
- Architecture and dependency maps.
- Network topology and infrastructure views.
- Knowledge graphs and relationship exploration.
Accessibility and motion
The graph has a keyboard-focusable region and a live selection status. Arrow keys step through nodes. Animated edge pulses respect reduced-motion preferences.
FAQ
Does Neural Graph need a 3D runtime?
No. It projects 3D node coordinates onto a canvas, so orbit, pan, and zoom work without an extra peer dependency.
How can I supply a large graph?
Pass nodes, edges, and clusters as arrays to avoid creating thousands of React child elements. Canvas drawing keeps the DOM small; performance depends on graph density and device hardware.
Can users navigate without a pointer?
Yes. Focus the graph, use arrow keys to select nodes, plus or minus to zoom, and Escape to clear selection. Reduced-motion preferences disable data-flow animation.