Example

stateDiagram
[*] --> q0
q0 --> q1 : 1
q0 --> q0 : 0,1
q1 --> q2 : 0
q2 --> [*]

Table

We lay out the node and the transitions

01
(start)
(end)
(end)
(end)
(end)

FSA

To draw, we start from to an end state

stateDiagram
q0 --> q0 : 0
q0 --> q0,q1 : 1
q0,q1 --> q0,q2 : 0
q0,q1 --> q0,q1 : 1
q0,q2 --> q0 : 0
q0,q1 --> q0,q1 : 1