Constructor and Description |
---|
DefaultLayout() |
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) |
void |
updateLocations(Collection<VertexRef> displayVertices) |
public Point getLocation(VertexRef v)
getLocation
in interface Layout
public Map<VertexRef,Point> getLocations()
getLocations
in interface Layout
public void setLocation(VertexRef v, Point location)
setLocation
in interface Layout
public Point getInitialLocation(VertexRef v)
getInitialLocation
in interface Layout
public void updateLocations(Collection<VertexRef> displayVertices)
updateLocations
in interface Layout
public BoundingBox getBounds()
public BoundingBox computeBoundingBox(Collection<VertexRef> vertRefs)
computeBoundingBox
in interface Layout
Copyright © 2021. All rights reserved.