field enableEdges in IAlgorithm, refactoring in Traversal execute method