G
- The graph type this formatter is for@Deprecated public abstract class AbstractDependencyGraphFormatter<G extends AbstractDependencyGraph<?>> extends AbstractGraphFormatter<G>
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
STEREOTYPE_ALLOCATION_COMPONENT
Deprecated.
The string used in the node labels for deployment components.
|
protected static java.lang.String |
STEREOTYPE_ASSEMBLY_COMPONENT
Deprecated.
The string used in the node labels for assembly components.
|
protected static java.lang.String |
STEREOTYPE_EXECUTION_CONTAINER
Deprecated.
The string used in the node labels for execution containers.
|
Constructor and Description |
---|
AbstractDependencyGraphFormatter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
appendGraphFooter(java.lang.StringBuilder builder)
Deprecated.
Outputs the default graph footer to the given builder.
|
protected void |
appendGraphHeader(java.lang.StringBuilder builder)
Deprecated.
Outputs the default graph header to the given builder.
|
protected static java.lang.String |
createAllocationComponentId(AllocationComponent component)
Deprecated.
Utility function to create a textual container ID for an allocation component.
|
protected static java.lang.String |
createAssemblyComponentId(AssemblyComponent component)
Deprecated.
Utility function to create a textual container ID for an assembly component.
|
protected static java.lang.String |
createContainerId(ExecutionContainer container)
Deprecated.
Utility function to create a textual container ID for an execution container.
|
protected static java.lang.String |
createNodeId(DependencyGraphNode<?> node)
Deprecated.
Utility function to create a textual node ID for a given node.
|
protected static java.lang.String |
createNodeId(int nodeId)
Deprecated.
Utility function to create a textual node ID from a given numeric node ID.
|
protected static java.lang.String |
createOperationNodeId(Operation operation)
Deprecated.
Utility function to create a textual node ID for an operation.
|
protected abstract java.lang.String |
formatDependencyGraph(G graph,
boolean includeWeights,
boolean useShortLabels,
boolean plotLoops)
Deprecated.
The inheriting classes should implement this method to encapsulate the concrete graph formatting.
|
protected java.lang.String |
formatGraph(G graph,
boolean includeWeights,
boolean useShortLabels,
boolean plotLoops)
Deprecated.
This method encapsulates the concrete graph formatting.
|
protected static java.lang.String |
getNodeFillColor(DependencyGraphNode<?> node)
Deprecated.
Utility function to determine the fill color to use for a given node.
|
createFormattedRepresentation, formatDecorations, getDefaultFileName, getDotRepresentation
protected static final java.lang.String STEREOTYPE_EXECUTION_CONTAINER
protected static final java.lang.String STEREOTYPE_ASSEMBLY_COMPONENT
protected static final java.lang.String STEREOTYPE_ALLOCATION_COMPONENT
public AbstractDependencyGraphFormatter()
protected java.lang.String formatGraph(G graph, boolean includeWeights, boolean useShortLabels, boolean plotLoops)
AbstractGraphFormatter
formatGraph
in class AbstractGraphFormatter<G extends AbstractDependencyGraph<?>>
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.protected void appendGraphHeader(java.lang.StringBuilder builder)
builder
- The builder to useprotected void appendGraphFooter(java.lang.StringBuilder builder)
builder
- The builder to useprotected static java.lang.String createContainerId(ExecutionContainer container)
container
- The container to create the ID forprotected static java.lang.String createAllocationComponentId(AllocationComponent component)
component
- The allocation component to create the ID forprotected static java.lang.String createAssemblyComponentId(AssemblyComponent component)
component
- The assembly component to create the ID forprotected static java.lang.String createOperationNodeId(Operation operation)
operation
- The operation to create the ID forprotected static java.lang.String createNodeId(int nodeId)
nodeId
- The numeric node IDprotected static java.lang.String createNodeId(DependencyGraphNode<?> node)
node
- The node to create the ID forprotected static java.lang.String getNodeFillColor(DependencyGraphNode<?> node)
node
- The node to determine the color forprotected abstract java.lang.String formatDependencyGraph(G graph, boolean includeWeights, boolean useShortLabels, boolean plotLoops)
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.Copyright 2021 Kieker Project, http://kieker-monitoring.net