For a directed graph, returns the node for which edge is an outgoing edge. For an undirected graph, throws an UnsupportedOperationException.
(Object edge)
| 332 | * For an undirected graph, throws an {@link UnsupportedOperationException}. |
| 333 | */ |
| 334 | N source(Object edge); |
| 335 | |
| 336 | /** |
| 337 | * For a directed graph, returns the node for which {@code edge} is an incoming edge. |