For example, if your standards say that you can only have a Component (Element) model like this:
… with some relationships which are allowed to exist between instances of these components – that’s why we draw the relationships. If we create some instances of these components, they must obey these rules.
But there is nothing in EA which enforces these rules. You can associate any component instance with any other one.
Model Expert can help you to check this.
EA will let us create an invalid instance diagram like this:
…which breaks two of the rules in the Component model:
There is no connection between between Component1 and Component3
Any instance of Component2 must be linked to 1 or more Component 3s
Checking with Model Expert
Right-click on the diagram, and choose Model Expert / Check diagram, and pick the ‘instance diagram’ option.
Model Expert will produce the following:
We know there are lots of other ways in which Model Expert could validate instance diagrams, so please contact us with your suggestions.
Note: if a diagram contains a mixture of instances and elements, and you choose to analyze the instances, any elements will be ignored.