PlantUML, Перестановка колонн - PullRequest
0 голосов
/ 16 января 2020

следующий код дает мне расположение

[Клиент | Сервер | Облако]

Я хочу изменить расположение на

[Сервер | Облако | Клиент]

Как переставить столбцы диаграммы состояний?

@startuml
participant Client as "This is a Client"
participant Server as "This is a Server"
participant Cloud as "The big data Cloud"

Client -> Server : Request a\nHTML Document
Server -> Cloud : Get\nIngredients of content
Cloud -> Server : Deliver the\nXML content
Server -> Client : Send the \nHTML page
@enduml

enter image description here

1 Ответ

2 голосов
/ 16 января 2020

Как насчет размещения участников в другом заказе:

@startuml
participant Server as "This is a Server"
participant Cloud as "The big data Cloud"
participant Client as "This is a Client"

Client -> Server : Request a\nHTML Document
Server -> Cloud : Get\nIngredients of content
Cloud -> Server : Deliver the\nXML content
Server -> Client : Send the \nHTML page
@enduml

Смотрите результаты на веб-сервере plantuml: http://www.plantuml.com/plantuml/uml/NP312i8m38RlVOgmko-mWmmSgA0NtS73BdMDMs5hPvlw_AOimYOKKlv--H9QHTA1qZIgcQljxAmTmHt31mFe24Kps0Xyj8J51ZoCFXdX49ws1wD9B_4_QP7BHYbXePIyxlQ_qINSy9qmSaVhJitr0hNlqiIGMWXcPNe9HwJMdLqVq6HD1F-2pZlAzCAinJMEDjzemDOzs2peIYphbDpaJ0P1bfXrZwhYa7_i2m00

...