maxpar: The maximum number of parents each node can have
wgt: A parameter controlling how likely it is for a node to have a certain number of parents; see 'Details'.
Returns
An igraph object.
Details
If the maximum number of parents for a node is, say 3 and wgt=0.1, then the probability of the node ending up with 0,1,2,3 parents is proportional to 0.1^0, 0.1^1, 0.1^2, 0.1^3.