Layout your graph.
sg_layout(sg, directed = TRUE, layout = igraph::layout_nicely, ...) sg_get_layout(nodes, edges, directed = TRUE, layout = igraph::layout_nicely, ...)
An object of class
Whether or not to create a directed graph, passed to
Any other parameter to pass to
Nodes and edges as prepared for sigmajs.
sg_get_layout returns nodes with
sg_layout layout your graph.
sg_get_layout helper to get graph's