Add connected components example to doc