public class PrettyDOTHelper<N,E> extends EmptyDOTHelper<N,E>
GraphDOTHelper.CommonAttrs, GraphDOTHelper.CommonStyles, GraphDOTHelper.EdgeAttrs, GraphDOTHelper.NodeAttrs, GraphDOTHelper.NodeShapes, GraphDOTHelper.NodeStyles
Constructor and Description |
---|
PrettyDOTHelper() |
Modifier and Type | Method and Description |
---|---|
void |
getGlobalEdgeProperties(Map<String,String> properties) |
void |
getGlobalNodeProperties(Map<String,String> properties) |
boolean |
getNodeProperties(N node,
Map<String,String> properties)
Retrieves the GraphVIZ properties for rendering a single node.
|
getEdgeProperties, writePostamble, writePreamble
public boolean getNodeProperties(N node, Map<String,String> properties)
GraphDOTHelper
Map
argument. Note that if an implementation
of a base class is overridden, it is probably a good idea to call
super.getNodeProperties(node, properties); at the beginning of
the method.getNodeProperties
in interface GraphDOTHelper<N,E>
getNodeProperties
in class EmptyDOTHelper<N,E>
node
- the node to be renderedproperties
- the property mappublic void getGlobalEdgeProperties(Map<String,String> properties)
getGlobalEdgeProperties
in interface GraphDOTHelper<N,E>
getGlobalEdgeProperties
in class EmptyDOTHelper<N,E>
public void getGlobalNodeProperties(Map<String,String> properties)
getGlobalNodeProperties
in interface GraphDOTHelper<N,E>
getGlobalNodeProperties
in class EmptyDOTHelper<N,E>
Copyright © 2015. All rights reserved.