ã¢ã¯ãã£ããã£å³ã«ä½¿ç¨ããã¦ãã以åã®æ§æã«ã¯ãããã¤ãã®å¶éãä¿å®æ§ã®åé¡ãããã¾ããã
æ°ããæ§æã®å©ç¹
- Graphvizã«ä¾åããªãï¼* ã·ã¼ã±ã³ã¹å³ã¨åæ§ã«ãæ°ããæ§æã§ã¯Graphvizãã¤ã³ã¹ãã¼ã«ããå¿
è¦ããªããããã»ããã¢ããããã»ã¹ãç°¡ç´ åããã¾ãã
- ã¡ã³ããã³ã¹ã®å®¹æãï¼
æ°ã·ã³ã¿ãã¯ã¹ã¸ã®ç§»è¡
äºææ§ãç¶æãããããæ§ã·ã³ã¿ãã¯ã¹ãå¼ãç¶ããµãã¼ããã¾ãããå¼·åãããæ©è½ã¨å©ç¹ãæ´»ç¨ããããã«ãæ°ã·ã³ã¿ãã¯ã¹ã«ç§»è¡ãããã¨ãå¼·ããå§ããã¾ãã
- ä»ãã移è¡ãã¦ãæ°ããã¢ã¯ãã£ããã£å³ã®ã·ã³ã¿ãã¯ã¹ã§ãããåççã§å¹ççãªãã¤ã¢ã°ã©ã ä½æããã»ã¹ãä½é¨ãã¦ãã ãã ã
ã¢ã¯ãã£ããã£ã®ã©ãã«ã¯
:
ã§éå§ã
;
ã§çµäºãã¾ãã
ããã¹ãã®æ¸å¼è¨å®ã¯ã
Creoleè¨æ³ã®Wikiæ§æã使ç¨ãã¦è¡ããã¨ãã§ãã¾ãã
ãããã¯å®ç¾©é ã«æé»çã«ãªã³ã¯ããã¾ãã
ð Copied!
|
@startuml
:Hello world;
:This is defined on
several **lines**;
@enduml
|
å³ã®éå§ã¨çµäºã示ãããã«ããã¼ã¯ã¼ã
start
ã¨
stop
ã使ç¨ã§ãã¾ãã
ð Copied!
|
@startuml
start
:Hello world;
:This is defined on
several **lines**;
stop
@enduml
|
ãã¼ã¯ã¼ã
end
ãã¾ã使ç¨ã§ãã¾ãã
ð Copied!
|
@startuml
start
:Hello world;
:This is defined on
several **lines**;
end
@enduml
|
å³ã«æ¡ä»¶åå²ã追å ãããå ´åã¯ããã¼ã¯ã¼ã
if
ã
then
ããã¦
else
ã使ç¨ãããã¨ãã§ãã¾ããã©ãã«ã¯æ¬å¼§ã使ç¨ãããã¨ã§ä¸ãããã¨ãã§ãã¾ãã
3種é¡ã®æ§æã使ããã¨ãã§ãã¾ãã
ð Copied!
|
@startuml
start
if (Graphviz installed?) then (yes)
:process all\ndiagrams;
else (no)
:process only
__sequence__ and __activity__ diagrams;
endif
stop
@enduml
|
ð Copied!
|
@startuml
if (color?) is (<color:red>red) then
:print red;
else
:print not red;
@enduml
|
if (...) equals (...) then
ð Copied!
|
@startuml
if (counter?) equals (5) then
:print 5;
else
:print not 5;
@enduml
|
[Ref. QA-301]
è¤æ°æ¡ä»¶(æ°´å¹³ã¢ã¼ã)
ããã¤ãã®æ¡ä»¶åå²ãããå ´åã«ã¯ããã¼ã¯ã¼ã
elseif
ã使ç¨ã§ãã¾ãã(ããã©ã«ãã§æ°´å¹³ã¢ã¼ãã«ãªãã¾ã)ï¼
ð Copied!
|
@startuml
start
if (condition A) then (yes)
:Text 1;
elseif (condition B) then (yes)
:Text 2;
stop
(no) elseif (condition C) then (yes)
:Text 3;
(no) elseif (condition D) then (yes)
:Text 4;
else (nothing)
:Text else;
endif
stop
@enduml
|
è¤æ°æ¡ä»¶(åç´ã¢ã¼ã)
!pragma useVerticalIf on
ã³ãã³ãã使ç¨ããã¨ãåç´ã¢ã¼ãã®åå²ã«ãªãã¾ã:
ð Copied!
|
@startuml
!pragma useVerticalIf on
start
if (condition A) then (yes)
:Text 1;
elseif (condition B) then (yes)
:Text 2;
stop
elseif (condition C) then (yes)
:Text 3;
elseif (condition D) then (yes)
:Text 4;
else (nothing)
:Text else;
endif
stop
@enduml
|
ã³ãã³ãã©ã¤ã³ãªãã·ã§ã³
-P
ã使ç¨ãã¦pragmaãæå®ãããã¨ãã§ãã¾ãï¼
java -jar plantuml.jar -PuseVerticalIf=on
[Refs. QA-3931, issue-582]
[Refs. QA-3931, GH-582]
WARNING
 This translation need to be updated. WARNING
