public class DotGraphEdge extends AbstractDotGraphElement implements Renderable
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
render(OutputStream out,
int indent) |
void |
setStyle(String style)
Sets the edge style.
|
getAttribute, getAttributes, getAttributeValue, getLabel, removeAllAttributes, removeAttribute, removeAttribute, setAttribute, setAttribute, setLabelpublic DotGraphEdge(DotGraphNode src, DotGraphNode dst)
src, - the source nodedst, - the end nodepublic DotGraphEdge(DotGraphNode src, DotGraphNode dst, boolean directed)
src, - the source nodedst, - the end nodedirected, - the edge is directed or notpublic void setStyle(String style)
style, - a style of edgeDotGraphConstantspublic void render(OutputStream out, int indent) throws IOException
render in interface RenderableIOExceptionCopyright © 2024 Soot OSS. All rights reserved.