gives coordinates of the vertices of the graph g.
GraphEmbedding[g,"emb"]
gives coordinates of the vertices of the graph g using the embedding "emb".
GraphEmbedding[g,"emb",dim]
gives coordinates in dimension dim of the vertices of the graph g using the embedding "emb".


GraphEmbedding
gives coordinates of the vertices of the graph g.
GraphEmbedding[g,"emb"]
gives coordinates of the vertices of the graph g using the embedding "emb".
GraphEmbedding[g,"emb",dim]
gives coordinates in dimension dim of the vertices of the graph g using the embedding "emb".
Examples
open all close allBasic Examples (2)
Scope (23)
GraphEmbedding works with undirected graphs:
Get the coordinates of vertices using the "BalloonEmbedding":
Applications (3)
Properties & Relations (2)
Obtain vertex placement of graph layout:
Plot the graph using graphics primitives:
Use the option VertexCoordinates to get vertex coordinates:
See Also
VertexCoordinates GraphLayout LayeredGraphPlot TreePlot GraphPlot GraphPlot3D CommunityGraphPlot LayeredGraphPlot3D
Function Repository: VertexCoordinateList
Related Guides
History
Text
Wolfram Research (2012), GraphEmbedding, Wolfram Language function, https://reference.wolfram.com/language/ref/GraphEmbedding.html.
CMS
Wolfram Language. 2012. "GraphEmbedding." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/GraphEmbedding.html.
APA
Wolfram Language. (2012). GraphEmbedding. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GraphEmbedding.html
BibTeX
@misc{reference.wolfram_2025_graphembedding, author="Wolfram Research", title="{GraphEmbedding}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/GraphEmbedding.html}", note=[Accessed: 15-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_graphembedding, organization={Wolfram Research}, title={GraphEmbedding}, year={2012}, url={https://reference.wolfram.com/language/ref/GraphEmbedding.html}, note=[Accessed: 15-August-2025]}