graph init