Use this if you are using igraph from R
| .apply_modifiers {igraph} | R Documentation | 
This is a helper function for the common parts of make_ and
sample_.
.apply_modifiers(graph, mods)
graph | 
 The graph to apply the modifiers to  | 
mods | 
 The modifiers to apply  | 
The modified graph