SetEdgeWeight(G, e, w)
numeric; edge weight
SetEdgeWeight is used to change the weight of an edge of a weighted graph. It returns the old weight of the edge.
GetEdgeWeight is used to get the weight of an edge of a weighted graph.
G ≔ MakeWeighted⁡CompleteGraph⁡4
G≔Graph 1: an undirected weighted graph with 4 vertices and 6 edge(s)
Download Help Document
What kind of issue would you like to report? (Optional)