community2sankey: plot community as sankey diagram

Description Usage Arguments Value

Description

plot community as sankey diagram

Usage

1
2
3
4
5
6
7
8
community2sankey(
  net_list,
  font_size = 18,
  scaled = FALSE,
  sinksRight = TRUE,
  nodePadding = 10,
  nodeWidth = 30
)

Arguments

net_list

a list of igraph objects

font_size

the font size of the plot

scaled

whether the edge weight of overlapping nodes between two successive communities should be normalized or not

sinksRight

should the plot align to right or not

nodePadding

the width height

nodeWidth

the width of the nodes

Value

a list with sankey data and the sankey diagram object


zlfccnu/econophysics documentation built on Feb. 23, 2022, 10:22 p.m.