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`
VertexCoordinateList
​
VertexCoordinateList
[g]
returns a list of vertex coordinates for the graph
g
. The coordinates are in the same order as the vertices in
VertexList
[
g
].
​
Examples  
(1)
Basic Examples  
(1)
Find the coordinates of the vertices in the Petersen graph:
In[1]:=
VertexCoordinateList
[PetersenGraph[]]
Out[1]=
{{0.951057,0.309017},{0.587785,-0.809017},{-0.587785,-0.809017},{-0.951057,0.309017},{-2.44929×
-16
10
,1.},{1.90211,0.618034},{1.17557,-1.61803},{-1.17557,-1.61803},{-1.90211,0.618034},{-4.89859×
-16
10
,2.}}
Find the coordinates of the vertices in a generalized triangular grid graph of size 7 by 7:
In[2]:=
VertexCoordinateList

GeneralizedTriangularGridGraph
[{7,7}]
Out[2]=
{0,0},
3
,3,2
3
,0,2
3
,6,3
3
,3,4
3
,0,3
3
,9,4
3
,6,5
3
,3,4
3
,12,5
3
,9,6
3
,0,6
3
,6,5
3
,15,6
3
,12,7
3
,3,7
3
,9,6
3
,18,7
3
,15,8
3
,0,8
3
,6,8
3
,12,7
3
,21,8
3
,18,9
3
,3,9
3
,9,9
3
,15,9
3
,21,10
3
,0,10
3
,6,10
3
,12,10
3
,18,11
3
,3,11
3
,9,11
3
,15,11
3
,21,12
3
,0,12
3
,6,12
3
,12,12
3
,18,13
3
,3,13
3
,9,13
3
,15,13
3
,21,14
3
,0,14
3
,6,14
3
,12,14
3
,18,15
3
,3,15
3
,9,15
3
,15,15
3
,21,16
3
,6,16
3
,12,16
3
,18,17
3
,9,17
3
,15,17
3
,21,18
3
,12,18
3
,18,19
3
,15,19
3
,21,20
3
,18,21
3
,21
SeeAlso
GraphEmbedding
 
▪
GraphLayout
 
▪
VertexCoordinates
RelatedGuides
▪
Graph Visualization
""

© 2025 Wolfram. All rights reserved.

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