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(java.util.Collection<VertexRef> vertRefs)
BoundingBox
getBounds()
Point
getInitialLocation(VertexRef v)
Point
getLocation(VertexRef v)
java.util.Map<VertexRef,Point>
getLocations()
void
setLocation(VertexRef v, Point location)
void
updateLocations(java.util.Collection<VertexRef> displayVertices)
-
-
-
Method Detail
-
getLocations
java.util.Map<VertexRef,Point> getLocations()
- Returns:
- Returns an immutable copy of the current list of locations
-
getBounds
BoundingBox getBounds()
-
computeBoundingBox
BoundingBox computeBoundingBox(java.util.Collection<VertexRef> vertRefs)
-
updateLocations
void updateLocations(java.util.Collection<VertexRef> displayVertices)
-
-