Working on Edge Gradient accross graphs