public class GraphvizHologramRenderer<T extends Event> extends HologramVisitor<T>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.StringBuilder |
m_buffer
The buffer where the graph will be written
|
protected java.lang.String |
m_caption
The caption to write to the graph
|
protected int |
m_parent
The parent node of the current node
|
| Constructor and Description |
|---|
GraphvizHologramRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
backtrack(int count) |
protected static java.lang.String |
getEdgeStyle(Operator<?> op) |
protected static java.lang.String |
getVertexStyle(Operator<?> op) |
void |
setCaption(java.lang.String caption)
Sets a caption to the graph
|
java.lang.String |
toDot() |
void |
visit(Operator<T> op,
int count) |
backtrack, visitprotected int m_parent
protected java.lang.StringBuilder m_buffer
protected java.lang.String m_caption
public void setCaption(java.lang.String caption)
caption - The captionpublic void visit(Operator<T> op, int count)
visit in class HologramVisitor<T extends Event>public void backtrack(int count)
backtrack in class HologramVisitor<T extends Event>public java.lang.String toDot()
protected static java.lang.String getVertexStyle(Operator<?> op)
protected static java.lang.String getEdgeStyle(Operator<?> op)
Copyright © Sylvain HallĂ©. All Rights Reserved.