Question: embedded components

Hello Colleagues, I attached a maple worksheet. 
View 9494_Graph_Components.mw on MapleNet or
 Download 9494_Graph_Components.mw
View file details
In which I have the following concerns:
How to make the code to run when opening the worksheet, so that the instructions are after the embedded components, take these values passed to it.
We welcome suggestions on the module implemented within the "Edit Region Code."
Thanks
Please Wait...