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