I am new to UML, regrading FSM diagram, how to represent two transitions that lead to same state, for example, I'm in state1:
when(event1)-->action1-->state2
when(event2)-->action2-->state2
I mean do I need to draw two lines from state1 to state2?