A multigraph is a graph in which multiple parallel edges can connect the same pair of vertices. This models distinct relationships that share endpoints, such as several roads between two locations, alternative capacities in resource allocation, or multiple social relationships. section 3.1
Three parallel roads
A NetworkX MultiGraph adds the edge tuple (0, 1) three times, representing three separate connections between vertices 0 and 1; repeated connections also join vertices 3 and 4.
