LayeredGraphPlot3D

LayeredGraphPlot3D[g]

generates a 3D layered plot of the graph g.

LayeredGraphPlot3D[{e1,e2,}]

generates a 3D layered plot of the graph with edges ei.

LayeredGraphPlot3D[{,w[ei],}]

plots ei with features defined by the symbolic wrapper w.

LayeredGraphPlot3D[{vi1vj1,}]

uses rules vikvjk to specify the graph g.

LayeredGraphPlot3D[m]

uses the adjacency matrix m to specify the graph g.

LayeredGraphPlot3D[,vpos]

places the dominant vertex v in the plot at position pos.

Details and Options

Examples

open allclose all

Basic Examples  (5)

Plot a graph:

Plot a graph specified by edge rules:

Plot a graph specified by its adjacency matrix:

Draw a graph with different orientation from the default:

Place the dominant vertex in the plot at a position:

Scope  (8)

Graph Specification  (4)

Specify a graph using a graph:

Specify a graph using a rule list:

Specify a graph using a dense adjacency matrix:

Specify a graph using a sparse adjacency matrix:

Graph Styling  (4)

Give labels for some edges:

Give vertex labels:

Show edges as lines:

Draw with different orientations:

Options  (12)

DataRange  (1)

Specify the range of vertex coordinates:

DirectedEdges  (2)

By default, edges are shown as arrows:

Do not show the direction of edges:

GraphLayers  (2)

Draw each layer:

Draw the first and last layer:

GraphLayerStyle  (4)

Specify the overall style of layers:

Alternate between red and blue colors on layers:

Use gradient colors from ColorData:

Use indexed colors from ColorData:

PlotStyle  (3)

Specify an overall style for the graph:

PlotStyle can be combined with VertexShapeFunction, which has higher priority:

PlotStyle can be combined with EdgeShapeFunction, which has higher priority:

Applications  (2)

A food chain:

The abstract proof network:

Wolfram Research (2021), LayeredGraphPlot3D, Wolfram Language function, https://reference.wolfram.com/language/ref/LayeredGraphPlot3D.html.

Text

Wolfram Research (2021), LayeredGraphPlot3D, Wolfram Language function, https://reference.wolfram.com/language/ref/LayeredGraphPlot3D.html.

CMS

Wolfram Language. 2021. "LayeredGraphPlot3D." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/LayeredGraphPlot3D.html.

APA

Wolfram Language. (2021). LayeredGraphPlot3D. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/LayeredGraphPlot3D.html

BibTeX

@misc{reference.wolfram_2024_layeredgraphplot3d, author="Wolfram Research", title="{LayeredGraphPlot3D}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/LayeredGraphPlot3D.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_layeredgraphplot3d, organization={Wolfram Research}, title={LayeredGraphPlot3D}, year={2021}, url={https://reference.wolfram.com/language/ref/LayeredGraphPlot3D.html}, note=[Accessed: 22-November-2024 ]}