Returns a list with all edges
MuPAD® notebooks are not recommended. Use MATLAB® live scripts instead.
MATLAB live scripts support most MuPAD functionality, though there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.
Graph::getEdges(G) returns a list containing
all edges of the graph
G. Each edge is represented
by a list containing the two connected vertices.
Graph::getEdges only returns the edges, without
G1 := Graph::createCircleGraph([v1, v2, v3, v4]): Graph::getEdges(G1)
G2 := Graph::createCompleteGraph(3): Graph::getEdges(G2)
List of all edges, a list of lists