View source: R/heat_tree--layouts.R
layout_functions | R Documentation |
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.
layout_functions(
name = NULL,
graph = NULL,
intitial_coords = NULL,
effort = 1,
...
)
name |
( |
graph |
( |
intitial_coords |
( |
effort |
( |
... |
(other arguments) Passed to igraph layout function used. |
The name available functions, a layout functions, or a two-column matrix depending on how arguments are provided.
# List available function names:
layout_functions()
# Execute layout function on graph:
layout_functions("davidson-harel", igraph::make_ring(5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.