N
- node classE
- edge classpublic interface VisualizationHelper<N,E>
Modifier and Type | Interface and Description |
---|---|
static class |
VisualizationHelper.CommonAttrs |
static class |
VisualizationHelper.CommonStyles |
static class |
VisualizationHelper.EdgeAttrs |
static class |
VisualizationHelper.EdgeStyles |
static class |
VisualizationHelper.NodeAttrs |
static class |
VisualizationHelper.NodeShapes |
static class |
VisualizationHelper.NodeStyles |
Modifier and Type | Method and Description |
---|---|
boolean |
getEdgeProperties(N src,
E edge,
N tgt,
Map<String,String> properties)
Retrieves the properties for rendering a single edge.
|
default void |
getGlobalEdgeProperties(Map<String,String> properties) |
default void |
getGlobalNodeProperties(Map<String,String> properties) |
boolean |
getNodeProperties(N node,
Map<String,String> properties)
Retrieves the properties for rendering a single node.
|
boolean getNodeProperties(N node, Map<String,String> properties)
The properties are stored in the 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.
node
- the node to be renderedproperties
- the property mapboolean getEdgeProperties(N src, E edge, N tgt, Map<String,String> properties)
The properties are stored in the Map
argument. Note that if an implementation of a base class is
overridden, it is probably a good idea to call super.getEdgeProperties(node, properties); at the
beginning of the method.
edge
- the edge to be renderedproperties
- the property mapCopyright © 2018. All rights reserved.