Skip to contents

Layouts for Graph Drawing

Usage

layout_nicely(graph, ...)

layout_random(graph)

layout_drl(graph)

layout_fruchterman_reingold(graph, grid = 2L)

layout_mds(graph, dist)

layout_reingold_tilford(graph, mode = 1L, roots = integer(0))

layout_reingold_tilford_circular(graph, mode = 1L, roots = integer(0))

Arguments

graph

igraph_ptr object.

...

Passed to an internal layout function.

grid

Whether to use the (fast but less accurate) grid based version; {0: GRID, 1: NOGRID, 2: AUTOGRID}.

dist

A distant matrix.

mode

Edge type to count; {1: OUT, 2: IN, 3: ALL}.

roots

Root vertices.