Graph Terminology for Network Flows
Introduces the fundamental graph-theoretic vocabulary used in network flow problems: directed graphs, nodes, arcs, in-degree and out-degree, and the special role of source, sink, intermediate nodes, and arc capacities in a flow network.
Step 1 of 157%
Tutorial
Directed Graphs, Nodes, and Arcs
A directed graph (or digraph) is a pair where is a finite set of nodes (also called vertices) and is a set of arcs (also called directed edges). Each arc is an ordered pair with , representing a directed connection from to .
The order matters: the arc is different from the arc .
For example, the digraph with
has nodes and arcs. The arc points from node to node , while points from node to node .
We write for the number of nodes and for the number of arcs.