
Not sure that it has much of use really. Just created while was exploring sources.
Should we add it to sources as an ASCII diagram?
How about as a dot file? This input file generates this image:
+---> SENDJOB +----------------------------+
+--------+ | +-----------+ |
+----------------> WAIT +----+ |
| +--------+ | |
| +---------+ |
| | |
| | |
| | |
| | |
+-------+-------+ +-----v------+ +----v-----+ +--------+
| WANTCOMMAND +--------------------------+ SENDWORD +----------------------> CLOSED +-------> DONE |
+-------+-------+ +-----+------+ +----+-----+ +--------+
| ^ ^
| | |
| | |
| | |
| | |
| +-----+------+ |
+--------------------------------->+ WANTDATA +---------------------------+
| +------------+ |
| |
| |
| |
| |
| +-------------+ |
+--------------------------------->+ BITBUCKET +--------------------------+
+-------------+
@pseudocodes , nice job! Can you compress it a little so it will take less columns and rows?
+--------+ +-----------+
+--------------------> WAIT +------------>+ SENDJOB |
| +----+---+ +-----+-----+
| | |
| | |
| | |
+-------+-------+ +-----v------+ +----v-----+ +--------+
| WANTCOMMAND +-----------> SENDWORD +-----------> CLOSED +-------->+ DONE |
+-------+-------+ +-----+------+ +----+-----+ +--------+
| ^ ^
| | |
| +-----+------+ |
+-------------------> WANTDATA +----------------+
| +------------+ |
| |
| |
| +-------------+ |
+-------------------> BITBUCKET +---------------+
+-------------+
Most helpful comment