edu.toronto.cs.grappa
Class GrappaGraph

java.lang.Object
  extended by edu.toronto.cs.grappa.GrappaGraph

public class GrappaGraph
extends java.lang.Object

A builder pattern on top of Graphviz's Grappa


Nested Class Summary
 class GrappaGraph.GrappaEdge
           
 class GrappaGraph.GrappaNode
           
 
Constructor Summary
GrappaGraph()
           
GrappaGraph(java.lang.String graphName)
           
 
Method Summary
 GrappaGraph center(boolean v)
           
 GrappaGraph editable(boolean v)
           
 GrappaGraph errorWriter(java.io.OutputStream v)
           
 GrappaGraph errorWriter(java.io.PrintWriter w)
           
 Graph getGraph()
           
 GrappaGraph.GrappaNode node()
           
 GrappaGraph orientation(java.lang.String s)
          graph attributes
 GrappaGraph size(java.lang.String v)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GrappaGraph

public GrappaGraph()

GrappaGraph

public GrappaGraph(java.lang.String graphName)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getGraph

public Graph getGraph()

node

public GrappaGraph.GrappaNode node()

orientation

public GrappaGraph orientation(java.lang.String s)
graph attributes


center

public GrappaGraph center(boolean v)

size

public GrappaGraph size(java.lang.String v)

editable

public GrappaGraph editable(boolean v)

errorWriter

public GrappaGraph errorWriter(java.io.PrintWriter w)

errorWriter

public GrappaGraph errorWriter(java.io.OutputStream v)