Figure 2. A graph representation of the Oregon Badlands trail system. Nodes (red) represent trailheads or trail intersections. Node IDs are in red. Edges (black) represent trails. Each edge has an associated “cost,” i.e., the length of the trail segment in miles.