Returns a new StateGraph instance.
StateGraph({ this.initial, this.live, this.states = const [], this.transitions = const {}, });