Draws a tree in layers by distance from its roots
TreePlot[g]
TreePlot[{e1, e2, …}]
TreePlot[{…, w[ei], …}]
TreePlot[{vi 1 -> vj 1, …}]
TreePlot[m]
TreePlot[…, v -> pos]
TreePlot[KaryTree[9, 2]]
→ -Graphics-TreePlot[{1 -> 2, 2 -> 3, 3 -> 4, 4 -> 0, 5 -> 1, 6 -> 2, 7 -> 3, 8 -> 4, 9 -> 0}]
→ -Graphics-TreePlot[{1 -> 4, 1 -> 6, 1 -> 8, 2 -> 6, {3 -> 8, "3->8"}, 4 -> 5, 7 -> 8}, Left]
→ Graph[{1 -> 4, 1 -> 6, 1 -> 8, 2 -> 6, {3 -> 8, 3->8}, 4 -> 5, 7 -> 8}, GraphLayout -> {LayeredDigraphEmbedding, Orientation -> Left}]- DataRange — default Automatic
- DirectedEdges — default False
- EdgeLabels — default None
- EdgeLabelStyle — default Automatic
- EdgeShapeFunction — default Automatic
- EdgeStyle — default Automatic
- GraphHighlight — default { }
- GraphHighlightStyle — default Automatic
- LayerSizeFunction — default ( 1 )
- PerformanceGoal — default Automatic
- PlotStyle — default Automatic
- PlotTheme — default Automatic
- VertexCoordinates — default Automatic
- VertexLabels — default None
- VertexLabelStyle — default Automatic
- VertexShape — default Automatic
- VertexShapeFunction — default Automatic
- VertexSize — default Automatic
- VertexStyle — default Automatic