Fork of Interactive Force Directed Layout
✓ Published0🌍 Public
This example demonstrates an interactive force-directed graph using the GoJS library, where nodes and links can be pushed and pulled around the canvas. The layout continuously runs as users drag nodes, keeping selected nodes fixed while automatically repositioning all others. It uses a custom `ContinuousForceDirectedLayout` that extends GoJS’s built-in layout, with the diagram’s `draggingTool` triggering layout invalidation during drag operations. The code also includes standard GoJS node and link templates, with circular node shapes and arrow-headed links.
AI-generated descriptionAn example showing the capabilities of VizHub.
MIT Licensed