sg_settings

0th

Percentile

Settings

Graph settings.

Usage
sg_settings(sg, ...)
Arguments
sg

An object of class sigmajsas intatiated by sigmajs.

...

Any parameter, see official documentation.

Aliases
  • sg_settings
Examples
# NOT RUN {
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"
  )

# }
Documentation reproduced from package sigmajs, version 0.1.1, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.