| Package | Description |
|---|---|
| edu.uci.ics.jung.visualization |
Provides a visualization mechanism for drawing and rendering Graphs.
|
| edu.uci.ics.jung.visualization.contrib |
These are additional layouts contributed by various users.
|
| Modifier and Type | Method and Description |
|---|---|
Coordinates |
AbstractLayout.getCoordinates(ArchetypeVertex v)
Returns the Coordinates object that stores the vertex' x and y location.
|
Coordinates |
Coordinates.midpoint(Coordinates o)
Computes the midpoint between the two coordinates
|
| Modifier and Type | Method and Description |
|---|---|
double |
Coordinates.distance(Coordinates o)
Computes the euclidean distance between two coordinates
|
protected void |
AbstractLayout.initializeLocation(Vertex v,
Coordinates coord,
java.awt.Dimension d)
Sets random locations for a vertex within the dimensions of the space.
|
protected void |
PersistentLayoutImpl.initializeLocation(Vertex v,
Coordinates coord,
java.awt.Dimension d)
Sets persisted location for a vertex within the dimensions of the space.
|
Coordinates |
Coordinates.midpoint(Coordinates o)
Computes the midpoint between the two coordinates
|
| Constructor and Description |
|---|
Coordinates(Coordinates coordinates)
Initializes this coordinate to the value of the passed-in
coordinate.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
DAGLayout.initializeLocation(Vertex v,
Coordinates coord,
java.awt.Dimension d)
Sets random locations for a vertex within the dimensions of the space.
|