Model.add_interaction
- Model.add_interaction(a, b, interaction=None)
 Add an interaction between two elements of the model.
- Parameters:
 - a
Element The first element.
- b
Element The second element.
- interaction
Interaction, optional The interaction object.
- a
 - Returns:
 - tuple[int, int]
 The edge of the interaction graph representing the interaction between the two elements.
- Raises:
 - Exception
 If one or both of the elements are not in the graph.