org.wilmascope.graphgen.plugin
Class StratifiedGraphGenerator

java.lang.Object
  extended by org.wilmascope.graphgen.GraphGenerator
      extended by org.wilmascope.graphgen.plugin.StratifiedGraphGenerator
All Implemented Interfaces:
org.wilmascope.util.Plugin

public class StratifiedGraphGenerator
extends GraphGenerator

Creates a small "stratified graph": that is, an evolving graph with each iteration of the graph arranged in a plane, and the set of planes for all time steps stacked into the third dimension.

Author:
dwyer

Constructor Summary
StratifiedGraphGenerator()
           
 
Method Summary
 void generate(GraphControl gc)
          This method will do the work of actually creating the graph.
 javax.swing.JPanel getControls()
           
 java.lang.String getName()
           
 
Methods inherited from class org.wilmascope.graphgen.GraphGenerator
addRandomNode, getEdgeView, getNodeView, setView
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StratifiedGraphGenerator

public StratifiedGraphGenerator()
Method Detail

getName

public java.lang.String getName()

generate

public void generate(GraphControl gc)
Description copied from class: GraphGenerator
This method will do the work of actually creating the graph.

Specified by:
generate in class GraphGenerator
Parameters:
gc - the instance of GraphControl inwhich the graph will be generated

getControls

public javax.swing.JPanel getControls()