use GOGraph constructor instead of gograph function