Class AbstractComponentDependencyGraphFormatter<G extends AbstractDependencyGraph<?>>

java.lang.Object
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

  • Method Details

    • createComponentNodeLabel

      protected static java.lang.String createComponentNodeLabel​(DependencyGraphNode<AllocationComponent> node, boolean useShortLabels, java.lang.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