How can i find the weigth of all the edge of a graph with this function:
edgeWeight[g_, e_] := WeightedAdjacencyMatrix [ g ] [ [ e [ [ 1 ]], e[ [ 2 ] ] ] ]