Skip to content

Instantly share code, notes, and snippets.

@kohashi
Created August 11, 2020 02:00
Show Gist options
  • Select an option

  • Save kohashi/3283c702320962dbc8ab89e6b2df2f7c to your computer and use it in GitHub Desktop.

Select an option

Save kohashi/3283c702320962dbc8ab89e6b2df2f7c to your computer and use it in GitHub Desktop.
# PlantUML Editor
1. select template
2. write uml diagram
@startuml
(*) --> "ドラフト"
partition 審査 {
(*) --> == review ==
"ドラフト" -->[審査提出] == review ==
== review == --> "審査中"
if "審査中" then
-->[ok] "審査完了"
"審査完了" --> == review_end ==
else
-->[ng] "却下"
"却下" --> == review_end ==
endif
}
== review_end == -down-> [Camp.次第で\n配信開始] "配信可"
"配信可" --> [停止] "停止中"
"停止中" --> "アーカイブ"
"配信可" --> "アーカイブ"
== review_end == --> "アーカイブ"
"停止中" -up-> [変更] == review ==
"配信可" -up-> [変更] == review ==
@enduml
Display the source blob
Display the rendered blob
Raw
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="912px" preserveAspectRatio="none" style="width:271px;height:912px;" version="1.1" viewBox="0 0 271 912" width="271px" zoomAndPan="magnify"><defs><filter height="300%" id="f1sgovyqpoc1qt" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><!--MD5=[213421d2f442bb5494cf374181c826a4]
cluster 審査--><polygon fill="#FFFFFF" filter="url(#f1sgovyqpoc1qt)" points="14,145,50,145,57,167.2969,162,167.2969,162,646,14,646,14,145" style="stroke: #000000; stroke-width: 1.5;"/><line style="stroke: #000000; stroke-width: 1.5;" x1="14" x2="57" y1="167.2969" y2="167.2969"/><text fill="#000000" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="30" x="18" y="159.9951">審査</text><rect fill="#000000" filter="url(#f1sgovyqpoc1qt)" height="8" style="stroke: none; stroke-width: 1.0;" width="80" x="74" y="172"/><rect fill="#FEFECE" filter="url(#f1sgovyqpoc1qt)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="56" x="86" y="263"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="36" x="96" y="284.1387">審査中</text><polygon fill="#FEFECE" filter="url(#f1sgovyqpoc1qt)" points="114,380,126,392,114,404,102,392,114,380" style="stroke: #A80036; stroke-width: 1.5;"/><rect fill="#FEFECE" filter="url(#f1sgovyqpoc1qt)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="68" x="22" y="513"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="48" x="32" y="534.1387">審査完了</text><rect fill="#000000" filter="url(#f1sgovyqpoc1qt)" height="8" style="stroke: none; stroke-width: 1.0;" width="80" x="40" y="630"/><rect fill="#FEFECE" filter="url(#f1sgovyqpoc1qt)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="44" x="110" y="513"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="24" x="120" y="534.1387">却下</text><ellipse cx="112" cy="18" fill="#000000" filter="url(#f1sgovyqpoc1qt)" rx="10" ry="10" style="stroke: none; stroke-width: 1.0;"/><rect fill="#FEFECE" filter="url(#f1sgovyqpoc1qt)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="68" x="46" y="69"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="48" x="56" y="90.1387">ドラフト</text><rect fill="#FEFECE" filter="url(#f1sgovyqpoc1qt)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="56" x="119" y="705"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="36" x="129" y="726.1387">配信可</text><rect fill="#FEFECE" filter="url(#f1sgovyqpoc1qt)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="56" x="151" y="793"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="36" x="161" y="814.1387">停止中</text><rect fill="#FEFECE" filter="url(#f1sgovyqpoc1qt)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="80" x="80" y="868"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="60" x="90" y="889.1387">アーカイブ</text><!--MD5=[7a5fd69c505ca1512c0528ad950bb6a3]
link start to ドラフト--><path d="M107.6843,27.1708 C103.2565,36.5799 96.2037,51.5672 90.325,64.0593 " fill="none" id="start-&gt;ドラフト" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="88.0549,68.8833,95.5063,62.4431,90.1839,64.3592,88.2678,59.0367,88.0549,68.8833" style="stroke: #A80036; stroke-width: 1.0;"/><!--MD5=[b237dc98430a8e3e8d6a1513258b06c0]
link start to review--><path d="M115.6963,27.6136 C123.0108,47.9157 137.9621,96.6148 130,137 C127.8836,147.7345 122.7825,159.2319 118.9045,166.9403 " fill="none" id="start-&gt;review" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="116.4668,171.6156,124.1745,165.4844,118.7784,167.182,117.0808,161.7859,116.4668,171.6156" style="stroke: #A80036; stroke-width: 1.0;"/><!--MD5=[e59adee9bbde749d9816f6e9d88677a1]
link ドラフト to review--><path d="M78.4723,103.0753 C78.173,113.2467 78.8823,126.23 83,137 C87.6911,149.2698 97.7269,160.7077 105.1146,167.9822 " fill="none" id="ドラフト-&gt;review" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="108.8957,171.5741,105.1253,162.4755,105.2705,168.1305,99.6156,168.2758,108.8957,171.5741" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="44" x="84" y="134.2104">審査提出</text><!--MD5=[510ece282b4ca311e9c4fa8c7b3d46fd]
link review to 審査中--><path d="M114,180.4687 C114,193.5359 114,232.3361 114,257.4546 " fill="none" id="review-&gt;審査中" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="114,262.5927,118,253.5927,114,257.5927,110,253.5927,114,262.5927" style="stroke: #A80036; stroke-width: 1.0;"/><!--MD5=[40cbb8ae8ded99f6dc82fa8aac56745d]
link 審査中 to #90756--><path d="M114,297.0104 C114,317.9963 114,353.4849 114,374.6334 " fill="none" id="審査中-&gt;#90756" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="114,379.6836,118,370.6836,114,374.6836,110,370.6836,114,379.6836" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="33" x="73.3688" y="369.6088">審査中</text><!--MD5=[1febb3ce1653347f332908e71db281fb]
link #90756 to 審査完了--><path d="M110.3718,400.6325 C101.4735,421.8045 78.3445,476.8355 65.3003,507.8717 " fill="none" id="#90756-&gt;審査完了" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="63.2971,512.638,70.4719,505.891,65.2345,508.0286,63.0968,502.7912,63.2971,512.638" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="13" x="86" y="469.2104">ok</text><!--MD5=[7895a47ed0af822e5c0e0709503d5ec9]
link 審査完了 to review_end--><path d="M59.9631,547.1735 C65.0827,569.3583 73.8142,607.195 77.8446,624.6598 " fill="none" id="審査完了-&gt;review_end" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="79.0191,629.7496,80.8929,620.0806,77.8948,624.8776,73.0978,621.8795,79.0191,629.7496" style="stroke: #A80036; stroke-width: 1.0;"/><!--MD5=[0c05738a26fd6e32bd17baf20f6909c6]
link #90756 to 却下--><path d="M115.4124,402.8286 C118.3582,425.4129 125.2081,477.9286 129.1218,507.934 " fill="none" id="#90756-&gt;却下" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="129.7703,512.9054,132.5723,503.4635,129.1234,507.9474,124.6396,504.4985,129.7703,512.9054" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="125" y="469.2104">ng</text><!--MD5=[960c8e21b710dea8967bc8d31e6d6c3f]
link 却下 to review_end--><path d="M123.4133,547.1735 C112.2244,569.5512 93.0729,607.8542 84.4446,625.1107 " fill="none" id="却下-&gt;review_end" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="82.1252,629.7496,89.7279,623.4887,84.3613,625.2775,82.5725,619.9109,82.1252,629.7496" style="stroke: #A80036; stroke-width: 1.0;"/><!--MD5=[9cb065328cdfbf32664284a302c29f64]
link review_end to 配信可--><path d="M80.5107,638.0848 C81.8277,647.2625 86.037,669.8923 97,685 C101.8321,691.6589 108.2165,697.6314 114.8014,702.7363 " fill="none" id="review_end-&gt;配信可" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="118.9152,705.8011,114.0875,697.2166,114.9056,702.814,109.3082,703.6321,118.9152,705.8011" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="70" x="98" y="669.2104">Camp.次第で</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="44" x="111" y="682.0151">配信開始</text><!--MD5=[f8dd71e4da591b5b1e5b7282a2eb2d51]
link 配信可 to 停止中--><path d="M153.3222,739.386 C158.3952,753.3367 165.5473,773.0051 171.0154,788.0424 " fill="none" id="配信可-&gt;停止中" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="172.7998,792.9496,173.483,783.1245,171.091,788.2507,165.9648,785.8586,172.7998,792.9496" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="22" x="165" y="770.2104">停止</text><!--MD5=[ee7b8ad4d397968d47f62b1528f6d408]
link 停止中 to アーカイブ--><path d="M165.612,827.0187 C157.0729,837.8734 145.9358,852.0308 136.8042,863.6387 " fill="none" id="停止中-&gt;アーカイブ" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="133.5393,867.7891,142.2477,863.1887,136.6308,863.8594,135.9601,858.2424,133.5393,867.7891" style="stroke: #A80036; stroke-width: 1.0;"/><!--MD5=[6d3791b69a1417c978d5ba16fabff8a8]
link 配信可 to アーカイブ--><path d="M144.1616,739.1358 C139.2522,768.7739 129.1781,829.5913 123.717,862.5601 " fill="none" id="配信可-&gt;アーカイブ" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="122.8817,867.6032,128.2988,859.3779,123.6989,862.6704,120.4064,858.0705,122.8817,867.6032" style="stroke: #A80036; stroke-width: 1.0;"/><!--MD5=[2e627ac14b57204eda4f6791514646ba]
link review_end to アーカイブ--><path d="M79.5723,638.2455 C78.765,647.01 77.2482,667.7311 79,685 C85.6317,750.3722 104.1589,825.9447 113.8757,862.6635 " fill="none" id="review_end-&gt;アーカイブ" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="115.2429,867.7933,116.7898,858.0667,113.955,862.962,109.0597,860.1273,115.2429,867.7933" style="stroke: #A80036; stroke-width: 1.0;"/><!--MD5=[db56b779a9d8c232bc4b78bb733405bb]
reverse link review to 停止中--><path d="M143.8641,181.0244 C179.9827,187.9663 236,201.8931 236,221.5 C236,221.5 236,221.5 236,722 C236,750.2142 215.1042,776.5229 198.6162,792.8904 " fill="none" id="review&lt;-停止中" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="138.6885,180.051,146.794,185.6458,143.6023,180.9753,148.2728,177.7836,138.6885,180.051" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="22" x="237" y="469.2104">変更</text><!--MD5=[da67d08ec39f026cb6763ce32c551970]
reverse link review to 配信可--><path d="M139.5887,181.3957 C159.9337,187.3616 185,199.2307 185,221.5 C185,221.5 185,221.5 185,634 C185,660.2933 170.525,687.6518 159.4426,704.745 " fill="none" id="review&lt;-配信可" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="134.5361,180.0034,142.1499,186.2508,139.3564,181.3318,144.2754,178.5383,134.5361,180.0034" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="22" x="186" y="435.2104">変更</text><!--MD5=[0fbf63a5120286456b239832fdaaa29e]
@startuml
(*) - -> "ドラフト"
partition 審査 {
(*) - -> == review ==
"ドラフト" - ->[審査提出] == review ==
== review == - -> "審査中"
if "審査中" then
- ->[ok] "審査完了"
"審査完了" - -> == review_end ==
else
- ->[ng] "却下"
"却下" - -> == review_end ==
endif
}
== review_end == -down-> [Camp.次第で\n配信開始] "配信可"
"配信可" - -> [停止] "停止中"
"停止中" - -> "アーカイブ"
"配信可" - -> "アーカイブ"
== review_end == - -> "アーカイブ"
"停止中" -up-> [変更] == review ==
"配信可" -up-> [変更] == review ==
@enduml
PlantUML version 1.2019.12(Sun Nov 03 10:24:54 UTC 2019)
(GPL source distribution)
Java Runtime: OpenJDK Runtime Environment
JVM: OpenJDK 64-Bit Server VM
Java Version: 1.8.0_232-heroku-b09
Operating System: Linux
Default Encoding: UTF-8
Language: en
Country: US
--></g></svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment