Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

UndirectedGraphs

Guides

  • GraphConstructionandRepresentation
  • Graph Functions
  • GraphOperationsandModifications
  • GraphPropertiesAndMeasurements
  • GraphVisualization
  • Paths, Cycles, and Flows
  • Computation on Graphs

Symbols

  • AlternatingTreeGraph
  • BananaTreeGraph
  • BookGraph
  • CoboundaryPolynomial
  • CombGraph
  • FirecrackerGraph
  • GearGraph
  • GeneralizedTriangularGridGraph
  • Girth
  • GraphicalDegreeSequenceQ
  • HelmGraph
  • IndependencePolynomial
  • KayakPaddleGraph
  • LadderRungGraph
  • PanGraph
  • PositiveIntegerQ
  • RankPolynomial
  • ReliabilityPolynomial
  • ResistanceMatrix
  • SunletGraph
  • TadpoleGraph
  • VertexCoordinateList
  • VertexInsert
PeterBurbery`UndirectedGraphs`
VertexInsert
​
VertexInsert
[graph,edge,vertex]
inserts
vertex
into
edge
in
graph
.
​
​
VertexInsert
[graph,edge,vertex,"DoNotInsertIntoMultipleEdges"]
inserts a
vertex
into just one
edge
when there are multiple edges between two vertices.
​
Examples  
(1)
Basic Examples  
(1)
The Petersen graph with 10 edges:
In[1]:=
PetersenGraph[VertexLabels"Name"]
Out[1]=
Insert a new vertex 11 into the first edge:
In[2]:=
VertexInsert
[PetersenGraph[],First[EdgeList[PetersenGraph[]]],11,VertexLabels"Name"]
Out[2]=
SeeAlso
VertexDelete
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com