switch
,
case
,
endswitch
ãã¼ã¯ã¼ãã使ã£ã¦ãå³ã®ä¸ã«ã¹ã¤ãããå
¥ãããã¨ãã§ãã¾ãã
ã©ãã«ã¯æ¬å¼§ã使ã£ã¦æä¾ã§ãã¾ãã
ð Copied!
|
@startuml
start
switch (test?)
case ( condition A )
:Text 1;
case ( condition B )
:Text 2;
case ( condition C )
:Text 3;
case ( condition D )
:Text 4;
case ( condition E )
:Text 5;
endswitch
stop
@enduml
|
if ç¯å
ã§ã¢ã¯ã·ã§ã³ãåæ¢ã§ãã¾ãã
ð Copied!
|
@startuml
if (condition?) then
:error;
stop
endif
#palegreen:action;
@enduml
|
ãã ããæ確ãªã¢ã¯ã·ã§ã³ã§åæ¢ãããå ´åã¯ããã¼ã¯ã¼ããkillãã¾ãã¯ãdetachãã使ç¨ã§ãã¾ãï¼
ð Copied!
|
@startuml
if (condition?) then
#pink:error;
kill
endif
#palegreen:action;
@enduml
|
[Ref. QA-265]
ð Copied!
|
@startuml
if (condition?) then
#pink:error;
detach
endif
#palegreen:action;
@enduml
|
ç¹°ãè¿ãå¦çï¼å¾å¤å®ï¼ãããå ´åã«ã¯ããã¼ã¯ã¼ã
repeat
ã¨
repeat while
ã使ç¨ã§ãã¾ãã
ð Copied!
|
@startuml
start
repeat
:read data;
:generate diagrams;
repeat while (more data?)
stop
@enduml
|
ã¢ã¯ãã£ããã£ã
repeat
ã®æ»ãå
ã«ãããã¨ãã§ãã¾ããã¾ãã
backward
ãã¼ã¯ã¼ãã使ç¨ãã¦ãæ»ãã®ãã¹ã«ã¢ã¯ãã£ããã£ãæ¿å
¥ãããã¨ãã§ãã¾ãã
ð Copied!
|
@startuml
start
repeat :foo as starting label;
:read data;
:generate diagrams;
backward:This is backward;
repeat while (more data?)
stop
@enduml
|
[Ref. QA-5826]
WARNING
 This translation need to be updated. WARNING
