ChangeEdges[g,e]
replaces the edges of graph g with the edges in e. e can have the form {{s1,t1},{s2,t2},…} or the form {{{s1,t1},gr1},{{s2,t2},gr2},…}, where {s1,t1},{s2,t2},… are endpoints of edges and gr1,gr2,… are graphics information associated with edges.


ChangeEdges
ChangeEdges[g,e]
replaces the edges of graph g with the edges in e. e can have the form {{s1,t1},{s2,t2},…} or the form {{{s1,t1},gr1},{{s2,t2},gr2},…}, where {s1,t1},{s2,t2},… are endpoints of edges and gr1,gr2,… are graphics information associated with edges.
Details and Options
- ChangeEdges functionality is now available in the built-in Wolfram Language function EdgeDelete.
- To use ChangeEdges, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
See Also
Tech Notes
Related Guides
-
▪
- Constructing Graphs ▪
- Displaying Graphs ▪
- Graphs & Networks ▪
- Graph Visualization ▪
- Computation on Graphs ▪
- Graph Construction & Representation ▪
- Graphs and Matrices ▪
- Graph Properties & Measurements ▪
- Graph Operations and Modifications ▪
- Statistical Analysis ▪
- Social Network Analysis ▪
- Graph Properties ▪
- Mathematical Data Formats ▪
- Discrete Mathematics
Text
Wolfram Research (2012), ChangeEdges, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/ChangeEdges.html.
CMS
Wolfram Language. 2012. "ChangeEdges." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/ChangeEdges.html.
APA
Wolfram Language. (2012). ChangeEdges. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Combinatorica/ref/ChangeEdges.html
BibTeX
@misc{reference.wolfram_2025_changeedges, author="Wolfram Research", title="{ChangeEdges}", year="2012", howpublished="\url{https://reference.wolfram.com/language/Combinatorica/ref/ChangeEdges.html}", note=[Accessed: 14-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_changeedges, organization={Wolfram Research}, title={ChangeEdges}, year={2012}, url={https://reference.wolfram.com/language/Combinatorica/ref/ChangeEdges.html}, note=[Accessed: 14-August-2025]}