Class DefaultDOTVisualizationHelper<N,E>
- java.lang.Object
-
- net.automatalib.visualization.DefaultVisualizationHelper<N,E>
-
- net.automatalib.serialization.dot.DefaultDOTVisualizationHelper<N,E>
-
- All Implemented Interfaces:
DOTVisualizationHelper<N,E>,VisualizationHelper<N,E>
public class DefaultDOTVisualizationHelper<N,E> extends DefaultVisualizationHelper<N,E> implements DOTVisualizationHelper<N,E>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.automatalib.visualization.VisualizationHelper
VisualizationHelper.CommonAttrs, VisualizationHelper.CommonStyles, VisualizationHelper.EdgeAttrs, VisualizationHelper.EdgeStyles, VisualizationHelper.MTSEdgeAttrs, VisualizationHelper.NodeAttrs, VisualizationHelper.NodeShapes, VisualizationHelper.NodeStyles
-
-
Constructor Summary
Constructors Constructor Description DefaultDOTVisualizationHelper()DefaultDOTVisualizationHelper(@Nullable VisualizationHelper<N,? super E> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetEdgeProperties(N src, E edge, N tgt, Map<String,String> properties)voidgetGlobalEdgeProperties(Map<String,String> properties)voidgetGlobalNodeProperties(Map<String,String> properties)booleangetNodeProperties(N node, Map<String,String> properties)voidwritePostamble(Appendable a)Called after the node and edge data are written, but before the closing brace.voidwritePreamble(Appendable a)Called before the node and edge data are written, but after the opening "digraph {" statement.-
Methods inherited from class net.automatalib.visualization.DefaultVisualizationHelper
initialNodes
-
-
-
-
Constructor Detail
-
DefaultDOTVisualizationHelper
public DefaultDOTVisualizationHelper()
-
DefaultDOTVisualizationHelper
public DefaultDOTVisualizationHelper(@Nullable VisualizationHelper<N,? super E> delegate)
-
-
Method Detail
-
getGlobalNodeProperties
public void getGlobalNodeProperties(Map<String,String> properties)
- Specified by:
getGlobalNodePropertiesin interfaceVisualizationHelper<N,E>
-
getGlobalEdgeProperties
public void getGlobalEdgeProperties(Map<String,String> properties)
- Specified by:
getGlobalEdgePropertiesin interfaceVisualizationHelper<N,E>
-
getNodeProperties
public boolean getNodeProperties(N node, Map<String,String> properties)
- Specified by:
getNodePropertiesin interfaceVisualizationHelper<N,E>- Overrides:
getNodePropertiesin classDefaultVisualizationHelper<N,E>
-
getEdgeProperties
public boolean getEdgeProperties(N src, E edge, N tgt, Map<String,String> properties)
- Specified by:
getEdgePropertiesin interfaceVisualizationHelper<N,E>- Overrides:
getEdgePropertiesin classDefaultVisualizationHelper<N,E>
-
writePreamble
public void writePreamble(Appendable a) throws IOException
Description copied from interface:DOTVisualizationHelperCalled before the node and edge data are written, but after the opening "digraph {" statement.- Specified by:
writePreamblein interfaceDOTVisualizationHelper<N,E>- Parameters:
a- theAppendableto write to- Throws:
IOException- if writing toathrows.
-
writePostamble
public void writePostamble(Appendable a) throws IOException
Description copied from interface:DOTVisualizationHelperCalled after the node and edge data are written, but before the closing brace.- Specified by:
writePostamblein interfaceDOTVisualizationHelper<N,E>- Parameters:
a- theAppendableto write to- Throws:
IOException- if writing toathrows.
-
-