graph gen