我的源代码是:
@startuml
start
if (c1) then (YES)
:A;
else (NO)
if (C2) then (NO)
:A;
else (NO)
:C;
endif
endif
stop
@enduml
新的 plantUml 语法中似乎没有别名语法。我发现旧语法是 --> "some activity"as render
。
我如何引用相同的事件?
最佳答案
也许你看到了这个experimental feature已经?
@startuml
start
if (c1) then (YES)
label sp_lab0
label A
:A;
else (NO)
if (C2) then (NO)
label sp_lab1
goto A
else (NO)
:C;
endif
endif
stop
@enduml
关于plantuml - 如何在plantUML的事件图中使用别名?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51743362/