There are numerous ways of transferring data between VIs (globals, functional globals, datasocket and so on), but if you just want to show and hide the graph, right-click on its terminal and select Create>>Property node. From the list of properties select "Visible?" and just wire T or F into it whereever you want.
___________________
Try to take over the world!