org.inxar.syntacs.util
Interface GraphViz.Node

Enclosing class:
GraphViz

public static interface GraphViz.Node

A Node is a tuple (name, attrs) where attrs is a list of attributes.


Method Summary
 GraphViz.Node attr(String key, String value)
          Adds a new attribute to the node and returns the Edge to the caller such that StringBuffer-like programming style is supported.
 String getName()
          Returns the given name of the Node.
 

Method Detail

getName

public String getName()
Returns the given name of the Node.

attr

public GraphViz.Node attr(String key,
                          String value)
Adds a new attribute to the node and returns the Edge to the caller such that StringBuffer-like programming style is supported.