finished the cration of the activation graph