Fixed runtime error for project. Added template to the addGraph page.