added get_connected_components_and_distances_ratios_from_subgraph to gctx_methods