Create a vertex bound to "userVertex", labeled with "name1" on top of "name2" on display.
Create a vertex bound to "userVertex", labeled with "name" on display.
Retrieve a list of all JGraphX "cells" (edges and vertices) in graph.
Connect "from" vertex to "to" vertex, and bind edge to "userEdge" with default style.
Connect "from" vertex to "to" vertex, and bind edge to "userEdge" with style given by "edgeStyle".
Connect "from" vertex to "to" vertex, and bind edge to "userEdge" with style given by "edgeStyle".
BEWARE !!! This function actually connects the edge backwards! We changed the edge style so that the arrow is drawn at the end of the edge opposite where it would normally be. The arrows will then appear to go the right way, and we usually get a better layout, but it can cause weird behavior elsewhere in JGraph (e.g., be careful with getModel.getTerminal, or any JGraph method with an 'isSource' parameter, since under the hood, the source and terminal are reversed).
Connect "from" vertex to "to" vertex, and bind edge to "userEdge" with a control edge style
Connect "from" vertex to "to" vertex, and bind edge to "userEdge" with a data edge style
JGraphX specification of an unselected edge.
Freeze state of graph, disallowing new vertices and edges.
Implements a tooltip that shows the actual source and target of an edge
Implements a tooltip that shows the actual source and target of an edge
JGraphX specification of a selected edge.
JGraphX specification of a selected vertex.
Get the user edge bound to the JGraphX "cell".
Get the user vertex bound to the JGraphX "cell".
JGraphX specification of an unselected vertex.
A model of a Graph which can be visually displayed using the GraphPanel class. This is built on the JGraphX library.
A Graph consists of a set of vertices connected with a set of directed edges. Each vertex (or edge) is bound to an Object (of any class) when it is created. This creates a one-to-one correspondence between an arbitrary programmatic representation of a Graph and the specific model provided by JGraphX.
Vertices are created using one of the "addVertex" methods, and are interconnected using the "connect" method. See the TestGraphPanel class for an example of building a Graph model.