concept source in category algorithms

This is an excerpt from Manning's book Algorithms and Data Structures in Action.
But let’s see each operation in details, in table 2.4.
A set of edges E connecting vertices: an edge is a pair of vertices, the first one usually denoted as the source vertex, and the second one called the destination vertex.
Anyway, for the moment we can imagine to restrict to this ideal situation; why is that? Well, because it makes our job easier: if all blocks are the same, and can be approximated with squares (or rectangles whose sides’ proportions are close to squares’), then we don’t have to worry about real distances, we can just count the number of blocks traveled to compute the length of a route; and the problem would be trivial to solve… if it wasn’t for one-way roads! Once we have a minimum viable solution working for this simplified scenario, we can think about developing it to cover more life-like situations.
Figure 14.10 Building a graph on the map in figure 14.8. We added a vertex to each road intersection (some vertices are however omitted for better readability) and edges connect adjacent intersections connected by a one-way road (two-way roads are modeled with a couple of edges).
![]()
Figure 14.10 shows the graph that can be built over the map shown in figure 14.9, where we added a vertex at each road intersection, and an edge going from vertex v to vertex u means that from the intersection modeled with v to the one modeled with u, there is a road that can be traveled in that direction (and not necessarily in the opposite one, from u to v).