| igraph Reference Manual |
|---|
int igraph_to_directed(igraph_t *graph, igraph_to_directed_t mode);
If the supplied graph is directed, this function does nothing.
Arguments:
|
The graph object to convert. |
|
Constant, specifies the details of how exactly the
conversion is done. Possible values: |
Returns:
Error code. |
Time complexity: O(|V|+|E|), the number of vertices plus the number of edges.
| << 10. Directedness conversion | 10.2. igraph_to_undirected — Convert a directed graph to an undirected one. >> |