Package edu.uci.ics.jung.samples
Class DrawnIconVertexDemo
java.lang.Object
edu.uci.ics.jung.samples.DrawnIconVertexDemo
A demo that shows drawn Icons as vertices
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
createEdges
(Integer[] v) create edges for this demo graphprivate Integer[]
createVertices
(int count) create some verticesstatic void
-
Field Details
-
graph
the graph -
vv
the visual component and renderer for the graph
-
-
Constructor Details
-
DrawnIconVertexDemo
public DrawnIconVertexDemo()
-
-
Method Details
-
createVertices
create some vertices- Parameters:
count
- how many to create- Returns:
- the Vertices in an array
-
createEdges
create edges for this demo graph- Parameters:
v
- an array of Vertices to connect
-
main
-