plantuml - 当一个元素属于两组时,UML图中的对象的交集
问题描述
请告诉我如何在此代码中将 [VirtualService] 设为 VS,以便它同时位于“Ingress”组和“Application”组中。事实证明,交集和组件 [VirtualService] 可以在“Ingress”组中,也可以在“Application”中,您需要在那里和那里。请帮忙
@startuml
' Remove shadows
skinparam shadowing false
skinparam BackgroundColor transparent
skinparam componentStyle rectangle
skinparam roundCorner 15
left to right direction
skinparam linetype polyline
skinparam linetype ortho
И3#transparent;line:transparent;text:transparent
rectangle "Кластер OpenShift" #MOTIVATION {
component "Точка входа" as TV #white{
[Rout] as ROUT #grey;text:white
И3->ROUT #blue
И3<..ROUT #blue
}
rectangle "OS Namespase" as OS #white {
component Application as PR #LightPink {
[VirtualService] as VS #grey;text:white
[App Service] as AS #grey;text:white
[App\nPod] as AP
}
component Ingress as IG #LightSkyBlue {
[Ingress\nService] as IS #grey;text:white
[Geteway)] as G #grey;text:white
[Ingress\nPod] as IP
[VirtualService] as VS #grey;text:white
}
component Приложение as PR #LightPink {
[VirtualService] as VS #grey;text:white
[App Service] as AS #grey;text:white
[App\nPod] as AP
}
}
}
ROUT ->IS #blue
ROUT <.. IS #blue
IS ->G #blue
IS <..G #blue
G->IP #blue
G<..IP #blue
IP->VS #blue
IP<..VS #blue
VS->AS #blue
VS<..AS #blue
AS->AP #blue
AS<..AP #blue
@enduml
解决方案
推荐阅读
- reactjs - React 需要在对 json 数组中的一个对象单击编辑时切换 div(打开/关闭)
- reactjs - Cesium 使用本地/离线 tileserver (TypeScript)
- flutter - 吸气剂“isEmpty”在 null 上被调用 - 相机颤动
- php - AppAuthenticator Symfony
- c++ - 如何使用 taocpp json 检查具有值类型数组的键
- oracle - 如何通过 Oracle 18c 中的用户定义过程访问 HR 模式对象?
- accelerometer - 使用 3 轴加速度计测量汽车速度
- hyperledger-fabric - 使用自己的 ca 服务器而不是 cryptogen 在策略中启用 Peer、Client、Admin 角色
- javascript - 我需要帮助了解 JavaScript 和 html5 的通信方式
- python-3.x - RuntimeError:cublas 运行时错误:资源分配失败