-- -*- M2-comint -*- hash: 3832532345864133408

i1 : G={{1,2},{2,3},{3,1},{4,5},{6,7},{7,8},{6,8}};

i2 : weightedConnectedComponents(G,WeightMethod=>"BEI")

o2 = 3

i3 : weightedConnectedComponents(G,WeightMethod=>"PBEI")

o3 = 4

i4 : 
