added documentation of connected components methods