graph_edges 函数
返回边列表中的唯一无向边。
语法
GraphTheory:-Edges([[u1, v1], ...])graph_edges(edges)
参数与选项
edges | 形如 [[u, v], ...] 的边列表。 |
|---|
示例
- 图边
GraphTheory:-Edges([[a, b], [b, c], [c, a], [c, d]])返回图的边列表。
返回边列表中的唯一无向边。
GraphTheory:-Edges([[u1, v1], ...])graph_edges(edges)edges | 形如 [[u, v], ...] 的边列表。 |
|---|
GraphTheory:-Edges([[a, b], [b, c], [c, a], [c, d]])返回图的边列表。