samples.preview_new_graphdraw
Class StaticLayout
java.lang.Object
samples.preview_new_graphdraw.AbstractLayout
samples.preview_new_graphdraw.StaticLayout
- All Implemented Interfaces:
- Cloneable, LayoutEmitter
- Direct Known Subclasses:
- CircleLayout, IterableFromStaticEmittedLayout, IterableToStaticLayout, RandomLayout, SimpleLayoutAlgorithm
public abstract class StaticLayout
- extends AbstractLayout
- implements LayoutEmitter
- Author:
- Danyel Fisher, Scott White
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StaticLayout
public StaticLayout()
initializeLocations
public StaticLayout initializeLocations(Dimension d,
Graph g)
createVisVertices
protected void createVisVertices(Set vertices)
createVisEdges
protected void createVisEdges(Set edges)
createVisVertex
protected abstract VisVertex createVisVertex(Vertex v)
createVisEdge
protected VisEdge createVisEdge(Edge e,
VisVertex vv1,
VisVertex vv2)
emit
public EmittedLayout emit()
- this is a copy of this layout that the code can freely stomp on.
in this case, it's just this.
- Specified by:
emit
in interface LayoutEmitter
- See Also:
LayoutEmitter.emit()