Implmeneted a graph edge.