Class ComponentAllocationDependencyGraphFormatter
java.lang.Object
kieker.tools.trace.analysis.filter.visualization.AbstractGraphFormatter<G>
kieker.visualization.trace.dependency.graph.AbstractDependencyGraphFormatter<G>
kieker.visualization.trace.dependency.graph.AbstractComponentDependencyGraphFormatter<ComponentAllocationDependencyGraph>
kieker.visualization.trace.dependency.graph.ComponentAllocationDependencyGraphFormatter
public class ComponentAllocationDependencyGraphFormatter extends AbstractComponentDependencyGraphFormatter<ComponentAllocationDependencyGraph>
Formatter class for component dependency graphs on the allocation level (see
ComponentAllocationDependencyGraph
) .- 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 ComponentAllocationDependencyGraphFormatter()
Creates a new formatter. -
Method Summary
Modifier and Type Method Description protected java.lang.String
formatDependencyGraph(ComponentAllocationDependencyGraph graph, boolean includeWeights, boolean useShortLabels, boolean plotLoops)
The inheriting classes should implement this method to encapsulate the concrete graph formatting.java.lang.String
getDefaultFileName()
Returns the default file name suggested by this formatter.Methods inherited from class kieker.visualization.trace.dependency.graph.AbstractComponentDependencyGraphFormatter
createComponentNodeLabel
Methods inherited from class kieker.visualization.trace.dependency.graph.AbstractDependencyGraphFormatter
appendGraphFooter, appendGraphHeader, createAllocationComponentId, createAssemblyComponentId, createContainerId, createNodeId, createNodeId, createOperationNodeId, formatGraph, getNodeFillColor
Methods inherited from class kieker.tools.trace.analysis.filter.visualization.AbstractGraphFormatter
createFormattedRepresentation, formatDecorations, getDotRepresentation
-
Constructor Details
-
ComponentAllocationDependencyGraphFormatter
public ComponentAllocationDependencyGraphFormatter()Creates a new formatter.
-
-
Method Details
-
formatDependencyGraph
protected java.lang.String formatDependencyGraph(ComponentAllocationDependencyGraph graph, boolean includeWeights, boolean useShortLabels, boolean plotLoops)Description copied from class:AbstractDependencyGraphFormatter
The inheriting classes should implement this method to encapsulate the concrete graph formatting.- Specified by:
formatDependencyGraph
in classAbstractDependencyGraphFormatter<ComponentAllocationDependencyGraph>
- Parameters:
graph
- The input graph to formatincludeWeights
- Determines whether to include weights or not.useShortLabels
- Determines whether to use short labels or not.plotLoops
- Determines whether to plot loops or not.- Returns:
- A textual specification of the input graph
-
getDefaultFileName
public java.lang.String getDefaultFileName()Description copied from class:AbstractGraphFormatter
Returns the default file name suggested by this formatter.- Specified by:
getDefaultFileName
in classAbstractGraphFormatter<ComponentAllocationDependencyGraph>
- Returns:
- See above
-