I got ChatGPT to help me produce a Graphviz statechart of the Postgres wire protocol Here's the full output image + graphviz source if it's helpful/interesting to anyone: Used the Smalltalk input from article