Documentation of 'edu.uci.ics.jung.algorithms.layout.StaticLayout' Java class
StaticLayout
edu.uci.ics.jung.algorithms.layout

Class StaticLayout<V,E>

  • All Implemented Interfaces:
    com.google.common.base.Function<V,java.awt.geom.Point2D>, Layout<V,E>


    public class StaticLayout<V,E>
    extends AbstractLayout<V,E>
    StaticLayout places the vertices in the locations specified by its initializer, and has no other behavior. Vertex locations can be placed in a Map<V,Point2D> and then supplied to this layout as follows: Function<V,Point2D> vertexLocations = Functions.forMap(map);
    • Constructor Detail

      • StaticLayout

        public StaticLayout(Graph<V,E> graph,
                            com.google.common.base.Function<V,java.awt.geom.Point2D> initializer,
                            java.awt.Dimension size)
      • StaticLayout

        public StaticLayout(Graph<V,E> graph,
                            com.google.common.base.Function<V,java.awt.geom.Point2D> initializer)
      • StaticLayout

        public StaticLayout(Graph<V,E> graph)
      • StaticLayout

        public StaticLayout(Graph<V,E> graph,
                            java.awt.Dimension size)
    • Method Detail

      • initialize

        public void initialize()
        Description copied from interface: Layout
        Initializes fields in the node that may not have been set during the constructor. Must be called before the iterations begin.
      • reset

        public void reset()

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.