How to deal with disconnected components in isomap?
I believe here is a solution: https://ieeexplore.ieee.org/document/8282172.
Short summary: Build the network and get disconnected graphs. Calculate the center of each small graph and connect the centers with each other. Then scale the edges connecting different small graphs by some number greater than 1.