Package prefuse.util.force

Utility classes providing a physical force simulation for layout and animation.

See: Description

Package prefuse.util.force Description

Utility classes providing a physical force simulation for layout and animation. Force simulations consist of a series of force functions that calculate forces acting on data elements, and an integrator that determines how these calculated forces effect the position and velocity of these elements over time. The ForceSimulator class keeps track of which elements should be included in the simulation, as well as which Force functions and Integrator are used.

To create your own custom simulations, create a new ForceSimulator instance and add the desired force functions. Custom force functions can be introduced by subclassing AbstractForce or implementing the Force interface. Additionally, the JForcePanel user interface component can be used during development to explore different parameterizations of the various force functions until a desired behavior is found.

Copyright ? 2013 Regents of the University of California