NetworkX Layout Algorithm Tests

Interactive tests for graph layout algorithms in JavaScript

2D Layout Algorithms

Classic graph layout algorithms for 2D visualization

Random Layout
Positions nodes randomly in a unit square
Test Layout
Circular Layout
Positions nodes on a circle
Test Layout
Shell Layout
Positions nodes in concentric circles
Test Layout
Spring Layout
Force-based layout with attractive and repulsive forces (Fruchterman-Reingold)
Test Layout
Spectral Layout
Layout based on eigenvectors of the Laplacian matrix
Test Layout
Spiral Layout
Positions nodes along a spiral
Test Layout
Bipartite Layout
Layout for bipartite graphs with nodes on two lines
Test Layout
Multipartite Layout
Layout for multipartite graphs with nodes on multiple levels
Test Layout
BFS Layout
Layout based on breadth-first search algorithm
Test Layout
Planar Layout
Layout without edge intersections (approximated)
Test Layout
Kamada-Kawai Layout
Layout based on minimizing distances between nodes
Test Layout
ForceAtlas2 Layout
Advanced force-based layout algorithm
Test Layout
ARF Layout
Layout with customizable attractive and repulsive forces
Test Layout

3D Layout Algorithms

Interactive 3D visualizations with Three.js - drag to rotate, scroll to zoom

3D Spring Layout
Fruchterman-Reingold spring algorithm in 3D space with force-directed positioning
Explore 3D
3D ForceAtlas2 Layout
ForceAtlas2 algorithm in 3D space with advanced force-directed positioning
Explore 3D
3D Kamada-Kawai Layout
Stress-minimization algorithm in 3D with real-time stress calculation and graph generation
Explore 3D
3D Spherical Layout
Nodes positioned on a 3D sphere surface with auto-rotation and customizable graph types
Explore 3D