thinkmap.layout.force.simulator.Simulator

extends:
Jump To: Members Events

A particle simulator used to drive the force directed layout of thinkmap.

Constructor

Instance Methods

Defined in thinkmap.layout.force.simulator.Simulator:

Events

This event is when it is time for each force in this layout to apply their force to the array of all particles in the simulator. The arguments are the array of particles and the timestep, which is how much time has passed since the last run through the simulator.

This event is fired once all the forces have been applied and a final velocity is calculated for each particle. At this point, any step listeners have the opportunity to change a particles final velocity. The arguments are the array of particles and the timestep, which is how much time has passed since the last run through the simulator.