Having achieved a transform of the objects in my Domain Object diagram to the Class model, (see
http://www.sparxsystems.com/cgi-bin/yabb/YaBB.pl?board=general;action=display;num=1191600949;start=0 ), I am building some Class diagrams.
The Domain diagram was attributes and no operations since this current application is mostly one that deals with storing data with complex linkages rather than anything that is a complex operation. Thus, most of the operations are either implied by the attributes or are implied by the implementation requirements. In the Class diagrams, though, I would like to show the operations, both the generated getters and setters and the others that we will need since we will be generating code at least in part directly from EA.
In this class model, there is a *lot* of connectivity ... just the nature of the problem space. In particular, there are two classes that are connected to just about everything. This made for some interesting drawing challenges in the Domain model, helped considerably by defining stereotypes for those two relationships so that I could give the connectors distinctive colors.
Because of the addition of the operations, I don't really want to draw one diagram of the whole thing now since I like to print things on letter paper. Maybe if my C sized printer were behaving itself, I would consider it, but it's not. So, I am drawing a series of diagrams, each focused on a different primary class so that one can see the relationships of that class to everything it connects to.
This brings up the first question. When I drop in one of those heavily connected classes, it naturally shows connections to just about everything else in the diagram. This is distracting since it isn't the focus of that diagram. The one way I have found to control this is Right Click, Set Visibility, Hide Connector. Is this the best way to do this and is it considered kosher?
The second question is that there are a certain number of association classes in this model. E.g., A and B might be linked with an association that has an association class called something like ABRelationship in order to provide attributes to the relationship. In the Class diagram, when I put A and B in a diagram together, an association appears as expected, but without the association class. If I think add the association class to the diagram, it shows no relationship to A, B, or the association between them. It is as if it has forgotten its role in the transformation.
So, is this expected and how do I reconnect it? Quick Link doesn't seem to want to connect to the connector.