org.inxar.syntacs.util
Interface GraphViz.Edge

Enclosing class:
GraphViz

public static interface GraphViz.Edge

An Edge is a triple (source, destination, attrs) where attrs is a list of attributes.


Method Summary
 GraphViz.Edge attr(String key, String value)
          Adds a new attribute to the edge and returns the Node to the caller such that StringBuffer-like programming style is supported.
 String getDst()
          Gets the destination node name.
 String getSrc()
          Gets the source node name.
 

Method Detail

getSrc

public String getSrc()
Gets the source node name.

getDst

public String getDst()
Gets the destination node name.

attr

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