GraphUtilities`
GraphUtilities`

GraphCoordinates3D

As of Version 10, all the functionality of the GraphUtilities package is built into the Wolfram System. >>

GraphCoordinates3D[g,options]

calculates a visually appealing 3D layout of the vertices of a graph g and returns the coordinates of the vertices.

Details

  • GraphCoordinates3D functionality is now available in the built-in Wolfram Language function GraphEmbedding.
  • To use GraphCoordinates3D, you first need to load the Graph Utilities Package using Needs["GraphUtilities`"].
  • GraphCoordinates3D returns the coordinates of the vertices as computed using a graph-drawing algorithm in 3D. It is useful when the coordinates of the vertices are needed, rather than a drawing of the graph, or when one needs to draw a graph repeatedly using the same layout but different style.
  • GraphCoordinates accepts the same options as GraphPlot.

Examples

open allclose all

Basic Examples  (2)

In[1]:=
Click for copyable input

This plots a graph:

In[2]:=
Click for copyable input
In[3]:=
Click for copyable input
Out[3]=

This gives the coordinates of the vertices in the previous drawing:

In[4]:=
Click for copyable input
Out[4]=

GraphCoordinates3D has been superseded by GraphEmbedding:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Scope  (1)

Properties & Relations  (1)

Interactive Examples  (1)

See Also

GraphCoordinates  VertexList

Tutorials