ã¢ã¯ã·ã§ã³ã®å¾ã§
break
ãã¼ã¯ã¼ãã使ãã¨ãã«ã¼ããä¸æãããã¨ãã§ãã¾ãã
ð Copied!
|
@startuml
start
repeat
:Test something;
if (Something went wrong?) then (no)
#palegreen:OK;
break
endif
->NOK;
:Alert "Error with long text";
repeat while (Something went wrong with long text?) is (yes) not (no)
->//merged step//;
:Alert "Success";
stop
@enduml
|
[Ref. QA-6105]
â It is currently only experimental ð§
You can use
label
and
goto
keywords to denote goto processing, with:
label <label_name>
goto <label_name>
ð Copied!
|
@startuml
title Point two queries to same activity\nwith `goto`
start
if (Test Question?) then (yes)
'space label only for alignment
label sp_lab0
label sp_lab1
'real label
label lab
:shared;
else (no)
if (Second Test Question?) then (yes)
label sp_lab2
goto sp_lab1
else
:nonShared;
endif
endif
:merge;
@enduml
|
[Ref. QA-15026, QA-12526 and initially QA-1626]
ç¹°ãè¿ãå¦çï¼åå¤å®ï¼ãããå ´åã«ã¯ããã¼ã¯ã¼ã
while
ã¨
endwhile
ã使ç¨ã§ãã¾ãã
ð Copied!
|
@startuml
start
while (data available?)
:read data;
:generate diagrams;
endwhile
stop
@enduml
|
ãã¼ã¯ã¼ã
endwhile
ã®å¾ããã¾ãã¯ã ãã¼ã¯ã¼ã
is
ã使ç¨ãããã¨ã§ãã©ãã«ãä¸ãããã¨ãã§ãã¾ãã
ð Copied!
|
@startuml
while (check filesize ?) is (not empty)
:read file;
endwhile (empty)
:close file;
@enduml
|
detach
ã使ç¨ãã¦ç¡éã«ã¼ããä½ãå ´åã¯ã
-[hidden]->
ã使ç¨ãã¦ä¸è¦ãªç¢å°ãé ãã¨è¯ãã§ãããã
ð Copied!
|
@startuml
:Step 1;
if (condition1) then
while (loop forever)
:Step 2;
endwhile
-[hidden]->
detach
else
:end normally;
stop
endif
@enduml
|
WARNING
 This translation need to be updated. WARNING
