1digraph node_states {
2	Secondary -> Primary           [ label = "ioctl_set_state()" ]
3	Primary   -> Secondary 	       [ label = "ioctl_set_state()" ]
4}
5
6digraph peer_states {
7	Secondary -> Primary           [ label = "recv state packet" ]
8	Primary   -> Secondary 	       [ label = "recv state packet" ]
9	Primary   -> Unknown 	       [ label = "connection lost" ]
10	Secondary  -> Unknown  	       [ label = "connection lost" ]
11	Unknown   -> Primary           [ label = "connected" ]
12	Unknown   -> Secondary         [ label = "connected" ]
13}
14
15