|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsoot.util.dot.DotGraphEdge
public class DotGraphEdge
| Constructor Summary | |
|---|---|
DotGraphEdge(DotGraphNode src,
DotGraphNode dst)
Draws a directed edge. |
|
DotGraphEdge(DotGraphNode src,
DotGraphNode dst,
boolean directed)
Draws a graph edge by specifying directed or undirected. |
|
| Method Summary | |
|---|---|
void |
render(OutputStream out,
int indent)
|
void |
setAttribute(DotGraphAttribute attr)
Sets an edge attribute. |
void |
setAttribute(String id,
String value)
Sets an edge attribute. |
void |
setLabel(String label)
Sets the label for the edge. |
void |
setStyle(String style)
Sets the edge style. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DotGraphEdge(DotGraphNode src,
DotGraphNode dst)
src, - the source nodedst, - the end node
public DotGraphEdge(DotGraphNode src,
DotGraphNode dst,
boolean directed)
src, - the source nodedst, - the end nodedirected, - the edge is directed or not| Method Detail |
|---|
public void setLabel(String label)
label, - a label stringpublic void setStyle(String style)
style, - a style of edgeDotGraphConstants
public void setAttribute(String id,
String value)
id, - the attribute id to be setvalue, - the attribute valuepublic void setAttribute(DotGraphAttribute attr)
attr, - a DotGraphAttribute specifying the
attribute name and value.
public void render(OutputStream out,
int indent)
throws IOException
render in interface RenderableIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||