Class AbstractComponentDependencyGraphFormatter<G extends AbstractDependencyGraph<?>>

Type Parameters:
G - The graph type this formatter is for
Direct Known Subclasses:
ComponentAllocationDependencyGraphFormatter, ComponentAssemblyDependencyGraphFormatter

public abstract class AbstractComponentDependencyGraphFormatter<G extends AbstractDependencyGraph<?>> extends AbstractDependencyGraphFormatter<G>
Abstract superclass for formatters for component-based dependency graphs.
Since:
1.6
Author:
Holger Knoche
  • Constructor Details

    • AbstractComponentDependencyGraphFormatter

      public AbstractComponentDependencyGraphFormatter()
  • Method Details

    • createComponentNodeLabel

      protected static String createComponentNodeLabel(DependencyGraphNode<AllocationComponent> node, boolean useShortLabels, String stereotype)
      Utility function to create a label for component nodes.
      Parameters:
      node - The component node to create the label for
      useShortLabels - Indicates whether short labels (i.e. without package names) should be used
      stereotype - The stereotype to use in the label
      Returns:
      A formatted component node label