将活动和组成图合并在plantuml中

发布于 2025-01-18 08:18:27 字数 221 浏览 2 评论 0原文

我想展示活动与组件之间的关系(以便管理人员理解:-))。是否可以在Plantuml中实现类似的东西?

I want to show the relationship between activities and components (so that managers would understand :-)). Is it possible to achieve something like this in PlantUML?

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

不必你懂 2025-01-25 08:18:27

您没有说是活动还是状态图。

有可能使用状态图当您出于某种原因而允许mixing时,这是一个错误吗?

@startuml
hide empty description
allowmixing

state A
state B
state C
A --> B
B --> C

component "Component" as Comp
B .right. Comp

@enduml

zg3min4klmll1wkeuykztdn3dgla9jksjcse61huyjjk -jxj-xdcqdx9-w40“ rel =” nofollow noreferrer“>

You didn't say if it was an activity or a state diagram.

It's possible with a state diagram (however, the hide empty description won't work when you allowmixing for some reason -- it's a bug?):

@startuml
hide empty description
allowmixing

state A
state B
state C
A --> B
B --> C

component "Component" as Comp
B .right. Comp

@enduml

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文