DFS, DLS, BFS with dashed edges