Are both these animals the same species?
No, they are dogs and cats.
   src        edge_attr  dst
0    1               on    3
1    1   to the left of    2
2    2               on    3
3    2  to the right of    1
4    4               on    3
5    5               on    3