如何混合不同的 plantuml 图类型元素?

How to mix different plantuml diagram type elements?

我想在同一张渲染的 plantuml 图片中进行部署和排序。所以我尝试了以下但它不起作用,渲染显示了 A、B 和 C 的序列内容作为部署。

如何强制将 "A->B" 和 "B->C" 渲染为序列图内容?

@startuml
file main.c
note right: I want to have description text here

A -> B : main()
note left : program\nentry function
B -> C : load()
note left : another important function
@enduml

我想你需要稍后添加备注:

@startuml
title file main.c

A -> B : main()
note left : program\nentry function
B -> C : load()
note left : another important function

note right: I want to have description text here
@enduml

结果: