LayeredGraphPlot

LayeredGraphPlot[g]

generates a layered plot of the graph g.

LayeredGraphPlot[{e1,e2,}]

generates a layered plot of the graph with edges ej.

LayeredGraphPlot[{,w[ei],}]

plots ei with features defined by the symbolic wrapper w.

LayeredGraphPlot[{vi 1vj 1,}]

uses rules vikvjk to specify the graph g.

LayeredGraphPlot[m]

uses the adjacency matrix m to specify the graph g.

LayeredGraphPlot[,pos]

places the dominant vertices in the plot at position pos.

Details and Options

Examples

open all close all

Basic Examples  (4)

Plot a graph:

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

Plot a graph specified by edge rules:

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

Plot a graph specified by its adjacency matrix:

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

Drawing a graph with different orientation from the default:

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

Scope  (9)

Options  (6)

Applications  (5)

Properties & Relations  (3)

Possible Issues  (1)

Neat Examples  (1)

Introduced in 2007
(6.0)
|
Updated in 2019
(12.0)