manage graph with spaces in the name