Highlight Graph Elements on BFS and DFS Trees

Here, graph elements are highlighted on BFS (breadth-first scan) and DFS (depth-first scan) trees.

    
Perform breadth-first scan at 10:
Perform depth-first scan at 10:
Highlight BFS and DFS trees: