public interface GraphvizGraph
An object which can be visualized as a graph should implement this interface.
The DotFormatter.toDot
function can be used to get a
visualization of the object for debugging purpose.
Modifier and Type | Interface and Description |
---|---|
static interface |
GraphvizGraph.GraphvizEdge
A Graphviz edge.
|
static interface |
GraphvizGraph.GraphvizNode
A Graphviz node.
|
Modifier and Type | Method and Description |
---|---|
List<GraphvizGraph.GraphvizEdge> |
getGraphvizEdges()
Retrieve a list of edges in the graph.
|
List<GraphvizGraph.GraphvizNode> |
getGraphvizNodes()
Retrieve a list of nodes in the graph.
|
String |
getName()
Name of the graph.
|
boolean |
isDirected()
Graph type.
|
String getName()
boolean isDirected()
List<GraphvizGraph.GraphvizNode> getGraphvizNodes()
List<GraphvizGraph.GraphvizEdge> getGraphvizEdges()
Copyright © 2009-2017 Google. All Rights Reserved.