This would show the graph of processes created (directly or indirectly) by the process id passed in as a script parameter.
Running the script with no arguments would produce the output it produces now
Running the script with a numeric argument would produce the tree of child processes for that process.