Add the setTargetNode member function to class DGEdge.
LGTM, but I'll let another reviewer give the green light :)
ping
LGTM