Static builder of the state machine graph.