PlantUML: различия между версиями
Patarakin (обсуждение | вклад) |
Patarakin (обсуждение | вклад) |
||
Строка 68: | Строка 68: | ||
<uml> | <uml> | ||
@startuml | @startuml | ||
@enduml | |||
</uml> | |||
@startuml | |||
title Archimate Sample - Internet Browser | |||
' Elements | |||
Business_Object(businessObject, "A Business Object") | |||
Business_Process(someBusinessProcess,"Some Business Process") | |||
Business_Service(itSupportService, "IT Support for Business (Application Service)") | |||
Application_DataObject(dataObject, "Web Page Data \n 'on the fly'") | |||
Application_Function(webpageBehaviour, "Web page behaviour") | |||
Application_Component(ActivePartWebPage, "Active Part of the web page \n 'on the fly'") | |||
Technology_Artifact(inMemoryItem,"in memory / 'on the fly' html/javascript") | |||
Technology_Service(internetBrowser, "Internet Browser Generic & Plugin") | |||
Technology_Service(internetBrowserPlugin, "Some Internet Browser Plugin") | |||
Technology_Service(webServer, "Some web server") | |||
'Relationships | |||
Rel_Flow_Left(someBusinessProcess, businessObject, "") | |||
Rel_Serving_Up(itSupportService, someBusinessProcess, "") | |||
Rel_Specialization_Up(webpageBehaviour, itSupportService, "") | |||
Rel_Flow_Right(dataObject, webpageBehaviour, "") | |||
Rel_Specialization_Up(dataObject, businessObject, "") | |||
Rel_Assignment_Left(ActivePartWebPage, webpageBehaviour, "") | |||
Rel_Specialization_Up(inMemoryItem, dataObject, "") | |||
Rel_Realization_Up(inMemoryItem, ActivePartWebPage, "") | |||
Rel_Specialization_Right(inMemoryItem,internetBrowser, "") | |||
Rel_Serving_Up(internetBrowser, webpageBehaviour, "") | |||
Rel_Serving_Up(internetBrowserPlugin, webpageBehaviour, "") | |||
Rel_Aggregation_Right(internetBrowser, internetBrowserPlugin, "") | |||
Rel_Access_Up(webServer, inMemoryItem, "") | |||
Rel_Serving_Up(webServer, internetBrowser, "") | |||
@enduml | @enduml | ||
---- | ---- | ||
* [[Graphviz]] - лучше работает с русскими буковками | * [[Graphviz]] - лучше работает с русскими буковками | ||
* [[Archimate]] - возможность использовать все эти иконки внутри вики | * [[Archimate]] - возможность использовать все эти иконки внутри вики |
Версия 17:47, 21 июля 2022
https://crashedmind.github.io/PlantUMLHitchhikersGuide/
Не работают русские буковки внутри
Class
Диаграмма последовательности
Diagrams error (with plantuml command): Error line 1 in file: /home/d/digida/data/tmp/diagrams_in423a70f90cd8.plantuml
Some diagram description contains errors
@startuml
title Archimate Sample - Internet Browser
' Elements Business_Object(businessObject, "A Business Object") Business_Process(someBusinessProcess,"Some Business Process") Business_Service(itSupportService, "IT Support for Business (Application Service)")
Application_DataObject(dataObject, "Web Page Data \n 'on the fly'") Application_Function(webpageBehaviour, "Web page behaviour") Application_Component(ActivePartWebPage, "Active Part of the web page \n 'on the fly'")
Technology_Artifact(inMemoryItem,"in memory / 'on the fly' html/javascript") Technology_Service(internetBrowser, "Internet Browser Generic & Plugin") Technology_Service(internetBrowserPlugin, "Some Internet Browser Plugin") Technology_Service(webServer, "Some web server")
'Relationships Rel_Flow_Left(someBusinessProcess, businessObject, "") Rel_Serving_Up(itSupportService, someBusinessProcess, "") Rel_Specialization_Up(webpageBehaviour, itSupportService, "") Rel_Flow_Right(dataObject, webpageBehaviour, "") Rel_Specialization_Up(dataObject, businessObject, "") Rel_Assignment_Left(ActivePartWebPage, webpageBehaviour, "") Rel_Specialization_Up(inMemoryItem, dataObject, "") Rel_Realization_Up(inMemoryItem, ActivePartWebPage, "") Rel_Specialization_Right(inMemoryItem,internetBrowser, "") Rel_Serving_Up(internetBrowser, webpageBehaviour, "") Rel_Serving_Up(internetBrowserPlugin, webpageBehaviour, "") Rel_Aggregation_Right(internetBrowser, internetBrowserPlugin, "") Rel_Access_Up(webServer, inMemoryItem, "") Rel_Serving_Up(webServer, internetBrowser, "") @enduml