java.lang.Object
kieker.analysis.generic.sink.graph.AbstractTransformer<java.lang.Void,N,E>
kieker.analysis.generic.sink.graph.dot.DotTransformer<N,E>
- Type Parameters:
N
- node typeE
- edge type
- All Implemented Interfaces:
IEdgeVisitor<E>
,INodeVisitor<N>
public class DotTransformer<N extends INode,E extends IEdge> extends AbstractTransformer<java.lang.Void,N,E>
- Since:
- 1.14
- Author:
- Sören Henning
-
Field Summary
Fields Modifier and Type Field Description protected DotExportMapper<N,E>
configuration
protected DotGraphWriter
dotGraphWriter
-
Constructor Summary
Constructors Constructor Description DotTransformer(IGraph<N,E> graph, java.io.Writer writer)
DotTransformer(IGraph<N,E> graph, java.io.Writer writer, DotExportMapper<N,E> configuration)
-
Method Summary
Modifier and Type Method Description protected void
afterTransformation()
protected void
beforeTransformation()
protected java.util.Map<java.lang.String,java.lang.String>
getAttributes(E edge)
protected java.util.Map<java.lang.String,java.lang.String>
getAttributes(N vertex)
protected java.lang.Void
getTransformation()
protected void
handleIOException(java.io.IOException ioException)
protected void
transformEdge(E edge)
protected void
transformVertex(N vertex)
Methods inherited from class kieker.analysis.generic.sink.graph.AbstractTransformer
transform, visitEdge, visitNode
-
Field Details
-
Constructor Details
-
Method Details
-
beforeTransformation
protected void beforeTransformation() -
afterTransformation
protected void afterTransformation() -
transformVertex
protected void transformVertex(N vertex)- Specified by:
transformVertex
in classAbstractTransformer<java.lang.Void,N extends INode,E extends IEdge>
-
transformEdge
protected void transformEdge(E edge)- Specified by:
transformEdge
in classAbstractTransformer<java.lang.Void,N extends INode,E extends IEdge>
-
handleIOException
protected void handleIOException(java.io.IOException ioException) -
getAttributes
protected java.util.Map<java.lang.String,java.lang.String> getAttributes(E edge) -
getAttributes
protected java.util.Map<java.lang.String,java.lang.String> getAttributes(N vertex) -
getTransformation
protected java.lang.Void getTransformation()- Specified by:
getTransformation
in classAbstractTransformer<java.lang.Void,N extends INode,E extends IEdge>
-