What is that, an onion or a carrot?
That is an onion.
   src  edge_attr  dst
0    0       with    1
1    0       with    2
2    0       with    3
3    1         on    0
4    2         on    0
5    2  on top of    0
6    3         on    0