public class StaticLayout<V,E> extends AbstractLayout<V,E>
Map<V,Point2D>
and then supplied to
this layout as follows: Function<V,Point2D> vertexLocations = Functions.forMap(map);
graph, initialized, locations, size
Constructor and Description |
---|
StaticLayout(Graph<V,E> graph) |
StaticLayout(Graph<V,E> graph,
Dimension size) |
StaticLayout(Graph<V,E> graph,
com.google.common.base.Function<V,Point2D> initializer) |
StaticLayout(Graph<V,E> graph,
com.google.common.base.Function<V,Point2D> initializer,
Dimension size) |
Modifier and Type | Method and Description |
---|---|
void |
initialize()
Initializes fields in the node that may not have
been set during the constructor.
|
void |
reset() |
apply, getGraph, getSize, getX, getY, isLocked, lock, lock, offsetVertex, setGraph, setInitializer, setLocation, setLocation, setSize
public StaticLayout(Graph<V,E> graph, com.google.common.base.Function<V,Point2D> initializer, Dimension size)
public StaticLayout(Graph<V,E> graph, com.google.common.base.Function<V,Point2D> initializer)
public void initialize()
Layout
public void reset()
Copyright © 2015. All rights reserved.