Class DrawnIconVertexDemo

java.lang.Object
edu.uci.ics.jung.samples.DrawnIconVertexDemo

public class DrawnIconVertexDemo extends Object
A demo that shows drawn Icons as vertices
  • Field Details

  • Constructor Details

    • DrawnIconVertexDemo

      public DrawnIconVertexDemo()
  • Method Details

    • createVertices

      private Integer[] createVertices(int count)
      create some vertices
      Parameters:
      count - how many to create
      Returns:
      the Vertices in an array
    • createEdges

      void createEdges(Integer[] v)
      create edges for this demo graph
      Parameters:
      v - an array of Vertices to connect
    • main

      public static void main(String[] args)