Boilerplate graph string stuff from Phil