Refactoring
Refactored addEdgeDryRun()