27.06.2025
UML
Как обычно, новая тема - подборка ссылок.
- https://ru.wikipedia.org/wiki/UML
- https://en.wikipedia.org/wiki/List_of_Unified_Modeling_Language_tools
- https://www.modelio.org/
- https://en.wikipedia.org/wiki/Dia_(software)
- http://plantuml.com/
- https://plantuml.com/ru/emacs - очевидно, про plantuml в emacs.
- https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-plantuml.html – кажцо, не очень актуально.
- https://uml.sourceforge.io/index.php
- https://en.wikipedia.org/wiki/List_of_Unified_Modeling_Language_tools
- https://habr.com/ru/articles/738428/
- https://habr.com/ru/articles/458680/
- https://habr.com/ru/companies/alfa/articles/740518/, https://habr.com/ru/companies/alfa/articles/680556/
- https://habr.com/ru/articles/768232 - кое-что про выбор вида диаграммы и что может пойти не так.
- https://github.com/AbstProcDo/Master-Emacs-From-Scratch-with-Solid-Procedures/blob/master/Casting-spells-in-plantUML.org
- https://plantuml.com/ru/preprocessing - забавно, там минимально прогать можно. :)
- https://pdf.plantuml.net/PlantUML_Language_Reference_Guide_en.pdf – на английском. Можно читать параллельно с https://pdf.plantuml.net/PlantUML_Language_Reference_Guide_ru.pdf, в которой временами пропадает кириллица в примерах.
- https://plantuml.com/ru-dark/sequence-diagram – на русском про sequence-диаграммы.
- https://forum.plantuml.net/4336/state-diagram-the-state-cannot-be-used-here - «There are constraint with concurrent state : states from a concurrent state cannot have link with the outside. (This is because the concurrent state itself is build separately, in a temporary independant diagram).»
- https://habr.com/ru/articles/779672/ - картиночков диаграмм с комментариями.
- https://habr.com/ru/companies/X5Tech/articles/821687/ - про sequence диаграммы
- https://habr.com/ru/articles/840890/ - про то, что из всего UML практически только sequence-диаграммы имеют смысл, что начинать их делать лучше с основного пути, и что лучше не увлекаться детализацией – читаемость сгинет. В комментариях пишут, что используют и другие диаграммы, а также упоминают другие нотации. https://en.wikipedia.org/wiki/Swimlane (https://ru.wikipedia.org/wiki/Swim_lane) — одно из упомянутого.
- https://t.me/plant_uml – чатик по plantuml.
- https://habr.com/ru/articles/861900/ Не UML-диаграммы на PlantUML. Обзор с примерами
- https://plantuml.com/ru/preprocessing – про препроцессинг. Несмотря на ru в пути, вполне англоязычно.
про разные отображалки
- по умолчанию graphviz
- smetana – порт graphviz на java.
!pragma layout smetana
илиjava -jar plantuml.jar -Playout=smetana
. https://plantuml.com/ru/smetana02 - elk – https://plantuml.com/ru/elk. Требует этот самый elk скачать. Тогда аналогично
!pragma layout elk
или через опцию командной строкиjava -jar plantuml.jar -Playout=elk
. - vizjs – https://plantuml.com/ru/vizjs – порт graphviz на javascript. Здесь надо скачать чот дофига, потом you have to set up the GRAPHVIZ_DOT environment variable value to vizjs (or through the command line with -D flag or -graphvizdot flag). И типа должно заработать.
Синтаксис Activity diagram plantuml
while
@startuml while (check filesize) is (not empty) :read file; endwhile (empty) :close file; @enduml

Swimlanes
Даже с цветами. You can add if conditional or repeat or while loop within swimlanes.
@startuml |#pink|Actor_For_red| start if (color?) is (red) then #pink:**action red**; :foo1; else (not red) |#lightgray|Actor_For_no_red| #lightgray:**action not red**; :foo2; endif |Next_Actor| #lightblue:foo3; :foo4; |Final_Actor| #palegreen:foo5; stop @enduml

Все посты