sg_noverlap

0th

Percentile

No overlap

This plugin runs an algorithm which distributes nodes in the network, ensuring that they do not overlap and providing a margin where specified.

Usage
sg_noverlap(sg, ...)

sg_noverlap_p(proxy, nodeMargin = 5, ...)

Arguments
sg

An object of class sigmajsas intatiated by sigmajs.

...

any option to pass to the plugin, see official documentation.

proxy

An object of class sigmajsProxy as returned by sigmajsProxy.

nodeMargin

The additional minimum space to apply around each and every node.

Aliases
  • sg_noverlap
  • sg_noverlap_p
Examples
# NOT RUN {
nodes <- sg_make_nodes(500)
edges <- sg_make_edges(nodes)

sigmajs() %>%
  sg_nodes(nodes, id, size, color) %>%
  sg_edges(edges, id, source, target) %>%
  sg_layout() %>% 
  sg_noverlap()

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

Community examples

Looks like there are no examples yet.