sg_settings: Settings

Description Usage Arguments Examples

View source: R/settings.R

Description

Graph settings.

Usage

1
2
3

Arguments

sg

An object of class sigmajsas intatiated by sigmajs.

...

Any parameter, see official documentation.

proxy

A proxy as returned by sigmajsProxy.

Examples

 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"
  )

sigmajs documentation built on July 8, 2020, 5:16 p.m.