edge_number

Scilab function
Last update : 25/04/2007

edge_number - number of edges of a graph

### Calling Sequence

  `ma = edge_number(g)`

### Parameters

- `g` : graph list
- `m` : integer, number of edges

### Description

`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')` .

### See Also

`arc_number` , `node_number` ,