Skip to content

Network with isolated nodes #23

@m3hdad

Description

@m3hdad

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions