DirectedEdge

DirectedEdge[u,v] or uv

represents a directed edge from u to v.

Details

Examples

open allclose all

Basic Examples  (4)

Build a graph with directed edges:

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

List of edges:

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

Use de to enter directly:

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

Style and label individual edges:

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

StandardForm formatting:

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

Scope  (5)

Properties & Relations  (3)

See Also

UndirectedEdge  Graph  EdgeList  EdgeCount  Rule

Introduced in 2010
(8.0)