Edges

Edges[g]
gives the list of edges in g.

Edges[g, All]
gives the edges of g along with the graphics options associated with each edge.

Edges[g, EdgeWeight]
returns the list of edges in g along with their edge weights.

更多信息更多信息

New to Mathematica? Find your learning path »
Have a question? Ask support »