Documentation of 'edu.uci.ics.jung.samples.SimpleGraphDraw' Java class
SimpleGraphDraw
edu.uci.ics.jung.samples

Class SimpleGraphDraw



  • public class SimpleGraphDraw
    extends java.lang.Object
    A class that shows the minimal work necessary to load and visualize a graph.
    • Constructor Summary

      Constructors 
      Constructor and Description
      SimpleGraphDraw() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static Graph getGraph()
      Generates a graph: in this case, reads it from the file "samples/datasetsgraph/simple.net"
      static void main(java.lang.String[] args) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimpleGraphDraw

        public SimpleGraphDraw()
    • Method Detail

      • main

        public static void main(java.lang.String[] args)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • getGraph

        public static Graph getGraph()
                              throws java.io.IOException
        Generates a graph: in this case, reads it from the file "samples/datasetsgraph/simple.net"
        Returns:
        A sample undirected graph
        Throws:
        java.io.IOException - if there is an error in reading the file

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.