Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: mike519 on January 02, 2012, 07:32:56 pm
-
Using reverse engineering from java source code, I get generated UML diagram for every package (directory). However I need a total UML diagram. For sepaeated diagrams, some inherit relation of classes were lost.
Can EA provide such capability? :-[
-
Hi,
It's not because the relation is not show on a diagram that is has been lost.
In general the only usage of a class diagram that contains ALL of your classes is to use as wallpaper.
Geert
-
I just expect a total diagram for a project which discribes the total relations of all classes. Even if the diagram has to be separated to several diagrams (e.g., several tiers, like data flow diagrams) because it is too big, the relations of classes should not be lost.
Plotting classes diagram in terms of package has no much meaning for me. For example, Date in java.util has no relations with other classes in that package. While Date, Time in java.sql are inherited from it. I needs classes diagram across package.
Could you please give me some suggestions?
-
I just expect a total diagram for a project which discribes the total relations of all classes. Even if the diagram has to be separated to several diagrams (e.g., several tiers, like data flow diagrams) because it is too big, the relations of classes should not be lost.
They aren't: relationships exist in the model even if neither related element is on a diagram.
Plotting classes diagram in terms of package has no much meaning for me. For example, Date in java.util has no relations with other classes in that package. While Date, Time in java.sql are inherited from it. I needs classes diagram across package.
Could you please give me some suggestions?
Drop a class from the Project Browser onto an empty diagram, right click the class and select Add > Related Elements.
And for that big wallpaper diagram that Geert mentioned, select all the classes in the Project Browser and drop them all onto an empty class diagram, then View > Diagram Layout.
-
Thank you! I tried your method. "Add > Related Elements" limits to max 5 layers for imported components. Although I can add related elements for arbitrary class to avoid the limitation, I hope EA can provide unlimited option.
For Geert's method, I don't know how to select all classes across different package.