First step of graph init