java.lang.Object
kieker.analysis.generic.sink.graph.dot.DotExportMapper<N,E>
- Type Parameters:
N
- node typeE
- edge type
- Direct Known Subclasses:
SimpleDotExportConfiguration
public class DotExportMapper<N extends INode,E extends IEdge>
extends java.lang.Object
This class specifies how attributes (for graphs, vertices and edges) are mapped
to a dot graph.
To create a
DotExportMapper
use the DotExportMapper.Builder
.- Since:
- 1.14
- Author:
- Sören Henning
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<DotClusterAttribute,java.util.function.Function<N,java.lang.String>>
clusterAttributes
protected java.util.Map<DotEdgeAttribute,java.util.function.Function<com.google.common.graph.MutableNetwork<N,E>,java.lang.String>>
defaultEdgeAttributes
protected java.util.Map<DotNodeAttribute,java.util.function.Function<com.google.common.graph.MutableNetwork<N,E>,java.lang.String>>
defaultNodeAttributes
protected java.util.Map<DotEdgeAttribute,java.util.function.Function<E,java.lang.String>>
edgeAttributes
protected java.util.Map<DotGraphAttribute,java.util.function.Function<com.google.common.graph.MutableNetwork<N,E>,java.lang.String>>
graphAttributes
protected java.util.Map<DotNodeAttribute,java.util.function.Function<N,java.lang.String>>
nodeAttributes
-
Constructor Summary
Constructors Modifier Constructor Description protected
DotExportMapper()
-
Method Summary
Modifier and Type Method Description java.util.Set<java.util.Map.Entry<DotClusterAttribute,java.util.function.Function<N,java.lang.String>>>
getClusterAttributes()
java.util.Set<java.util.Map.Entry<DotEdgeAttribute,java.util.function.Function<com.google.common.graph.MutableNetwork<N,E>,java.lang.String>>>
getDefaultEdgeAttributes()
java.util.Set<java.util.Map.Entry<DotNodeAttribute,java.util.function.Function<com.google.common.graph.MutableNetwork<N,E>,java.lang.String>>>
getDefaultNodeAttributes()
java.util.Set<java.util.Map.Entry<DotEdgeAttribute,java.util.function.Function<E,java.lang.String>>>
getEdgeAttributes()
java.util.Set<java.util.Map.Entry<DotGraphAttribute,java.util.function.Function<com.google.common.graph.MutableNetwork<N,E>,java.lang.String>>>
getGraphAttributes()
java.util.Set<java.util.Map.Entry<DotNodeAttribute,java.util.function.Function<N,java.lang.String>>>
getNodeAttributes()
-
Field Details
-
graphAttributes
protected final java.util.Map<DotGraphAttribute,java.util.function.Function<com.google.common.graph.MutableNetwork<N extends INode,E extends IEdge>,java.lang.String>> graphAttributes -
defaultNodeAttributes
protected final java.util.Map<DotNodeAttribute,java.util.function.Function<com.google.common.graph.MutableNetwork<N extends INode,E extends IEdge>,java.lang.String>> defaultNodeAttributes -
defaultEdgeAttributes
protected final java.util.Map<DotEdgeAttribute,java.util.function.Function<com.google.common.graph.MutableNetwork<N extends INode,E extends IEdge>,java.lang.String>> defaultEdgeAttributes -
nodeAttributes
protected final java.util.Map<DotNodeAttribute,java.util.function.Function<N extends INode,java.lang.String>> nodeAttributes -
edgeAttributes
protected final java.util.Map<DotEdgeAttribute,java.util.function.Function<E extends IEdge,java.lang.String>> edgeAttributes -
clusterAttributes
protected final java.util.Map<DotClusterAttribute,java.util.function.Function<N extends INode,java.lang.String>> clusterAttributes
-
-
Constructor Details
-
DotExportMapper
protected DotExportMapper()
-
-
Method Details
-
getGraphAttributes
public java.util.Set<java.util.Map.Entry<DotGraphAttribute,java.util.function.Function<com.google.common.graph.MutableNetwork<N,E>,java.lang.String>>> getGraphAttributes() -
getDefaultNodeAttributes
public java.util.Set<java.util.Map.Entry<DotNodeAttribute,java.util.function.Function<com.google.common.graph.MutableNetwork<N,E>,java.lang.String>>> getDefaultNodeAttributes() -
getDefaultEdgeAttributes
public java.util.Set<java.util.Map.Entry<DotEdgeAttribute,java.util.function.Function<com.google.common.graph.MutableNetwork<N,E>,java.lang.String>>> getDefaultEdgeAttributes() -
getNodeAttributes
public java.util.Set<java.util.Map.Entry<DotNodeAttribute,java.util.function.Function<N,java.lang.String>>> getNodeAttributes() -
getEdgeAttributes
public java.util.Set<java.util.Map.Entry<DotEdgeAttribute,java.util.function.Function<E,java.lang.String>>> getEdgeAttributes() -
getClusterAttributes
public java.util.Set<java.util.Map.Entry<DotClusterAttribute,java.util.function.Function<N,java.lang.String>>> getClusterAttributes()
-