State Machines

Last modified on January 9th, 2007

I had the need to make a few state machines today, and grew tired of doing them on paper. Derek pointed me towards GraphViz, which is a graphics package capable of doing finite state machine diagrams. All you need to do is generate a simple text file that outlines the state transitions, and their “dot” program will output the state machine diagram for you. Pretty nifty.

Here’s a simple example I did:


Bar State Machine

One response to “State Machines”

  1. Dori says:

    HYSTERICAL! Man, i think you have a lot of time on your hands.
    Just catching up on blog entries for the past couple weeks- are you feeling better?

Leave a Reply

Your email address will not be published. Required fields are marked *