Compute the degree of each nodes in the network
get_degree(graph, modes = c("in", "out", "total"))
graph
modes
a data.table of nodes degree
Useful links