how i can create state machine diagram The execution process for a Trip consists of the following states
Requested - Trip requested for execution by a Driver
Accepted - Driver confirmed that will execute the Trip
En Route - driving towards pick-up
At Pick-up
In progress - driving towards drop-off
Completed - Trip completed successfully
Canceled - Trip cancele
Try looking here Finite Automaton | Graphviz