Skip to main content
100%

Fork of Interactive Force Directed Layout

✓ Published0🌍 Public
SSatpreet Makhija
Last edited Jun 15, 2021
Created on Jun 15, 2021

This example demonstrates an interactive force-directed layout where users can push and pull nodes within a continuously updating graph structure. The visualization uses the GoJS library, specifically a custom `ContinuousForceDirectedLayout` that reuses its layout network for efficiency while allowing selected nodes to remain fixed during simulation. Nodes are rendered as labeled circles with directed links, and dragging a node triggers incremental layout updates through the `SelectionMoved` event and invalidated layout calls. The diagram includes adjustable spring length and electrical charge parameters to control node spacing and repulsion.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes