Scilab Reference Manual |
---|
edge_number — number of edges of a graph
ma = edge_number(g)
edge_number returns the number m of edges of the graph. If the graph is directed, it is the number of arcs. If the graph is undirected, it is half the number of edges. It is always equal to the dimension of g('tail') and g('head').
<< delete_nodes | edit_graph_menus >> |