Example. Graphical depiction of an NFA [017I]

NFAs are usually drawn in a graphical notation that depicts the states as circled nodes, with possible transitions given by arrows between the nodes. The starting state is drawn with an arrow pointing from it out of nowhere, and the accepting states are drawn in double-struck circles. For example, consider the following picture:

The picture above depicts an NFA accepting the following formal language over the alphabet \Sigma ={\mathopen {}\left \{a,b\right \}\mathclose {}}:

{\mathopen {}\left \{ u\in {\mathopen {}\left \{a,b\right \}\mathclose {}}^\star \mid \text {$u$ contains three consecutive $a$s} \right \}\mathclose {}}

Indeed, from the initial state we can consume as many as and bs as we like but at some point we must transition along an a to q_1 after which we have no choice but to consume two as until we reach an accepting state q_3. At this point, we can continue with as many as and bs as we like (an accepting state does not have to be a terminal state!).