Skip to main content
100%

Fork of Interactive Force Directed Layout

✓ Published0🌍 Public
Mmah-far
Last edited Aug 20, 2021
Created on Aug 20, 2021

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 description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes