Skip to main content
100%

Interactive Force Directed Layout

✓ Published0🌍 Public
Mmylavarapus
Last edited Dec 26, 2020
Created on Dec 23, 2020

An interactive network visualization demonstrates a continuous force-directed layout in which users can push and pull nodes. Selected nodes remain fixed while the layout algorithm repositions all others, with the diagram re-laying out during and after drag operations. The example uses the gojs library’s `ForceDirectedLayout` class, extending it to create a `ContinuousForceDirectedLayout` that optimizes performance by caching the network. Nodes are rendered as circles with text labels, and links include arrowheads and fading label backgrounds, all output as SVG via the gojs `Diagram` component.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes