Are there both hats and fences in this scene?
Yes, there are both a hat and a fence.
    src        edge_attr  dst
0     0   to the left of   24
1     0  to the right of   16
2     0   to the left of    4
3     0  to the right of    3
4     0   to the left of    8
..  ...              ...  ...
57   24   to the left of    5
58   24  to the right of    4
59   26  to the right of   24
60   26               in   25
61   26  to the right of    8

[62 rows x 3 columns]