One more thing:
The line below the function definition says:
Returns the constraints generated by e. e-id serves as e’s label in
this list.
Does this mean that at the time the function is called that e is
associated with e-id or is this done once the function is finished to
identify it in the list of constraints?