Removed spaces in name and typename

Removed spaces in name and typename when creating a Graph