VertexCoordinates
is an option to Graph and related functions that specifies the coordinates to use to place the center of vertices.
Details
- The following settings for VertexCoordinates can be used:
-
Automatic automatically compute vertex coordinates {v1pt1,…} place vertex vi at center coordinate pti {pt1,pt2,…} place vertex v1 at pt1 etc. - With the setting VertexCoordinates->Automatic, the center coordinates for vertices are computed according to the setting for GraphLayout.
- With the setting VertexCoordinates->{pt1,pt2,…}, the vertices {v1,v2,…} are given in the order returned by VertexList.
Examples
open allclose allBasic Examples (3)
Scope (5)
VertexCoordinates can be used for general graphs:
Specify coordinates for some vertices:
Specify 3D coordinates for some vertices:
VertexCoordinates has higher priority than GraphLayout:
Applications (6)
Properties & Relations (1)
All vertex coordinates in a list follow the order given by VertexList:
Text
Wolfram Research (2010), VertexCoordinates, Wolfram Language function, https://reference.wolfram.com/language/ref/VertexCoordinates.html (updated 2020).
CMS
Wolfram Language. 2010. "VertexCoordinates." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2020. https://reference.wolfram.com/language/ref/VertexCoordinates.html.
APA
Wolfram Language. (2010). VertexCoordinates. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/VertexCoordinates.html