LayeredGraph3D
creates a graph with vertices and edges from the graph g represented as a 3D layered plot.
LayeredGraph3D[{e1,e2,…}]
creates a graph with edges ej represented as a 3D layered plot.
LayeredGraph3D[{…,w[ei],…}]
creates a graph with edges ei with features defined by the symbolic wrapper w.
LayeredGraph3D[…,vpos]
places the dominant vertex v in the plot at position pos.
Details and Options
- LayeredGraph3D generates a Graph object and displays it in a notebook as a 3D layered plot of the graph.
- LayeredGraph3D supports the same vertices, edges and wrappers as Graph.
- LayeredGraph3D by default puts "dominant" vertices at the top and vertices lower in the "hierarchy" progressively further down.
- LayeredGraph3D[g,pos] places the dominant vertices at position pos.
- Possible positions pos are: Top, Bottom, Left, Right.
- By default, LayeredGraph3D places each dominant vertex at the top.
- LayeredGraph3D has the same options as Graph.
Examples
open allclose allBasic Examples (5)
Scope (9)
Graph Specification (6)
Specify a 3D layered graph using a graph:
Create a 3D undirected layered graph using characters; enter the character as ue:
Create a 3D directed layered graph using characters; enter the character as de:
Specify a 3D layered graph using a rule list:
Options (9)
DirectedEdges (2)
By default, a 3D directed layered graph is generated when giving a list of rules:
Use DirectedEdges->False to interpret rules as undirected edges:
Text
Wolfram Research (2023), LayeredGraph3D, Wolfram Language function, https://reference.wolfram.com/language/ref/LayeredGraph3D.html.
CMS
Wolfram Language. 2023. "LayeredGraph3D." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/LayeredGraph3D.html.
APA
Wolfram Language. (2023). LayeredGraph3D. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/LayeredGraph3D.html