Interface Layout
-
- All Known Implementing Classes:
DefaultLayout
public interface Layout
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BoundingBoxcomputeBoundingBox(java.util.Collection<VertexRef> vertRefs)BoundingBoxgetBounds()PointgetInitialLocation(VertexRef v)PointgetLocation(VertexRef v)java.util.Map<VertexRef,Point>getLocations()voidsetLocation(VertexRef v, Point location)voidupdateLocations(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)
-
-