Interface Layout
-
- All Known Implementing Classes:
DefaultLayout
public interface Layout
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
getLocations
Map<VertexRef,Point> getLocations()
- Returns:
- Returns an immutable copy of the current list of locations
-
getBounds
BoundingBox getBounds()
-
computeBoundingBox
BoundingBox computeBoundingBox(Collection<VertexRef> vertRefs)
-
updateLocations
void updateLocations(Collection<VertexRef> displayVertices)
-
-