Define constraints for the allowed elements in a cooperate component diagram. I.e. find illegal graphical diagram that need to be constrained...