gives a directed graph from the undirected graph g.
gives a directed graph using the conversion conv.
- DirectedGraph[g] is equivalent to DirectedGraph[g,Automatic].
- The following conversions conv can be used:
Automatic convert to both and "Acyclic" convert to if u precedes v in the vertex list and otherwise "Random" convert to either or randomly
- DirectedGraph takes the same options as Graph.
- DirectedGraph works with undirected graphs, multigraphs, and mixed graphs.
Introduced in 2010
(8.0)| Updated in 2014