Class D3TopoLayout<V,​E>

  • All Implemented Interfaces:
    edu.uci.ics.jung.algorithms.layout.Layout<V,​E>, edu.uci.ics.jung.algorithms.util.IterativeContext, org.apache.commons.collections15.Transformer<V,​java.awt.geom.Point2D>

    public class D3TopoLayout<V,​E>
    extends edu.uci.ics.jung.algorithms.layout.AbstractLayout<V,​E>
    implements edu.uci.ics.jung.algorithms.util.IterativeContext
    • Field Summary

      • Fields inherited from class edu.uci.ics.jung.algorithms.layout.AbstractLayout

        graph, initialized, locations, size
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected D3TopoLayout​(edu.uci.ics.jung.graph.Graph<V,​E> graph)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean done()  
      int getDefaultCharge()  
      void initialize()  
      void reset()  
      void setDefaultCharge​(int m_charge)  
      void step()  
      • Methods inherited from class edu.uci.ics.jung.algorithms.layout.AbstractLayout

        getGraph, getSize, getX, getY, isLocked, lock, lock, offsetVertex, setGraph, setInitializer, setLocation, setLocation, setSize, transform
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • D3TopoLayout

        protected D3TopoLayout​(edu.uci.ics.jung.graph.Graph<V,​E> graph)
    • Method Detail

      • initialize

        public void initialize()
        Specified by:
        initialize in interface edu.uci.ics.jung.algorithms.layout.Layout<V,​E>
      • reset

        public void reset()
        Specified by:
        reset in interface edu.uci.ics.jung.algorithms.layout.Layout<V,​E>
      • step

        public void step()
        Specified by:
        step in interface edu.uci.ics.jung.algorithms.util.IterativeContext
      • done

        public boolean done()
        Specified by:
        done in interface edu.uci.ics.jung.algorithms.util.IterativeContext
      • getDefaultCharge

        public int getDefaultCharge()
      • setDefaultCharge

        public void setDefaultCharge​(int m_charge)