Bipartition with more than one connected component is completed.
The functionality of the menu has been updated.
The number of connected components can be obtained.