a pass at graphs grouped by connected component

undoes eb1d9b9a723e17fcea5912073a53180770e523b2, as it leads to incorrect links