This layout function lets you pass the node positions in manually. Each row in the supplied data frame will correspond to a vertex in the igraph object matched by index.
layout_igraph_manual(graph, node.positions, circular)
An igraph object
A data.frame with the columns x
and y
(additional columns are ignored).
Ignored
A data.frame with the columns x
, y
, circular
as
well as any information stored as vertex attributes on the igraph object.
Other layout_igraph_*: layout_igraph_auto
,
layout_igraph_circlepack
,
layout_igraph_dendrogram
,
layout_igraph_hive
,
layout_igraph_linear
,
layout_igraph_partition
,
layout_igraph_treemap