Skip to main content

Home > @jsplumbtoolkit/layout-force-directed

layout-force-directed package


ForceDirectedLayoutA layout that treats edges as springs, and places each vertex in proximity to other vertices to which it is connected. This is a rewrite of the original Spring layout, with several placement enhancements and typically a shorter run time. As of 5.7.0, existing users of the Spring layout are encouraged to switch to this layout, and new users are encouraged to prefer this layout over the Spring layout.


ForceDirectedLayoutParametersParameters for the force directed layout