Fragster
@Fragster
помогло? отметь решением!

Как объединить узлы схемы plantuml?

Возник вопрос по мотивам статьи https://habr.com/post/416077/

6_hqzm3c15gdakgo58m4oqbm-i0.png

Очень хочется заменить три узла "choise one" на один.
Текущий код такой:
start
if (condition one) then (yes)
:choise one;
else (no)
if (condition two) then (no)
:choise one;
elseif (condition three) then (blank)
:choise one;
else (filled)
:choise two;
endif
endif
stop
  • Вопрос задан
  • 129 просмотров
Пригласить эксперта
Ответы на вопрос 1
@ilyarsoftware
!define choseOne :choise one;
!define choseTwo :choise two;

start
    if (condition one) then (yes)
        choseOne
    else (no)
        if (condition two) then (no)
            choseOne
        elseif (condition three) then (blank)
            choseOne
        else (filled)
            choseTwo
        endif
    endif
stop
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы