|
SOLUTIONS
|
Mathematica
>
Mathematics and Algorithms
>
Graphs & Networks
>
Graph Operations and Modifications
>
EdgeAdd
BUILT-IN MATHEMATICA SYMBOL
EdgeAdd
EdgeAdd[g, e]
makes a graph by adding the edge e to the graph g.
EdgeAdd[g, {e1, e2, ...}]
adds a collection of edges to g.
DetailsDetails
- EdgeAdd[g, e] will add the edge e and create a multiple edge if the edge already exists in g.
- An undirected edge can be specified using
or UndirectedEdge[v, w]. - A directed edge can be specified using
or DirectedEdge[v, w].
New in 8
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »


