samples.graph
Class SimpleGraphDraw

java.lang.Object
  extended by samples.graph.SimpleGraphDraw

public class SimpleGraphDraw
extends Object

Illustrates the simplest possible drawing program. Does the following:

Does no processing, no filtering, and no customization of the rendering.

Author:
danyelf

Constructor Summary
SimpleGraphDraw()
           
 
Method Summary
static Graph getGraph()
          Generates a graph: in this case, reads it from the file "samples/datasetsgraph/simple.net"
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleGraphDraw

public SimpleGraphDraw()
Method Detail

main

public static void main(String[] args)
                 throws IOException
Throws:
IOException

getGraph

public static Graph getGraph()
                      throws IOException
Generates a graph: in this case, reads it from the file "samples/datasetsgraph/simple.net"

Returns:
A sample undirected graph
Throws:
IOException