Generate Graph Layout
This function generates plot coordinates for each variable in a graph that does not have them already. To this end, the well-known “Spring” layout algorithm is used. Note that this is a stochastic algorithm, so the generated layout will be different every time (which also means that you can try several times until you find a decent layout).
graphLayout(x, method = "spring")
the input graph, of any type.
the layout method; currently, only
the same graph as
x but with layout coordinates added.
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.