sigmaNet
sigmaNet copied to clipboard
Network with isolated nodes
Actual Behavior
Cannot render and apply node size based on degree with a network containing isolated nodes (degree = 0)
Expected/Desired Behavior
Node size based on degree should allow isolated nodes (degree = 0) with min size defined.
How to Reproduce
library(igraph) library(sigmaNet)
set.seed(123) g <- erdos.renyi.game(10, 1/5) sig <- sigmaFromIgraph(g) %>% addNodeSize(sizeMetric = 'degree')