Initial Action
Performed at the beginning of the Graph Grammar.
line 2: Creating the list of inputs. line 3: Creating the list of outputs. line 4: Showing an interface for the list of input to the user. line 5: Creating and initializing a variable for the current input.
Final Action
Performed at the end of the Graph Grammar.
There are no need for a final action in that Graph Grammar.