Accept trivial and empty graphs; accept space in edge and node comments