🌍 Public
Viewing a saved revision (read-only)
50fa78f56f1d4525994f8226a3e0a51b
Fork of Interactive Force Directed Layout
This example demonstrates a continuously operating force-directed graph layout where users can push and pull nodes around the canvas. Built with the GoJS library, it uses a custom `ContinuousForceDirectedLayout` subclass that keeps selected nodes fixed while moving all others, and performs a layout update during dragging by invalidating the layout. The graph renders circular nodes with text labels connected by directed links with arrowheads, and the layout is reused across interactions for efficiency.
AI-generated descriptionAn example showing the capabilities of VizHub.