adjust addEdge depending (source > target)