Gephi Toolkit Javadoc

org.gephi.layout.plugin.force
Class AbstractForce

java.lang.Object
  extended by org.gephi.layout.plugin.force.AbstractForce
Direct Known Subclasses:
YifanHuLayout.ElectricalForce, YifanHuLayout.SpringForce

public abstract class AbstractForce
extends java.lang.Object

Author:
Helder Suzuki

Constructor Summary
AbstractForce()
           
 
Method Summary
 ForceVector calculateForce(Spatial node1, Spatial node2)
           
abstract  ForceVector calculateForce(Spatial node1, Spatial node2, float distance)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractForce

public AbstractForce()
Method Detail

calculateForce

public ForceVector calculateForce(Spatial node1,
                                  Spatial node2)

calculateForce

public abstract ForceVector calculateForce(Spatial node1,
                                           Spatial node2,
                                           float distance)

Gephi Toolkit Javadoc