Class AbstractComponentDependencyGraphFormatter<G extends AbstractDependencyGraph<?>>
java.lang.Object
kieker.tools.trace.analysis.filter.visualization.AbstractGraphFormatter<G>
kieker.visualization.trace.dependency.graph.AbstractDependencyGraphFormatter<G>
kieker.visualization.trace.dependency.graph.AbstractComponentDependencyGraphFormatter<G>
- 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
-
Field Summary
Fields inherited from class kieker.visualization.trace.dependency.graph.AbstractDependencyGraphFormatter
STEREOTYPE_ALLOCATION_COMPONENT, STEREOTYPE_ASSEMBLY_COMPONENT, STEREOTYPE_EXECUTION_CONTAINER
-
Constructor Summary
Constructors Constructor Description AbstractComponentDependencyGraphFormatter()
-
Method Summary
Modifier and Type Method Description protected static java.lang.String
createComponentNodeLabel(DependencyGraphNode<AllocationComponent> node, boolean useShortLabels, java.lang.String stereotype)
Utility function to create a label for component nodes.Methods inherited from class kieker.visualization.trace.dependency.graph.AbstractDependencyGraphFormatter
appendGraphFooter, appendGraphHeader, createAllocationComponentId, createAssemblyComponentId, createContainerId, createNodeId, createNodeId, createOperationNodeId, formatDependencyGraph, formatGraph, getNodeFillColor
Methods inherited from class kieker.tools.trace.analysis.filter.visualization.AbstractGraphFormatter
createFormattedRepresentation, formatDecorations, getDefaultFileName, getDotRepresentation
-
Constructor Details
-
AbstractComponentDependencyGraphFormatter
public AbstractComponentDependencyGraphFormatter()
-
-
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 foruseShortLabels
- Indicates whether short labels (i.e. without package names) should be usedstereotype
- The stereotype to use in the label- Returns:
- A formatted component node label
-