如何解决当一个元素属于两个组时 UML 图中对象的交集
请告诉我如何在此代码中将 [VirtualService] 设为 VS,使其同时位于“Ingress”组和“Application”组中。事实证明,交集和组件 [VirtualService] 可以位于“入口”组中,也可以位于“应用程序”中,并且您在那里和那里都需要。请帮忙
@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
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。