Description Usage Arguments Examples
Graph settings.
1 2 3 | sg_settings(sg, ...)
sg_settings_p(proxy, ...)
|
sg |
An object of class |
... |
Any parameter, see official documentation. |
proxy |
A proxy as returned by |
1 2 3 4 5 6 7 8 9 10 11 | nodes <- sg_make_nodes()
edges <- sg_make_edges(nodes, 50)
sigmajs() %>%
sg_nodes(nodes, id, label, size) %>%
sg_edges(edges, id, source, target) %>%
sg_force() %>%
sg_settings(
defaultNodeColor = "#0011ff"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.