Changed graphTemplate getGraph method