Class AbstractDependencyGraphFormatterVisitor<T extends ISystemModelElement>

java.lang.Object
kieker.visualization.trace.dependency.graph.AbstractDependencyGraphFormatterVisitor<T>
Type Parameters:
T - subtype of an ISystemModelElement
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.
Since:
1.6
Author:
Holger Knoche
  • Field Details

    • builder

      protected final StringBuilder builder
    • includeWeights

      protected final boolean includeWeights
      The flag determining whether to include weights or not.
    • plotLoops

      protected final boolean plotLoops
      The flag determining whether to plot loops or not.
    • useShortLabels

      protected final boolean useShortLabels
      The flag determining whether to use short labels or not.
  • Constructor Details

    • 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 to
      includeWeights - Indicates whether weights should be printed at the edges
      plotLoops - Indicates whether self-loops should be displayed
      useShortLabels - Indicates whether short labels should be used
  • Method Details