| Package | Description |
|---|---|
| salvo.jesus.graph.visual | |
| salvo.jesus.graph.visual.drawing | |
| salvo.jesus.graph.visual.layout |
| Modifier and Type | Method and Description |
|---|---|
VisualVertex |
VisualGraph.getNode(int x,
int y)
Returns the VisualVertex object that has the given x and y coordinate
inside its shape.
|
VisualVertex |
VisualGraph.getVisualVertex(Vertex vertex)
Returns the VisualVertex object for the corresponding Vertex object in the
Graph object encapsulated by VisualGraph.
|
VisualVertex |
VisualEdge.getVisualVertexA()
Returns the VisualVertex object at the tail of the edge.
|
VisualVertex |
VisualEdge.getVisualVertexB()
Returns the VisualVertex object at the head of the edge.
|
| Modifier and Type | Method and Description |
|---|---|
void |
VisualGraph.addEdge(VisualVertex from,
VisualVertex to)
Adds an edge to the Graph object encapsulated by the VisualGraph object.
|
void |
VisualGraph.paint(Graphics2D g2d,
VisualVertex onfront)
Draws the elements of VisualGraph (all of its VisualVertex and VisualEdges) using
the given Graphics2D graphics context object.
|
void |
VisualGraph.remove(VisualVertex vvertex)
Removes a Vertex object from the Graph object encapsulated by the VisualGraph object.
|
void |
VisualGraph.setVisualVertex(Vertex vertex,
VisualVertex newVisualVertex) |
| Modifier and Type | Method and Description |
|---|---|
void |
VisualVertexPainterImpl.rescale(VisualVertex vv)
Rescales the VisualVertex.
|
void |
VisualVertexPainter.rescale(VisualVertex vv)
Rescales the drawing based on either the font or text of
the VisualVertex being changed.
|
| Modifier and Type | Method and Description |
|---|---|
VisualVertex |
AbstractGridLayout.generalPosition(List connectedset,
Grid grid)
Lays out the visual vertices of the specified connected set general position,
meaning that only one visual vertex reside on each grid line.
|
VisualVertex |
Grid.getGridPoint(int x,
int y)
Returns the VisualVertex object assigned to the specified grid point.
|
VisualVertex |
GraphLayoutEvent.getVisualVertex()
Returns the VisualVertex object that has been laid out.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ForceDirectedLayout.addFixedVertex(VisualVertex vVertex)
Adds a VisuaLVertex that will not be moved from its position
during the layout operation of ForceDirectedLayout.
|
void |
RadialTreeLayout.addVertex(VisualVertex vVertex) |
void |
OrthogonalLineLayout.addVertex(VisualVertex vvertex)
Automatically called by the VisualGraph's vertexAdded() method
whenever a vertex has been added to the graph and consequently
when the VisualVertex has been added to the VisualGraph object.
|
void |
LayeredTreeLayout.addVertex(VisualVertex vVertex) |
void |
GraphLayoutManager.addVertex(VisualVertex vvertex)
Automatically called when a VisualVertex object has been added
to the VisualGraph object being laid out.
|
void |
ForceDirectedLayout.addVertex(VisualVertex vVertex) |
Point |
Grid.findVisualVertex(VisualVertex v)
Returns the grid point assignment of a VisualVertex.
|
boolean |
ForceDirectedLayout.isVertexFixed(VisualVertex vVertex)
Returns true if the specified VisualVertex has
a fixed position.
|
void |
ForceDirectedLayout.removeFixedVertex(VisualVertex vVertex)
Removes a VisualVertex from the list of VisualVertices
that has a fixed position.
|
void |
RadialTreeLayout.removeVertex(VisualVertex vVertex) |
void |
OrthogonalLineLayout.removeVertex(VisualVertex vvertex)
Automatically called by the VisualGraph's vertexRemoved() method
whenever a vertex is about to be removed from the graph and
consequently when a VisualVertex is about to be removed
from the VisualGraph object.
|
void |
LayeredTreeLayout.removeVertex(VisualVertex vVertex) |
void |
GraphLayoutManager.removeVertex(VisualVertex vvertex)
Automatically called when a VisualVertex object is about to be removed
from the VisualGraph object being laid out.
|
void |
ForceDirectedLayout.removeVertex(VisualVertex vVertex) |
void |
Grid.setGridPoint(int x,
int y,
VisualVertex vvertex)
Assigns a VisualVertex object of the graph to the specified position in the grid.
|
| Constructor and Description |
|---|
GraphLayoutEvent(VisualGraph vgraph,
VisualVertex vvertex)
Creates a GraphLayoutEvent object indicating the VisualVertex object
that has been laid out and the VisualGraph where the VisualVertex object
belongs.
|
Copyright © 2019 JULIE Lab, Germany. All rights reserved.