com.google.javascript.jscomp.graph
Interface DiGraph.DiGraphEdge<N,E>
- Type Parameters:
N
- Value type that the graph node stores.E
- Value type that the graph edge stores.
- All Superinterfaces:
- Annotatable, Graph.GraphEdge<N,E>
- Enclosing class:
- DiGraph<N,E>
public static interface DiGraph.DiGraphEdge<N,E>
- extends Graph.GraphEdge<N,E>
A generic directed graph edge.
getSource
DiGraph.DiGraphNode<N,E> getSource()
getDestination
DiGraph.DiGraphNode<N,E> getDestination()
setSource
void setSource(DiGraph.DiGraphNode<N,E> node)
setDestination
void setDestination(DiGraph.DiGraphNode<N,E> node)