Added code for visualizing connectivity graph.  Still some issues though regarding speed and the best way to visualize