SONAR-2501 fix direction of copied edges in sub-graph