Function creates a vector of calculated network metrics for a graph.
getNetworkMetrics(g, component_type = "strong")igraph graph object.
Character string. Use strongly or weakly connected components by specifying "strong" or
"weak". Ignored for undirected graphs. Default is "strong".
Network metrics as named vector.