public class DefaultDOTVisualizationHelper<N,E> extends DefaultVisualizationHelper<N,E> implements DOTVisualizationHelper<N,E>
VisualizationHelper.CommonAttrs, VisualizationHelper.CommonStyles, VisualizationHelper.EdgeAttrs, VisualizationHelper.EdgeStyles, VisualizationHelper.NodeAttrs, VisualizationHelper.NodeShapes, VisualizationHelper.NodeStyles| Constructor and Description |
|---|
DefaultDOTVisualizationHelper() |
DefaultDOTVisualizationHelper(VisualizationHelper<N,? super E> delegate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getEdgeProperties(N src,
E edge,
N tgt,
Map<String,String> properties) |
void |
getGlobalEdgeProperties(Map<String,String> properties) |
void |
getGlobalNodeProperties(Map<String,String> properties) |
boolean |
getNodeProperties(N node,
Map<String,String> properties) |
void |
writePostamble(Appendable a)
Called after the node and edge data are written, but before the closing brace.
|
void |
writePreamble(Appendable a)
Called before the node and edge data are written, but after the opening "digraph {" statement.
|
initialNodespublic DefaultDOTVisualizationHelper()
public DefaultDOTVisualizationHelper(VisualizationHelper<N,? super E> delegate)
public void getGlobalNodeProperties(Map<String,String> properties)
getGlobalNodeProperties in interface VisualizationHelper<N,E>public void getGlobalEdgeProperties(Map<String,String> properties)
getGlobalEdgeProperties in interface VisualizationHelper<N,E>public boolean getNodeProperties(N node, Map<String,String> properties)
getNodeProperties in interface VisualizationHelper<N,E>getNodeProperties in class DefaultVisualizationHelper<N,E>public boolean getEdgeProperties(N src, E edge, N tgt, Map<String,String> properties)
getEdgeProperties in interface VisualizationHelper<N,E>getEdgeProperties in class DefaultVisualizationHelper<N,E>public void writePreamble(Appendable a) throws IOException
DOTVisualizationHelperwritePreamble in interface DOTVisualizationHelper<N,E>a - the Appendable to write toIOException - if writing to a throws.public void writePostamble(Appendable a) throws IOException
DOTVisualizationHelperwritePostamble in interface DOTVisualizationHelper<N,E>a - the Appendable to write toIOException - if writing to a throws.Copyright © 2019. All rights reserved.