|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
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
- DirectedEdges->True specifies that edges should be directed.
- DirectedEdges->False specifies that edges should be undirected.
ExamplesExamplesopen allclose all
Basic Examples (5)Basic Examples (5)
By default rules are taken to be directed edges:
| In[1]:= |
| Out[1]= | ![]() |
| In[2]:= |
| Out[2]= | ![]() |
Obtain a CycleGraph with directed edges:
| In[1]:= |
| Out[1]= | ![]() |
Create a directed graph from a symmetric adjacency matrix:
| In[1]:= |
| Out[1]= | ![]() |
Show edges as arrows in GraphPlot:
| In[1]:= |
| Out[1]= | ![]() |
Do not show edges as arrows in LayeredGraphPlot:
| In[1]:= |
| Out[1]= | ![]() |
New in 6
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »






