Graphs : Components search. Cycle and bipartite detection. Refactoring.