kieker.tools.traceAnalysis.filter.visualization.dependencyGraph
Class AbstractDependencyGraphFormatterVisitor<T extends ISystemModelElement>
java.lang.Object
kieker.tools.traceAnalysis.filter.visualization.dependencyGraph.AbstractDependencyGraphFormatterVisitor<T>
- Type Parameters:
T
-
- All Implemented Interfaces:
- AbstractGraph.IGraphVisitor<DependencyGraphNode<T>,WeightedBidirectionalDependencyGraphEdge<T>>
public abstract class AbstractDependencyGraphFormatterVisitor<T extends ISystemModelElement>
- extends Object
- implements AbstractGraph.IGraphVisitor<DependencyGraphNode<T>,WeightedBidirectionalDependencyGraphEdge<T>>
Abstract base class for dependency-graph-formatting visitors. This base class already provides the common
algorithm for formatting edges.
- Author:
- Holger Knoche
AbstractDependencyGraphFormatterVisitor
public AbstractDependencyGraphFormatterVisitor(StringBuilder builder,
boolean includeWeights,
boolean plotLoops,
boolean useShortLabels)
- Creates a new formatter visitor using the given arguments.
- Parameters:
builder
- The string builder to send the generated output toincludeWeights
- Indicates whether weights should be printed at the edgesplotLoops
- Indicates whether self-loops should be displayeduseShortLabels
- Indicates whether short labels should be used
visitEdge
public void visitEdge(WeightedBidirectionalDependencyGraphEdge<T> edge)
- Description copied from interface:
AbstractGraph.IGraphVisitor
- Call-back operation that is invoked when an edge is encountered during graph traversal.
- Specified by:
visitEdge
in interface AbstractGraph.IGraphVisitor<DependencyGraphNode<T extends ISystemModelElement>,WeightedBidirectionalDependencyGraphEdge<T extends ISystemModelElement>>
- Parameters:
edge
- The encountered edge
Copyright 2012 Kieker Project, http://kieker-monitoring.net>