Update graph_editor.py

-- hide global variables
-- hide print method inside Graph