| Constructor and Description |
|---|
DefaultLayout(GraphContainer graphContainer) |
| Modifier and Type | Method and Description |
|---|---|
BoundingBox |
computeBoundingBox(Collection<VertexRef> vertRefs) |
BoundingBox |
getBounds() |
Point |
getInitialLocation(VertexRef v) |
Point |
getLocation(VertexRef v) |
Map<VertexRef,Point> |
getLocations() |
void |
setLocation(VertexRef v,
Point location) |
public DefaultLayout(GraphContainer graphContainer)
public Point getLocation(VertexRef v)
getLocation in interface Layoutpublic Map<VertexRef,Point> getLocations()
getLocations in interface Layoutpublic void setLocation(VertexRef v, Point location)
setLocation in interface Layoutpublic Point getInitialLocation(VertexRef v)
getInitialLocation in interface Layoutpublic BoundingBox getBounds()
public BoundingBox computeBoundingBox(Collection<VertexRef> vertRefs)
computeBoundingBox in interface LayoutCopyright © 2020. All rights reserved.