V
- E
- public class StaticLayout<V,E> extends AbstractLayout<V,E>
Transformer vertexLocations =
TransformerUtils.mapTransformer(map);
graph, initialized, locations, size
Constructor and Description |
---|
StaticLayout(Graph<V,E> graph)
Creates an instance for the specified graph and default size; vertex locations
are randomly assigned.
|
StaticLayout(Graph<V,E> graph,
java.awt.Dimension size)
Creates an instance for the specified graph and size.
|
StaticLayout(Graph<V,E> graph,
org.apache.commons.collections15.Transformer<V,java.awt.geom.Point2D> initializer)
Creates an instance for the specified graph and locations, with default size.
|
StaticLayout(Graph<V,E> graph,
org.apache.commons.collections15.Transformer<V,java.awt.geom.Point2D> initializer,
java.awt.Dimension size)
Creates an instance for the specified graph, locations, and 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() |
getGraph, getSize, getX, getY, isLocked, lock, lock, offsetVertex, setGraph, setInitializer, setLocation, setLocation, setSize, transform
public StaticLayout(Graph<V,E> graph, org.apache.commons.collections15.Transformer<V,java.awt.geom.Point2D> initializer, java.awt.Dimension size)
public StaticLayout(Graph<V,E> graph, org.apache.commons.collections15.Transformer<V,java.awt.geom.Point2D> initializer)
public StaticLayout(Graph<V,E> graph)
public void initialize()
Layout
public void reset()
Copyright © 2021, 2022 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence