layout_star: Star layout

View source: R/layout_star.R

layout_starR Documentation

Star layout

Description

Default layout function that arranges nodes in a star pattern with one node (pkg) at its center.

Usage

layout_star(graph, pkg, layout = "layout_as_star", ...)

Arguments

graph

: a visNetwork object

pkg

Name of the node to place at the center of the plot (e.g. "echolocatoR").

layout

: Character Name of igraph layout function to use. Default to "layout_nicely"

...

Additional arguments passed to visIgraphLayout.


RajLabMSSM/echodeps documentation built on Oct. 31, 2023, 7:20 a.m.