layout_functions {metacoder} | R Documentation |
Layout functions
Description
Functions used to determine graph layout.
Calling the function with no parameters returns available function names.
Calling the function with only the name of a function returns that function.
Supplying a name and a graph
object to run the layout function on the graph.
Usage
layout_functions(
name = NULL,
graph = NULL,
intitial_coords = NULL,
effort = 1,
...
)
Arguments
name |
( |
graph |
( |
intitial_coords |
( |
effort |
( |
... |
(other arguments) Passed to igraph layout function used. |
Value
The name available functions, a layout functions, or a two-column matrix depending on how arguments are provided.
Examples
# List available function names:
layout_functions()
# Execute layout function on graph:
layout_functions("davidson-harel", igraph::make_ring(5))
[Package metacoder version 0.3.7 Index]