当前位置:网站首页>Specification for package drawing
Specification for package drawing
2022-07-02 07:57:00 【Ren yabing】
About the explanation of package diagram
1. To clarify the relationship between packages
There are two kinds of relationship :
And the dependence :
use : Use relationship , Is a default dependency , Description customer package ( The sender ) Elements in use provider packages in some way ( The arrow points to the package ) The common elements of , That is, the client package depends on the provider package .
import: Reference relationship , The most common package dependency type , Description provider package ( The arrow points to the package ) The namespace of ( The package itself represents a namespace ) Will be added to the customer package ( The sender ) In the namespace of , Elements in the client package also have access to all common elements of the provider package .
access: Visit relationship , Just want to use the elements in the provider package , Instead of merging their namespaces, you should use this relationship .
trace: Retroactive relationship , Want to express the historical development of one package to another , You need to use 《trace》 Relationship to express .
2. The elements in the package :
class 、 Interface 、 artifacts 、 node 、 Collaboration 、 Use cases 、 Other packages or drawings
3. Principles of drawing package diagram :
Each package must have a unique package name
The elements in the package diagram must not exceed the six elements in the specification
Minimize the dependency between packages , Minimize... In each package public , protected Element number , Maximize in each package private Element number
The relationship between packages cannot have circular dependency
You can embed a sub package in the package
The package diagram shall reflect the hierarchical relationship between packages , A hierarchy of packages is placed on a diagram . In general , Just draw the package relationship at the first level
4. example :
边栏推荐
- 【DIoU】《Distance-IoU Loss:Faster and Better Learning for Bounding Box Regression》
- Correction binoculaire
- Comparison of chat Chinese corpus (attach links to various resources)
- Memory model of program
- 论文写作tip2
- Installation and use of image data crawling tool Image Downloader
- 【Batch】learning notes
- Deep learning classification Optimization Practice
- Open3d learning notes II [file reading and writing]
- CONDA common commands
猜你喜欢
【Sparse-to-Dense】《Sparse-to-Dense:Depth Prediction from Sparse Depth Samples and a Single Image》
Correction binoculaire
用全连接层替代掉卷积 -- RepMLP
利用超球嵌入来增强对抗训练
【Random Erasing】《Random Erasing Data Augmentation》
【Paper Reading】
程序的执行
Common machine learning related evaluation indicators
CVPR19-Deep Stacked Hierarchical Multi-patch Network for Image Deblurring论文复现
Nacos service registration in the interface
随机推荐
【Wing Loss】《Wing Loss for Robust Facial Landmark Localisation with Convolutional Neural Networks》
Embedding malware into neural networks
Open3d learning notes 1 [first glimpse, file reading]
Implementation of yolov5 single image detection based on onnxruntime
论文tips
Comparison of chat Chinese corpus (attach links to various resources)
Faster-ILOD、maskrcnn_ Benchmark installation process and problems encountered
【TCDCN】《Facial landmark detection by deep multi-task learning》
In the era of short video, how to ensure that works are more popular?
Command line is too long
【MnasNet】《MnasNet:Platform-Aware Neural Architecture Search for Mobile》
【Sparse-to-Dense】《Sparse-to-Dense:Depth Prediction from Sparse Depth Samples and a Single Image》
Feature Engineering: summary of common feature transformation methods
Pointnet understanding (step 4 of pointnet Implementation)
包图画法注意规范
[learning notes] matlab self compiled image convolution function
【FastDepth】《FastDepth:Fast Monocular Depth Estimation on Embedded Systems》
Apple added the first iPad with lightning interface to the list of retro products
【多模态】CLIP模型
Faster-ILOD、maskrcnn_ Benchmark training coco data set and problem summary