init the four graph