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,
double x,
double y) |
void |
setLocation(VertexRef v,
Point location) |
public DefaultLayout(GraphContainer graphContainer)
public Point getLocation(VertexRef v)
getLocation
in interface Layout
public Map<VertexRef,Point> getLocations()
getLocations
in interface Layout
public void setLocation(VertexRef v, double x, double y)
setLocation
in interface Layout
public void setLocation(VertexRef v, Point location)
setLocation
in interface Layout
public Point getInitialLocation(VertexRef v)
getInitialLocation
in interface Layout
public BoundingBox getBounds()
public BoundingBox computeBoundingBox(Collection<VertexRef> vertRefs)
computeBoundingBox
in interface Layout
Copyright © 2015. All rights reserved.