当前位置:网站首页>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 :
边栏推荐
- Apple added the first iPad with lightning interface to the list of retro products
- 服务器的内网可以访问,外网却不能访问的问题
- 【Sparse-to-Dense】《Sparse-to-Dense:Depth Prediction from Sparse Depth Samples and a Single Image》
- 程序的执行
- What if a new window always pops up when opening a folder on a laptop
- open3d学习笔记五【RGBD融合】
- Hystrix dashboard cannot find hystrix Stream solution
- Summary of open3d environment errors
- 联邦学习下的数据逆向攻击 -- GradInversion
- 超时停靠视频生成
猜你喜欢
Proof and understanding of pointnet principle
open3d学习笔记四【表面重建】
Mmdetection trains its own data set -- export coco format of cvat annotation file and related operations
包图画法注意规范
open3d学习笔记五【RGBD融合】
Label propagation
程序的执行
【Wing Loss】《Wing Loss for Robust Facial Landmark Localisation with Convolutional Neural Networks》
【MagNet】《Progressive Semantic Segmentation》
Command line is too long
随机推荐
【Paper Reading】
【雙目視覺】雙目矯正
[CVPR‘22 Oral2] TAN: Temporal Alignment Networks for Long-term Video
How do vision transformer work? [interpretation of the paper]
【Cascade FPD】《Deep Convolutional Network Cascade for Facial Point Detection》
TimeCLR: A self-supervised contrastive learning framework for univariate time series representation
Programmers can only be 35? The 74 year old programmer in the United States has been programming for 57 years and has not retired
Win10 solves the problem that Internet Explorer cannot be installed
超时停靠视频生成
【TCDCN】《Facial landmark detection by deep multi-task learning》
【FastDepth】《FastDepth:Fast Monocular Depth Estimation on Embedded Systems》
论文写作tip2
MoCO ——Momentum Contrast for Unsupervised Visual Representation Learning
[mixup] mixup: Beyond Imperial Risk Minimization
利用Transformer来进行目标检测和语义分割
Implementation of yolov5 single image detection based on onnxruntime
What if the notebook computer cannot run the CMD command
Look for we media materials from four aspects to ensure your creative inspiration
Open3d learning notes II [file reading and writing]
[binocular vision] binocular correction