Layouts
16 built-in layout algorithms for positioning graph nodes in 2D and 3D space. Set via the layoutType prop on GraphCanvas.
Layout Types
Force-Directed
| Type | Description |
|---|---|
'forceDirected2d' | D3 force simulation in 2D (default) |
'forceDirected3d' | D3 force simulation in 3D |
'nooverlap' | Force-directed with no-overlap constraint |
'forceatlas2' | ForceAtlas2 algorithm (good for large graphs) |
Tree
| Type | Description | |
[Description truncada. Veja o README completo no GitHub.]