able to write the FSM connection graph