views:

371

answers:

2

How to represent a .net class library and its classes in the Visio? To me, the Package and the Class seems to represent the library and classes respectively. Any suggestions?

+2  A: 
Tchami
Based on your explanation, the package and the class elements in the UI are logically associated as namespace and classes. I have these UI elements in the UML diagrams. How to graphically display the relationship between the namespace and classes?
pencilslate
See my update to the answer.
Tchami
+1  A: 

Modeling a library of classes in UML can be indeed done by modeling the library as a package and the classes in the library as UML classes belonging to the package. Then, classes will be identified by the combination PackageName::ClassName

To model this in Visio, once you have created the package, you can open model explorer, select the package and with the right button select new->class diagram.

Then a new class diagram will open. All classes created in that class diagram are automatically included as part of the package

Jordi Cabot