DirectedEdges

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

Details and OptionsDetails and Options

ExamplesExamplesopen allclose all

Basic Examples  (5)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]=
Introduced in 2007
(6.0)