Documentation Center

  • Trial Software
  • Product Updates

Graph::printEdgeDescInformation

Prints the edge descriptions of a graph

Use only in the MuPAD Notebook Interface.

This functionality does not run in MATLAB.

Syntax

Graph::printEdgeDescInformation(G)

Description

Graph::printEdgeDescInformation prints the edge descriptions of a graph.

Graph::printEdgeDescInformation(G) prints the edge descriptions of the graph G

Examples

Example 1

A circle graph is created and the edge descriptions of it printed to screen:

G := Graph::createCircleGraph(3):
Graph::printEdgeDescInformation(G)
No edge descriptions defined.

G := Graph::setEdgeDescriptions(G, [[1, 2], [2, 3], [3, 1]],
                                ["Shortcut","Highway","Speedup"]):
Graph::printEdgeDescInformation(G)
Edge descriptions existing in the graph:
----------------------------------------
Edge [1, 2] = "Shortcut"
Edge [2, 3] = "Highway"
Edge [3, 1] = "Speedup"

Parameters

G

Graph

Return Values

Text containing information about the edge descriptions of a graph.

Was this topic helpful?