0 is not connected to any vertex
1 is connected to following vertices with following weights
2 1
2 is connected to following vertices with following weights
1 1
3 2
3 is connected to following vertices with following weights
2 2
4 3
4 is connected to following vertices with following weights
3 3
5 4
5 is connected to following vertices with following weights
4 4