init graph ok