Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

layout_tbl_graph_manual

Manually specify a layout for layout_tbl_graph


Description

This layout function lets you pass the node positions in manually. The supplied positions must match the order of the nodes in the tbl_graph

Usage

layout_tbl_graph_manual(graph, x, y, circular)

Arguments

graph

An tbl_graph object

x, y

Expressions with the x and y positions of the nodes

circular

Ignored

Value

A data.frame with the columns x, y, circular as well as any information stored as node variables in the tbl_graph.

See Also


ggraph

An Implementation of Grammar of Graphics for Graphs and Networks

v2.0.5
MIT + file LICENSE
Authors
Thomas Lin Pedersen [cre, aut] (<https://orcid.org/0000-0002-5147-4711>), RStudio [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.