Gephi Toolkit Javadoc

org.gephi.layout.plugin
Class ForceVectorUtils

java.lang.Object
  extended by org.gephi.layout.plugin.ForceVectorUtils

public class ForceVectorUtils
extends java.lang.Object

Author:
Mathieu Jacomy

Constructor Summary
ForceVectorUtils()
           
 
Method Summary
protected static double attraction(double c, double dist)
           
static float distance(Spatial n1, Spatial n2)
           
static void fcBiAttractor_noCollide(NodeData N1, NodeData N2, double c)
           
static void fcBiAttractor(NodeData N1, NodeData N2, double c)
           
static void fcBiFlatAttractor(NodeData N1, NodeData N2, double c)
           
static void fcBiRepulsor_noCollide(NodeData N1, NodeData N2, double c)
           
static void fcBiRepulsor_y(NodeData N1, NodeData N2, double c, double verticalization)
           
static void fcBiRepulsor(NodeData N1, NodeData N2, double c)
           
static void fcUniAttractor(NodeData N1, NodeData N2, float c)
           
static void fcUniRepulsor(NodeData N1, NodeData N2, double c)
           
protected static double repulsion(double c, double dist)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForceVectorUtils

public ForceVectorUtils()
Method Detail

distance

public static float distance(Spatial n1,
                             Spatial n2)

fcBiRepulsor

public static void fcBiRepulsor(NodeData N1,
                                NodeData N2,
                                double c)

fcBiRepulsor_y

public static void fcBiRepulsor_y(NodeData N1,
                                  NodeData N2,
                                  double c,
                                  double verticalization)

fcBiRepulsor_noCollide

public static void fcBiRepulsor_noCollide(NodeData N1,
                                          NodeData N2,
                                          double c)

fcUniRepulsor

public static void fcUniRepulsor(NodeData N1,
                                 NodeData N2,
                                 double c)

fcBiAttractor

public static void fcBiAttractor(NodeData N1,
                                 NodeData N2,
                                 double c)

fcBiAttractor_noCollide

public static void fcBiAttractor_noCollide(NodeData N1,
                                           NodeData N2,
                                           double c)

fcBiFlatAttractor

public static void fcBiFlatAttractor(NodeData N1,
                                     NodeData N2,
                                     double c)

fcUniAttractor

public static void fcUniAttractor(NodeData N1,
                                  NodeData N2,
                                  float c)

attraction

protected static double attraction(double c,
                                   double dist)

repulsion

protected static double repulsion(double c,
                                  double dist)

Gephi Toolkit Javadoc