I can only recommend webmachine here, https://raw.githubusercontent.com/webmachine/webmachine.gith.... (it starts at b14)
This is actual code drawn out as a state diagram. It's officially available for Erlang and Ruby. (Disclaimer: I am one of the "maintainers" of the Ruby version)
The more up to date version of this diagram is here: