DirectedEdge[u,v] or uv
represents a directed edge from u to v.
DirectedEdge[u,v,t] or uv
represents a directed edge from u to v with tag t.
- DirectedEdge is also known as arc or directed link.
- DirectedEdge[u,v] can be input as uv. The character is entered as de or \[DirectedEdge].
- DirectedEdge[u,v,t] can be input as uv. An empty template can entered as tde, and moves the cursor to the overscript position.
Examplesopen allclose all
Basic Examples (4)
Build a graph with directed edges:
Style and label individual edges:
Use wrappers to specify edge properties, including style:
Use DirectedEdge to specify individual edges for options, including style:
Use a list of edges to indicate which edges to highlight:
Properties & Relations (3)
Use DirectedEdge to construct directed graphs:
Inside graph constructors, Rule[a,b] is converted to DirectedEdge[a,b]:
The adjacency matrix of a directed graph can be unsymmetric:
Wolfram Research (2010), DirectedEdge, Wolfram Language function, https://reference.wolfram.com/language/ref/DirectedEdge.html (updated 2020).
Wolfram Language. 2010. "DirectedEdge." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2020. https://reference.wolfram.com/language/ref/DirectedEdge.html.
Wolfram Language. (2010). DirectedEdge. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DirectedEdge.html