|
Kieker 1.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kieker.tools.traceAnalysis.filter.visualization.AbstractGraphFormatter<G>
G
- The graph type this formatter is forpublic abstract class AbstractGraphFormatter<G extends AbstractGraph<?,?,?>>
Abstract superclass for all graph formatters.
Constructor Summary | |
---|---|
AbstractGraphFormatter()
|
Method Summary | |
---|---|
String |
createFormattedRepresentation(AbstractGraph<?,?,?> graph,
boolean includeWeights,
boolean useShortLabels,
boolean plotLoops)
Creates a formatted representation of the given graph. |
static void |
formatDecorations(StringBuilder builder,
AbstractVertex<?,?,?> vertex)
Utility function to format the decorations attached to a vertex. |
abstract String |
getDefaultFileName()
Returns the default file name suggested by this formatter. |
static String |
getDotRepresentation(Color color)
Returns the dot (graphviz) representation of the given color. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractGraphFormatter()
Method Detail |
---|
public String createFormattedRepresentation(AbstractGraph<?,?,?> graph, boolean includeWeights, boolean useShortLabels, boolean plotLoops)
graph
- The graph to formatincludeWeights
- Determines whether to include weights or not.useShortLabels
- Determines whether to use short labels or not.plotLoops
- Determines whether to plot loops or not.
public static void formatDecorations(StringBuilder builder, AbstractVertex<?,?,?> vertex)
builder
- The builder to send the output tovertex
- The vertex to work withpublic abstract String getDefaultFileName()
public static String getDotRepresentation(Color color)
color
- The color to convert
|
Kieker 1.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |