Are there both a cat and a dog?
Yes, there are both a dog and a cat.
   src        edge_attr  dst
0    1  to the right of    8
1    3  to the right of    8
2    5  to the right of    8
3    8   to the left of    1
4    8   to the left of    5
5    8   to the left of    3
6    8  to the right of   10
7   10   to the left of    8