org.apache.tez.dag.utils
Class Graph
java.lang.Object
org.apache.tez.dag.utils.Graph
@InterfaceAudience.Private
public class Graph
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Graph
public Graph(String name,
Graph parent)
Graph
public Graph(String name)
Graph
public Graph()
getName
public String getName()
getParent
public Graph getParent()
newNode
public Graph.Node newNode(String id,
String label)
getNode
public Graph.Node getNode(String id)
newSubGraph
public Graph newSubGraph(String name)
addSubGraph
public void addSubGraph(Graph graph)
generateGraphViz
public String generateGraphViz(String indent)
generateGraphViz
public String generateGraphViz()
save
public void save(String filePath)
throws IOException
- Throws:
IOException
combineEdges
public static List<Graph.Edge> combineEdges(List<Graph.Edge> edges)
Copyright © 2014 Apache Software Foundation. All rights reserved.