User blog comment:Koteitan/The Hydra Diagram based on Upper-Branch-Ignoring Model for understanding BM4 structure/@comment-32994025-20190620184216/@comment-30846880-20190621031207

Oh that's a good idea. Though I tried to implement automatic drawing with modifying hydra-viewer when I found the branch ignoring diagram, I didn't figure out how can I draw the crossing branches. After that I found proper way to draw it when I saw D13jason's bad-root-hydra diagram.

https://twitter.com/koteitan/status/1036671288876589056 will help you to make your program. Good luck!