I have a graph and I'm working with connections between nodes A and B with a broker node X as follows:
Now I need to add a new edge between A and B in a case that there are at least 3 distinct broker nodes X, e.g.:
i'm in a situation where i have graph of 300 000 nodes where such pattern occurs:
i would like to create a new "extrapolated" edge:
(in order to be able to find ...