show state machine in ui