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 allclose 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:
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