Fork of Interactive Force Directed Layout
✓ Published0🌍 Public
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 descriptionAn example showing the capabilities of VizHub.
MIT Licensed