Change layout of graph plot
layout(
changes
the layout of graph plot H
)H
by using an automatic
choice of layout method based on the structure of the graph. The layout
function
modifies the XData
and YData
properties
of H
.
layout(
uses
additional options specified by one or more Name-Value pair arguments.
For example, H
,method
,Name,Value
)layout(H,'force','Iterations',N)
specifies
the number of iterations to use in computing the force layout, and layout(H,'layered','Sources',S)
uses
a layered layout with source nodes S
included in
the first layer.
[1] Fruchterman, T., and E. Reingold,. "Graph Drawing by Force-directed Placement." Software — Practice & Experience. Vol. 21 (11), 1991, pp. 1129–1164.
[2] Gansner, E., E. Koutsofios, S. North, and K.-P Vo. "A Technique for Drawing Directed Graphs." IEEE Transactions on Software Engineering. Vol.19, 1993, pp. 214–230.
[3] Barth, W., M. Juenger, and P. Mutzel. "Simple and Efficient Bilayer Cross Counting." Journal of Graph Algorithms and Applications. Vol.8 (2), 2004, pp. 179–194.
[4] Brandes, U., and B. Koepf. "Fast and Simple Horizontal Coordinate Assignment." LNCS. Vol. 2265, 2002, pp. 31–44.
[5] Y. Koren. "Drawing Graphs by Eigenvectors: Theory and Practice." Computers and Mathematics with Applications. Vol. 49, 2005, pp. 1867–1888.