Add state machine outline