@InterfaceAudience.Private public class Graph extends Object
Modifier and Type | Class and Description |
---|---|
class |
Graph.Edge |
class |
Graph.Node |
Constructor and Description |
---|
Graph() |
Graph(String name) |
Graph(String name,
Graph parent) |
Modifier and Type | Method and Description |
---|---|
void |
addSubGraph(Graph graph) |
static List<Graph.Edge> |
combineEdges(List<Graph.Edge> edges) |
String |
generateGraphViz() |
String |
generateGraphViz(String indent) |
String |
getName() |
Graph.Node |
getNode(String id) |
Graph |
getParent() |
Graph |
newSubGraph(String name) |
void |
save(String filepath) |
public Graph(String name)
public Graph()
public String getName()
public Graph getParent()
public Graph.Node getNode(String id)
public void addSubGraph(Graph graph)
public String generateGraphViz()
public void save(String filepath) throws IOException
IOException
public static List<Graph.Edge> combineEdges(List<Graph.Edge> edges)
Copyright © 2008–2019 Apache Software Foundation. All rights reserved.