Condense graph init fn.