1out_edges(0): (0,1) (0,2)
2in_edges(0): (1,0) (2,0)
3in a directed graph is (u,v) == (v,u) ? 0
4weight[(u,v)] = 1.2
5weight[(v,u)] = 2.4
6in an undirected graph is (u,v) == (v,u) ? 1
7weight[(u,v)] = 3.1
8weight[(v,u)] = 3.1
9the edges incident to v: (0,1)
10