adds command to toggle net_graph on/off