A bidirectional edge connects two endpoint vertices and permits travel in either direction. In the graph framework, u and v identify the endpoints, while reversed produces the opposite orientation when needed. section 4.1
City connections
Adding a Seattle-to-Chicago edge lets the graph report Chicago as a Seattle neighbor and Seattle as a Chicago neighbor. Printing the city graph exposes both directions in its adjacency lists.
