DirectedEdges

DirectedEdges

is an option for Graph, GraphPlot, and related functions that specifies whether edges should be taken to be directed.

Details and Options

Examples

open allclose all

Basic Examples  (5)

By default rules are taken to be directed edges:

In[1]:=
Click for copyable input
Out[1]=

Specify undirected edges:

In[2]:=
Click for copyable input
Out[2]=

Obtain a CycleGraph with directed edges:

In[1]:=
Click for copyable input
Out[1]=

Create a directed graph from a symmetric adjacency matrix:

In[1]:=
Click for copyable input
Out[1]=

Show edges as arrows in GraphPlot:

In[1]:=
Click for copyable input
Out[1]=

Do not show edges as arrows in LayeredGraphPlot:

In[1]:=
Click for copyable input
Out[1]=

Scope  (5)

See Also

Graph  CycleGraph  RandomGraph  GraphPlot  LayeredGraphPlot

Tutorials

Introduced in 2007
(6.0)