I'm trying to use a finite state machine diagram to represent the Stack abstract data type, and I'm struggling to find a way to represent an unbounded alphabet. A stack can have an infinite number elements, but I can't draw infinite states in my diagram.
The solution I'm leaning toward is to use recursion, but I can't find any examples of expressing recursion in a finite state machine diagram. Is there a standard way to draw a recursion? Or is there another solution to my infinity problem?