ãã¼ã¯ã¼ã
fork
ã
fork again
ããã¦
end fork
ã¾ãã¯
end merge
ã使ç¨ãã¦ã並åå¦çãè¨è¿°ãããã¨ãã§ãã¾ãã
åç´ãªfork
ð Copied!
|
@startuml
start
fork
:action 1;
fork again
:action 2;
end fork
stop
@enduml
|
end merge
ã使ã£ãfork
ð Copied!
|
@startuml
start
fork
:action 1;
fork again
:action 2;
end merge
stop
@enduml
|
[Ref. QA-5320]
ð Copied!
|
@startuml
start
fork
:action 1;
fork again
:action 2;
fork again
:action 3;
fork again
:action 4;
end merge
stop
@enduml
|
ð Copied!
|
@startuml
start
fork
:action 1;
fork again
:action 2;
end
end merge
stop
@enduml
|
[Ref. QA-13731]
end fork
ã®ã©ãã«ãã¾ãã¯joinä»æ§(UML joinspec):
ð Copied!
|
@startuml
start
fork
:action A;
fork again
:action B;
end fork {or}
stop
@enduml
|
ð Copied!
|
@startuml
start
fork
:action A;
fork again
:action B;
end fork {and}
stop
@enduml
|
[Ref. QA-5346]
ãã®ä»ã®ä¾
ð Copied!
|
@startuml
start
if (multiprocessor?) then (yes)
fork
:Treatment 1;
fork again
:Treatment 2;
end fork
else (monoproc)
:Treatment 1;
:Treatment 2;
endif
@enduml
|
Split
split
ã
split again
ã
end split
ãã¼ã¯ã¼ãã使ã£ã¦ãããã»ã¹ã®åå²ã表ããã¨ãã§ãã¾ãã
ð Copied!
|
@startuml
start
split
:A;
split again
:B;
split again
:C;
split again
:a;
:b;
end split
:D;
end
@enduml
|
å
¥åã®åå²(è¤æ°éå§)
å
¥åã®åå²ã表ç¾ããã«ã¯ã
hidden
ã§ç¢å°ãé ãã¾ãã
ð Copied!
|
@startuml
split
-[hidden]->
:A;
split again
-[hidden]->
:B;
split again
-[hidden]->
:C;
end split
:D;
@enduml
|
ð Copied!
|
@startuml
split
-[hidden]->
:A;
split again
-[hidden]->
:a;
:b;
split again
-[hidden]->
(Z)
end split
:D;
@enduml
|
[Ref. QA-8662]
åºåã®åå²(è¤æ°çµäº)
åºåã®åå²ã表ç¾ããã«ã¯ã
kill
ã¾ãã¯
detach
ã使ç¨ãã¾ãã
ð Copied!
|
@startuml
start
split
:A;
kill
split again
:B;
detach
split again
:C;
kill
end split
@enduml
|
ð Copied!
|
@startuml
start
split
:A;
kill
split again
:b;
:c;
detach
split again
(Z)
detach
split again
end
split again
stop
end split
@enduml
|
Creole表è¨ã®Wikiæ§æã使ç¨ãããã¨ã§ãããã¹ãã®æ¸å¼è¨å®ãã§ãã¾ãã
ãã¼ã¯ã¼ã
floating
ã使ç¨ãã注éãéé¢ããããã¨ãã§ãã¾ãã
ð Copied!
|
@startuml
start
:foo1;
floating note left: This is a note
:foo2;
note right
This note is on several
//lines// and can
contain <b>HTML</b>
====
* Calling the method ""foo()"" is prohibited
end note
stop
@enduml
|
æ»ãæ¹å(backward)ã®ã¢ã¯ãã£ããã£ã«æ³¨éãã¤ãããã¨ãã§ãã¾ãã
ð Copied!
|
@startuml
start
repeat :Enter data;
:Submit;
backward :Warning;
note right: Note
repeat while (Valid?) is (No) not (Yes)
stop
@enduml
|
ãã¼ãã£ã·ã§ã³ã«ãã¼ãã追å ãããã¨ãã§ãã¾ãã
ð Copied!
|
@startuml
start
partition "**process** HelloWorld" {
note
This is my note
----
//Creole test//
end note
:Ready;
:HelloWorld(i)>
:Hello-Sent;
}
@enduml
|
[Ref. QA-2398]
åã¢ã¯ãã£ããã£ã«ã
è²ãæå®ãããã¨ãã§ãã¾ãã
ð Copied!
|
@startuml
start
:starting progress;
#HotPink:reading configuration files
These files should edited at this point!;
#AAAAAA:ending of the process;
@enduml
|
ã°ã©ãã¼ã·ã§ã³ã使ç¨ãããã¨ãã§ãã¾ãã
ð Copied!
|
@startuml
start
partition #red/white testPartition {
#blue\green:testActivity;
}
@enduml
|
[Ref. QA-4906]
skinparam ArrowHeadColor none
ãæå®ããã¨ãã¢ã¯ãã£ããã£ã®æ¥ç¶ç·ãç¢å°ç¡ãã«ãããã¨ãã§ãã¾ãã
ð Copied!
|
@startuml
skinparam ArrowHeadColor none
start
:Hello world;
:This is on defined on
several **lines**;
stop
@enduml
|
ð Copied!
|
@startuml
skinparam ArrowHeadColor none
start
repeat :Enter data;
:Submit;
backward :Warning;
repeat while (Valid?) is (No) not (Yes)
stop
@enduml
|
è¨å·
->
ãç¨ãã¦ãç¢å°ã«ããã¹ããæ·»ãããã¨ãã§ããã¾ãã
è²ãå¤ãããã¨ãã§ãã¾ãã
ç¹ç·ãç ´ç·ã太ç·ãã¾ãã¯ãç¢å°ãªãããã¾ãå¯è½ã§ãã
ð Copied!
|
@startuml
:foo1;
-> You can put text on arrows;
if (test) then
-[#blue]->
:foo2;
-[#green,dashed]-> The text can
also be on several lines
and **very** long...;
:foo3;
else
-[#black,dotted]->
:foo4;
endif
-[#gray,bold]->
:foo5;
@enduml
|
åè§æ¬å¼§ã使ç¨ãã¦ãã³ãã¯ã¿ãè¨è¿°ãããã¨ãã§ãã¾ãã
ð Copied!
|
@startuml
start
:Some activity;
(A)
detach
(A)
:Other activity;
@enduml
|
ã³ãã¯ã¿ã«
è²ãè¨å®ãããã¨ãã§ãã¾ãã
ð Copied!
|
@startuml
start
:The connector below
wishes he was blue;
#blue:(B)
:This next connector
feels that she would
be better off green;
#green:(G)
stop
@enduml
|
[Ref. QA-10077]
ã°ã«ã¼ã
ã°ã«ã¼ããå®ç¾©ãã¦è¤æ°ã®ã¢ã¯ãã£ããã£ãã¾ã¨ãããã¨ãã§ãã¾ã:
ð Copied!
|
@startuml
start
group Initialization
:read config file;
:init internal variable;
end group
group Running group
:wait for user interaction;
:print information;
end group
stop
@enduml
|
ãã¼ãã£ã·ã§ã³
ãã¼ãã£ã·ã§ã³ãå®ç¾©ãã¦è¤æ°ã®ã¢ã¯ãã£ããã£ãã¾ã¨ãããã¨ãã§ãã¾ã:
ð Copied!
|
@startuml
start
partition Initialization {
:read config file;
:init internal variable;
}
partition Running {
:wait for user interaction;
:print information;
}
stop
@enduml
|
ãã¼ãã£ã·ã§ã³ã®
è²ãå¤æ´ãããã¨ãã§ãã¾ã:
ð Copied!
|
@startuml
start
partition #lightGreen "Input Interface" {
:read config file;
:init internal variable;
}
partition Running {
:wait for user interaction;
:print information;
}
stop
@enduml
|
[Ref. QA-2793]
ãã¼ãã£ã·ã§ã³ã«
ãªã³ã¯ã追å ãããã¨ãã§ãã¾ã:
ð Copied!
|
@startuml
start
partition "[[http://plantuml.com partition_name]]" {
:read doc. on [[http://plantuml.com plantuml_website]];
:test diagram;
}
end
@enduml
|
[Ref. QA-542]
ã°ã«ã¼ãããã¼ãã£ã·ã§ã³ãããã±ã¼ã¸ãåè§å½¢ãã«ã¼ã
- ã°ã«ã¼ãï¼groupï¼ã
- ãã¼ãã£ã·ã§ã³ï¼partitionï¼ã
- ããã±ã¼ã¸ï¼packageï¼ã
- åè§å½¢ï¼rectangleï¼ã
- ã«ã¼ãï¼cardï¼
ãå®ç¾©ãã¦è¤æ°ã®ã¢ã¯ãã£ããã£ãã¾ã¨ãããã¨ãã§ãã¾ã:
ð Copied!
|
@startuml
start
group Group
:Activity;
end group
floating note: Note on Group
partition Partition {
:Activity;
}
floating note: Note on Partition
package Package {
:Activity;
}
floating note: Note on Package
rectangle Rectangle {
:Activity;
}
floating note: Note on Rectangle
card Card {
:Activity;
}
floating note: Note on Card
end
@enduml
|
ãã¤ãè¨å·
|
ãç¨ãã¦ãè¤æ°ã®ã¹ã¤ã ã¬ã¼ã³ãå®ç¾©ãããã¨ãã§ãã¾ãã
ããã«ãã¹ã¤ã ã¬ã¼ã³æ¯ã«
è²ãå¤ãããã¨ãã§ãã¾ãã
ð Copied!
|
@startuml
|Swimlane1|
start
:foo1;
|#AntiqueWhite|Swimlane2|
:foo2;
:foo3;
|Swimlane1|
:foo4;
|Swimlane2|
:foo5;
stop
@enduml
|
ã¹ã¤ã ã¬ã¼ã³ã®ä¸ã§ã
if
æ¡ä»¶æã
repeat
ã
while
ã®ã«ã¼ãã使ç¨ã§ãã¾ãã
ð Copied!
|
@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
|
次ã®æ§æã§ãã¹ã¤ã ã¬ã¼ã³ã«å¥åï¼
alias
ï¼ãä»ãããã¨ãã§ãã¾ãã
|[#<color>|]<swimlane_alias>| <swimlane_title>
ð Copied!
|
@startuml
|#palegreen|f| fisherman
|c| cook
|#gold|e| eater
|f|
start
:go fish;
|c|
:fry fish;
|e|
:eat fish;
stop
@enduml
|
[Ref. QA-2681]
ãã¼ã¯ã¼ã
detach
ã¾ãã¯
kill
ã使ç¨ãã¦ãç¢å°ãåãé¤ããã¨ãã§ãã¾ãã
ð Copied!
|
@startuml
:start;
fork
:foo1;
:foo2;
fork again
:foo3;
detach
endfork
if (foo4) then
:foo5;
detach
endif
:foo6;
detach
:foo7;
stop
@enduml
|
ð Copied!
|
@startuml
:start;
fork
:foo1;
:foo2;
fork again
:foo3;
kill
endfork
if (foo4) then
:foo5;
kill
endif
:foo6;
kill
:foo7;
stop
@enduml
|
çµç«¯è¨å·
;
ãç½®ãæãããã¨ã§ãã¢ã¯ãã£ããã£ã®è¡¨ç¾å½¢å¼ãå¤ãããã¨ãã§ãã¾ãï¼
ð Copied!
|
@startuml
:Ready;
:next(o)|
:Receiving;
split
:nak(i)<
:ack(o)>
split again
:ack(i)<
:next(o)
on several lines|
:i := i + 1]
:ack(o)>
split again
:err(i)<
:nak(o)>
split again
:foo/
split again
:bar\\
split again
:i > 5}
stop
end split
:finish;
@enduml
|
WARNING
 This translation need to be updated. WARNING
ð Copied!
|
@startuml
start
:ClickServlet.handleRequest();
:new page;
if (Page.onSecurityCheck) then (true)
:Page.onInit();
if (isForward?) then (no)
:Process controls;
if (continue processing?) then (no)
stop
endif
if (isPost?) then (yes)
:Page.onPost();
else (no)
:Page.onGet();
endif
:Page.onRender();
endif
else (false)
endif
if (do redirect?) then (yes)
:redirect process;
else
if (do forward?) then (yes)
:Forward request;
else (no)
:Render page template;
endif
endif
stop
@enduml
|
insideã¹ã¿ã¤ã«(ããã©ã«ã)
ð Copied!
|
@startuml
skinparam conditionStyle inside
start
repeat
:act1;
:act2;
repeatwhile (<b>end)
:act3;
@enduml
|
ð Copied!
|
@startuml
start
repeat
:act1;
:act2;
repeatwhile (<b>end)
:act3;
@enduml
|
diamondã¹ã¿ã¤ã«
ð Copied!
|
@startuml
skinparam conditionStyle diamond
start
repeat
:act1;
:act2;
repeatwhile (<b>end)
:act3;
@enduml
|
InsideDiamond (ã¾ãã¯foo1)ã¹ã¿ã¤ã«
ð Copied!
|
@startuml
skinparam conditionStyle InsideDiamond
start
repeat
:act1;
:act2;
repeatwhile (<b>end)
:act3;
@enduml
|
ð Copied!
|
@startuml
skinparam conditionStyle foo1
start
repeat
:act1;
:act2;
repeatwhile (<b>end)
:act3;
@enduml
|
[Ref. QA-1290 and #400]
diamondã¹ã¿ã¤ã«(ããã©ã«ã)
ð Copied!
|
@startuml
skinparam ConditionEndStyle diamond
:A;
if (decision) then (yes)
:B1;
else (no)
endif
:C;
@enduml
|
- åå²ãï¼ã¤(
B1
, B2
)ã®å ´å
ð Copied!
|
@startuml
skinparam ConditionEndStyle diamond
:A;
if (decision) then (yes)
:B1;
else (no)
:B2;
endif
:C;
@enduml
@enduml
|
æ°´å¹³ã©ã¤ã³(hline)ã¹ã¿ã¤ã«
ð Copied!
|
@startuml
skinparam ConditionEndStyle hline
:A;
if (decision) then (yes)
:B1;
else (no)
endif
:C;
@enduml
|
- åå²ãï¼ã¤(
B1
, B2
)ã®å ´å
ð Copied!
|
@startuml
skinparam ConditionEndStyle hline
:A;
if (decision) then (yes)
:B1;
else (no)
:B2;
endif
:C;
@enduml
@enduml
|
[Ref. QA-4015]
ã¹ã¿ã¤ã«ç¡ã(ããã©ã«ã)
ð Copied!
|
@startuml
start
:init;
-> test of color;
if (color?) is (<color:red>red) then
:print red;
else
:print not red;
note right: no color
endif
partition End {
:end;
}
-> this is the end;
end
@enduml
|
ã¹ã¿ã¤ã«æã
ã¹ã¿ã¤ã«ãæå®ãã¦è¦ç´ ã®è¦ãç®ãå¤æ´ãããã¨ãã§ãã¾ãã
ð Copied!
|
@startuml
<style>
activityDiagram {
BackgroundColor #33668E
BorderColor #33668E
FontColor #888
FontName arial
diamond {
BackgroundColor #ccf
LineColor #00FF00
FontColor green
FontName arial
FontSize 15
}
arrow {
FontColor gold
FontName arial
FontSize 15
}
partition {
LineColor red
FontColor green
RoundCorner 10
BackgroundColor PeachPuff
}
note {
FontColor Blue
LineColor Navy
BackgroundColor #ccf
}
}
document {
BackgroundColor transparent
}
</style>
start
:init;
-> test of color;
if (color?) is (<color:red>red) then
:print red;
else
:print not red;
note right: no color
endif
partition End {
:end;
}
-> this is the end;
end
@enduml
|