What is the UML diagram representing for the struc

2019-07-23 13:36发布

问题:

My source code is designed in a MVC structure as follow:

project
   |
   |-- Model
   |     |- data1, data2, data3, ...
   |
   |-- View
   |     |- view1, view2, view3, ...
   |
   |-- Controller
   |     |- controller1, controller2, ...
   |
   |-- Service
   |     |- webservice, socketservice, ...
   |
   |-- Utils
   |     |- customUI, commonLib, XMLHandler, ...
   |
   |-- Resources
   |     |- fonts, images, ...
   |
   |-- Deployment
   |     |- MSI setup, dependencies, ...
   |

Is there any UML diagram type to represent the above structure? Thanks.

回答1:

Site-map diagrams can serve this kind of requirements. there are several tools available one of the online tool you can consider is site-map




回答2:

Assuming you want to show the files, you can use a simple package diagram with objects inside that represent the single files:



标签: uml