What is the UML diagram representing for the structure of code?

穿精又带淫゛_ 提交于 2020-01-06 03:16:32

问题


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:



来源:https://stackoverflow.com/questions/36624697/what-is-the-uml-diagram-representing-for-the-structure-of-code

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!