try to init graph