LayeredGraphPlot3D
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.
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




- LayeredGraphPlot3D attempts to place vertices in a series of "layers".
- LayeredGraphPlot3D supports the same vertices and edges as Graph.
- The following special wrappers can be used for the edges ei:
-
Annotation[ei,label] provide an annotation Button[ei,action] define an action to execute when the element is clicked EventHandler[ei,…] define a general event handler for the element Hyperlink[ei,uri] make the element act as a hyperlink Labeled[ei,…] display the element with labeling PopupWindow[ei,cont] attach a popup window to the element StatusArea[ei,label] display in the status area when the element is moused over Style[ei,opts] show the element using the specified styles Tooltip[ei,label] attach an arbitrary tooltip to the element - LayeredGraphPlot3D by default puts "dominant" vertices at the top, and puts vertices lower in the "hierarchy" progressively further down.
- LayeredGraphPlot3D[g,pos] places the dominant vertices at position pos.
- Possible positions pos are: Top, Bottom, Left, Right.
- By default, LayeredGraphPlot3D places each dominant vertex at the top.
- LayeredGraphPlot3D has the same options as Graphics3D, with the following additions and changes:
-
DataRange Automatic the range of vertex coordinates to generate DirectedEdges Automatic whether to interpret Rule as DirectedEdge EdgeLabels None labels and placements for edges EdgeLabelStyle Automatic style to use for edge labels EdgeShapeFunction Automatic generate graphic shapes for edges EdgeStyle Automatic styles for edges GraphHighlight {} vertices and edges to highlight GraphHighlightStyle Automatic style for highlight PerformanceGoal Automatic aspects of performance to try to optimize PlotStyle Automatic graphics directives to determine styles PlotTheme Automatic overall theme for the graph VertexCoordinates Automatic coordinates for vertices VertexLabels None labels and placements for vertices VertexLabelStyle Automatic style to use for vertex labels VertexShape Automatic graphic shape for vertices VertexShapeFunction Automatic generate graphic shapes for vertices VertexSize Automatic size of vertices VertexStyle Automatic styles for vertices - Possible settings for PlotTheme include common base themes:
-
"Business" a bright, modern look appropriate for business presentations or infographics "Detailed" identify data by employing labels and tooltips "Marketing" elegant, eye-catching design suitable for marketing needs "Minimal" simple graph "Monochrome" single-color design "Scientific" candid design useful for analyzing detailed data with labels and tooltips "Web" clean, bold design suitable for a consumer website or blog "Classic" historical design of graph to remain compatible with existing uses - Graph feature themes affect the plots of vertices and edges. Feature themes include:
-
"LargeGraph" large graph "ClassicLabeled" classic graph "IndexLabeled" index-labeled graph

Examples
open allclose allBasic Examples (5)
Scope (8)
Graph Specification (4)
Options (12)
GraphLayerStyle (4)
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:
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