add init graph