Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: bmains on November 16, 2007, 09:51:12 am
-
Hello,
I want to be able to break out a data model, with a lot of tables/columns/relationships, into separate models or views. Erwin has the ability to create subject areas, which can show only a subset of the tables in the model. Is it possible to display only a portion of a data model at a time, whether in a new diagram, or maybe even by hiding parts of it?
-
Sure,
Just create another diagram and drag the elements (classes, tables, whatever, depending on the diagram type) you want onto the diagram from the Project Browser tree.
What you will end up with is a new diagram, but the same elements (try control-drag to get an instance of an element instead). Since the elements on both diagrams are the same, changes in one will show up in the other. You can delete an element from one diagram without removing it from the model. [Delete it from the project tree, or use control-delete to remove it from the model and all diagrams.]
By default EA will show any connectors (of any kind) between any elements that are on the new diagram. You can selectively hide these if you choose; try right-clicking the connector in question and use the options under Set Visibility in the context menu, or investigate the Links tab of any element.
You can also drag a single 'central' element onto the new diagram, then right-click it and choose Add | Insert Related Elements from the context menu. This will give you a dialog that lets you decide how far out to go, and which kinds of relations to follow. When you accept the options the related elements and their connections will be added to your new diagram.
Is this what you mean?
David
-
Hello,
Yes, thanks for the information. That is very useful.
Thanks again.