demo_doc/puml/superhero/sequence-ex.svg
2021-06-25 21:37:59 +08:00

902 lines
42 KiB
XML

<?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="1427.0833px" preserveAspectRatio="none" style="width:1354px;height:1427px;background:#00000000;" version="1.1" viewBox="0 0 1354 1427" width="1354.1667px" zoomAndPan="magnify"><defs><linearGradient id="g1b47fgmcyojvz0" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#3E4A56"/><stop offset="100%" stop-color="#4E5D6C"/></linearGradient></defs><g><rect fill="url(#g1b47fgmcyojvz0)" height="46.1528" rx="4.1667" ry="4.1667" style="stroke:#717D89;stroke-width:1.0416666666666667;" width="429.1667" x="458.3333" y="32.9"/><text fill="#DF691A" font-family="Verdana" font-size="20.8333" lengthAdjust="spacing" textLength="402.0833" x="471.875" y="64.2619">Sequence Diagram - superhero theme</text><rect fill="none" height="1311.1328" rx="4.1667" ry="4.1667" style="stroke:#4E5D6C;stroke-width:1.0416666666666667;" width="356.25" x="947.9167" y="90.5111"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="111.4583" x="1070.3125" y="108.2865">Internal Service</text><rect fill="#717D89" height="215.1082" style="stroke:#4E5D6C;stroke-width:1.0416666666666667;" width="10.4167" x="389.0625" y="343.986"/><line style="stroke:#4E5D6C;stroke-width:1.0416666666666667;" x1="65.625" x2="65.625" y1="180.7027" y2="595.1192"/><line style="stroke:#4E5D6C;stroke-width:1.0416666666666667;stroke-dasharray:1.0,4.0;" x1="65.625" x2="65.625" y1="595.1192" y2="649.8942"/><line style="stroke:#4E5D6C;stroke-width:1.0416666666666667;" x1="65.625" x2="65.625" y1="649.8942" y2="1307.2856"/><line style="stroke:#4E5D6C;stroke-width:1.0416666666666667;" x1="238.5417" x2="238.5417" y1="180.7027" y2="595.1192"/><line style="stroke:#4E5D6C;stroke-width:1.0416666666666667;stroke-dasharray:1.0,4.0;" x1="238.5417" x2="238.5417" y1="595.1192" y2="649.8942"/><line style="stroke:#4E5D6C;stroke-width:1.0416666666666667;" x1="238.5417" x2="238.5417" y1="649.8942" y2="1307.2856"/><line style="stroke:#4E5D6C;stroke-width:1.0416666666666667;" x1="393.75" x2="393.75" y1="180.7027" y2="595.1192"/><line style="stroke:#4E5D6C;stroke-width:1.0416666666666667;stroke-dasharray:1.0,4.0;" x1="393.75" x2="393.75" y1="595.1192" y2="649.8942"/><line style="stroke:#4E5D6C;stroke-width:1.0416666666666667;" x1="393.75" x2="393.75" y1="649.8942" y2="1307.2856"/><line style="stroke:#4E5D6C;stroke-width:1.0416666666666667;" x1="546.875" x2="546.875" y1="180.7027" y2="595.1192"/><line style="stroke:#4E5D6C;stroke-width:1.0416666666666667;stroke-dasharray:1.0,4.0;" x1="546.875" x2="546.875" y1="595.1192" y2="649.8942"/><line style="stroke:#4E5D6C;stroke-width:1.0416666666666667;" x1="546.875" x2="546.875" y1="649.8942" y2="1307.2856"/><line style="stroke:#4E5D6C;stroke-width:1.0416666666666667;" x1="719.7917" x2="719.7917" y1="180.7027" y2="595.1192"/><line style="stroke:#4E5D6C;stroke-width:1.0416666666666667;stroke-dasharray:1.0,4.0;" x1="719.7917" x2="719.7917" y1="595.1192" y2="649.8942"/><line style="stroke:#4E5D6C;stroke-width:1.0416666666666667;" x1="719.7917" x2="719.7917" y1="649.8942" y2="1307.2856"/><line style="stroke:#4E5D6C;stroke-width:1.0416666666666667;" x1="827.0833" x2="827.0833" y1="180.7027" y2="595.1192"/><line style="stroke:#4E5D6C;stroke-width:1.0416666666666667;stroke-dasharray:1.0,4.0;" x1="827.0833" x2="827.0833" y1="595.1192" y2="649.8942"/><line style="stroke:#4E5D6C;stroke-width:1.0416666666666667;" x1="827.0833" x2="827.0833" y1="649.8942" y2="1307.2856"/><line style="stroke:#4E5D6C;stroke-width:1.0416666666666667;" x1="1018.75" x2="1018.75" y1="180.7027" y2="595.1192"/><line style="stroke:#4E5D6C;stroke-width:1.0416666666666667;stroke-dasharray:1.0,4.0;" x1="1018.75" x2="1018.75" y1="595.1192" y2="649.8942"/><line style="stroke:#4E5D6C;stroke-width:1.0416666666666667;" x1="1018.75" x2="1018.75" y1="649.8942" y2="1307.2856"/><line style="stroke:#4E5D6C;stroke-width:1.0416666666666667;" x1="1197.9167" x2="1197.9167" y1="180.7027" y2="595.1192"/><line style="stroke:#4E5D6C;stroke-width:1.0416666666666667;stroke-dasharray:1.0,4.0;" x1="1197.9167" x2="1197.9167" y1="595.1192" y2="649.8942"/><line style="stroke:#4E5D6C;stroke-width:1.0416666666666667;" x1="1197.9167" x2="1197.9167" y1="649.8942" y2="1307.2856"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="32.2917" x="46.875" y="172.8699">Foo1</text><ellipse cx="66.1458" cy="99.8861" fill="#DF691A" rx="8.3333" ry="8.3333" style="stroke:#E58748;stroke-width:2.0833333333333335;"/><path d="M66.1458,108.2194 L66.1458,136.3444 M52.6042,116.5527 L79.6875,116.5527 M66.1458,136.3444 L52.6042,151.9694 M66.1458,136.3444 L79.6875,151.9694 " fill="none" style="stroke:#E58748;stroke-width:2.0833333333333335;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="32.2917" x="46.875" y="1324.0194">Foo1</text><ellipse cx="66.1458" cy="1342.2689" fill="#DF691A" rx="8.3333" ry="8.3333" style="stroke:#E58748;stroke-width:2.0833333333333335;"/><path d="M66.1458,1350.6022 L66.1458,1378.7272 M52.6042,1358.9355 L79.6875,1358.9355 M66.1458,1378.7272 L52.6042,1394.3522 M66.1458,1378.7272 L79.6875,1394.3522 " fill="none" style="stroke:#E58748;stroke-width:2.0833333333333335;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="32.2917" x="219.7917" y="172.8699">Foo2</text><path d="M217.7083,125.9277 L217.7083,150.9277 M217.7083,138.4277 L235.4167,138.4277 " fill="none" style="stroke:#E58748;stroke-width:2.0833333333333335;"/><ellipse cx="247.9167" cy="138.4277" fill="#DF691A" rx="12.5" ry="12.5" style="stroke:#E58748;stroke-width:2.0833333333333335;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="32.2917" x="219.7917" y="1324.0194">Foo2</text><path d="M217.7083,1336.0189 L217.7083,1361.0189 M217.7083,1348.5189 L235.4167,1348.5189 " fill="none" style="stroke:#E58748;stroke-width:2.0833333333333335;"/><ellipse cx="247.9167" cy="1348.5189" fill="#DF691A" rx="12.5" ry="12.5" style="stroke:#E58748;stroke-width:2.0833333333333335;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="32.2917" x="375" y="172.8699">Foo3</text><ellipse cx="394.2708" cy="138.4277" fill="#DF691A" rx="12.5" ry="12.5" style="stroke:#E58748;stroke-width:2.0833333333333335;"/><polygon fill="#E58748" points="390.1042,125.9277,396.3542,120.7194,394.2708,125.9277,396.3542,131.1361,390.1042,125.9277" style="stroke:#E58748;stroke-width:1.0416666666666667;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="32.2917" x="375" y="1324.0194">Foo3</text><ellipse cx="394.2708" cy="1348.5189" fill="#DF691A" rx="12.5" ry="12.5" style="stroke:#E58748;stroke-width:2.0833333333333335;"/><polygon fill="#E58748" points="390.1042,1336.0189,396.3542,1330.8105,394.2708,1336.0189,396.3542,1341.2272,390.1042,1336.0189" style="stroke:#E58748;stroke-width:1.0416666666666667;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="32.2917" x="528.125" y="172.8699">Foo4</text><ellipse cx="547.3958" cy="138.4277" fill="#DF691A" rx="12.5" ry="12.5" style="stroke:#E58748;stroke-width:2.0833333333333335;"/><line style="stroke:#E58748;stroke-width:2.0833333333333335;" x1="534.8958" x2="559.8958" y1="153.0111" y2="153.0111"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="32.2917" x="528.125" y="1324.0194">Foo4</text><ellipse cx="547.3958" cy="1348.5189" fill="#DF691A" rx="12.5" ry="12.5" style="stroke:#E58748;stroke-width:2.0833333333333335;"/><line style="stroke:#E58748;stroke-width:2.0833333333333335;" x1="534.8958" x2="559.8958" y1="1363.1022" y2="1363.1022"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="32.2917" x="701.0417" y="172.8699">Foo5</text><path d="M701.5625,117.5944 C701.5625,107.1777 720.3125,107.1777 720.3125,107.1777 C720.3125,107.1777 739.0625,107.1777 739.0625,117.5944 L739.0625,144.6777 C739.0625,155.0944 720.3125,155.0944 720.3125,155.0944 C720.3125,155.0944 701.5625,155.0944 701.5625,144.6777 L701.5625,117.5944 " fill="#DF691A" style="stroke:#E58748;stroke-width:1.5625;"/><path d="M701.5625,117.5944 C701.5625,128.0111 720.3125,128.0111 720.3125,128.0111 C720.3125,128.0111 739.0625,128.0111 739.0625,117.5944 " fill="none" style="stroke:#E58748;stroke-width:1.5625;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="32.2917" x="701.0417" y="1324.0194">Foo5</text><path d="M701.5625,1342.2689 C701.5625,1331.8522 720.3125,1331.8522 720.3125,1331.8522 C720.3125,1331.8522 739.0625,1331.8522 739.0625,1342.2689 L739.0625,1369.3522 C739.0625,1379.7689 720.3125,1379.7689 720.3125,1379.7689 C720.3125,1379.7689 701.5625,1379.7689 701.5625,1369.3522 L701.5625,1342.2689 " fill="#DF691A" style="stroke:#E58748;stroke-width:1.5625;"/><path d="M701.5625,1342.2689 C701.5625,1352.6855 720.3125,1352.6855 720.3125,1352.6855 C720.3125,1352.6855 739.0625,1352.6855 739.0625,1342.2689 " fill="none" style="stroke:#E58748;stroke-width:1.5625;"/><rect fill="#DF691A" height="40.1917" rx="4.1667" ry="4.1667" style="stroke:#E58748;stroke-width:1.5625;" width="57.2917" x="801.0417" y="135.3027"/><rect fill="#DF691A" height="40.1917" rx="4.1667" ry="4.1667" style="stroke:#E58748;stroke-width:1.5625;" width="57.2917" x="796.875" y="139.4694"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="32.2917" x="809.375" y="164.5365">Foo6</text><rect fill="#DF691A" height="40.1917" rx="4.1667" ry="4.1667" style="stroke:#E58748;stroke-width:1.5625;" width="57.2917" x="801.0417" y="1306.2439"/><rect fill="#DF691A" height="40.1917" rx="4.1667" ry="4.1667" style="stroke:#E58748;stroke-width:1.5625;" width="57.2917" x="796.875" y="1310.4106"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="32.2917" x="809.375" y="1335.4777">Foo6</text><rect fill="#DF691A" height="40.1917" rx="4.1667" ry="4.1667" style="stroke:#E58748;stroke-width:2.0833333333333335;" width="50" x="993.75" y="139.4694"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="25" x="1006.25" y="164.5365">Bob</text><rect fill="#DF691A" height="40.1917" rx="4.1667" ry="4.1667" style="stroke:#E58748;stroke-width:2.0833333333333335;" width="50" x="993.75" y="1306.2439"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="25" x="1006.25" y="1331.311">Bob</text><rect fill="#DF691A" height="55.3833" rx="4.1667" ry="4.1667" style="stroke:#E58748;stroke-width:2.0833333333333335;" width="120.8333" x="1137.5" y="124.2778"/><ellipse cx="1155.2083" cy="141.9861" fill="#ADD1B2" rx="10.4167" ry="10.4167" style="stroke:#E58748;stroke-width:1.0416666666666667;"/><path d="M1157.1126,146.4132 Q1156.6895,146.6248 1156.2174,146.7387 Q1155.7454,146.8526 1155.2409,146.8526 Q1153.3854,146.8526 1152.4089,145.6482 Q1151.4486,144.4275 1151.4486,142.1326 Q1151.4486,139.8214 1152.4089,138.6169 Q1153.3854,137.3962 1155.2409,137.3962 Q1155.7454,137.3962 1156.2174,137.5102 Q1156.7057,137.6078 1157.1126,137.8357 L1157.1126,139.8376 Q1156.6569,139.4145 1156.2174,139.2192 Q1155.778,139.0076 1155.3223,139.0076 Q1154.3294,139.0076 1153.8249,139.8051 Q1153.3203,140.5863 1153.3203,142.1326 Q1153.3203,143.6625 1153.8249,144.4438 Q1154.3294,145.225 1155.3223,145.225 Q1155.778,145.225 1156.2174,145.0297 Q1156.6569,144.8344 1157.1126,144.4112 L1157.1126,146.4132 Z " fill="#FFFFFF"/><text fill="#000000" font-family="Verdana" font-size="12.5" font-style="italic" lengthAdjust="spacing" textLength="68.75" x="1177.0833" y="149.3449">«Testable»</text><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="29.1667" x="1196.875" y="164.5365">Alice</text><rect fill="#DF691A" height="55.3833" rx="4.1667" ry="4.1667" style="stroke:#E58748;stroke-width:2.0833333333333335;" width="120.8333" x="1137.5" y="1306.2439"/><ellipse cx="1155.2083" cy="1323.9522" fill="#ADD1B2" rx="10.4167" ry="10.4167" style="stroke:#E58748;stroke-width:1.0416666666666667;"/><path d="M1157.1126,1328.3793 Q1156.6895,1328.5909 1156.2174,1328.7048 Q1155.7454,1328.8188 1155.2409,1328.8188 Q1153.3854,1328.8188 1152.4089,1327.6143 Q1151.4486,1326.3936 1151.4486,1324.0987 Q1151.4486,1321.7875 1152.4089,1320.5831 Q1153.3854,1319.3624 1155.2409,1319.3624 Q1155.7454,1319.3624 1156.2174,1319.4763 Q1156.7057,1319.574 1157.1126,1319.8018 L1157.1126,1321.8038 Q1156.6569,1321.3806 1156.2174,1321.1853 Q1155.778,1320.9737 1155.3223,1320.9737 Q1154.3294,1320.9737 1153.8249,1321.7712 Q1153.3203,1322.5525 1153.3203,1324.0987 Q1153.3203,1325.6287 1153.8249,1326.4099 Q1154.3294,1327.1912 1155.3223,1327.1912 Q1155.778,1327.1912 1156.2174,1326.9958 Q1156.6569,1326.8005 1157.1126,1326.3774 L1157.1126,1328.3793 Z " fill="#FFFFFF"/><text fill="#000000" font-family="Verdana" font-size="12.5" font-style="italic" lengthAdjust="spacing" textLength="68.75" x="1177.0833" y="1331.311">«Testable»</text><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="29.1667" x="1196.875" y="1346.5027">Alice</text><rect fill="#717D89" height="215.1082" style="stroke:#4E5D6C;stroke-width:1.0416666666666667;" width="10.4167" x="389.0625" y="343.986"/><rect fill="#4E5D6C" height="3.125" style="stroke:#4E5D6C;stroke-width:1.0416666666666667;" width="1346.875" x="0" y="217.4652"/><line style="stroke:#4E5D6C;stroke-width:1.0416666666666667;" x1="0" x2="1346.875" y1="217.4652" y2="217.4652"/><line style="stroke:#4E5D6C;stroke-width:1.0416666666666667;" x1="0" x2="1346.875" y1="220.5902" y2="220.5902"/><rect fill="#4E5D6C" height="33.9417" style="stroke:#4E5D6C;stroke-width:2.0833333333333335;" width="115.625" x="615.625" y="201.5361"/><text fill="#ABB6C2" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="86.4583" x="627.0833" y="223.4782">Initialization</text><polygon fill="#DF691A" points="226.5625,273.586,236.9792,277.7527,226.5625,281.9194,230.7292,277.7527" style="stroke:#DF691A;stroke-width:1.0416666666666667;"/><line style="stroke:#DF691A;stroke-width:3.125;" x1="66.1458" x2="232.8125" y1="277.7527" y2="277.7527"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="40.625" x="78.6458" y="267.8365">[001]</text><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="82.2917" x="133.8542" y="267.8365">To boundary</text><polygon fill="#DF691A" points="376.5625,339.8193,386.9792,343.986,376.5625,348.1527,380.7292,343.986" style="stroke:#DF691A;stroke-width:1.0416666666666667;"/><line style="stroke:#DF691A;stroke-width:3.125;" x1="239.0625" x2="382.8125" y1="343.986" y2="343.986"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="40.625" x="251.5625" y="334.0698">[002]</text><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="64.5833" x="306.7708" y="334.0698">To control</text><rect height="76.825" style="stroke:#4E5D6C;stroke-width:2.0833333333333335;fill:none;" width="228.125" x="519.7917" y="352.3193"/><polygon fill="#4E5D6C" points="519.7917,352.3193,596.875,352.3193,596.875,368.986,586.4583,379.4027,519.7917,379.4027,519.7917,352.3193" style="stroke:#4E5D6C;stroke-width:2.0833333333333335;"/><text fill="#5BC0DE" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="19.7917" x="538.5417" y="372.1781">ref</text><text fill="#4E5D6C" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="94.7917" x="586.4583" y="401.3448">This can be on</text><text fill="#4E5D6C" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="82.2917" x="586.4583" y="416.5365">several lines</text><polygon fill="#DF691A" points="534.8958,462.0443,545.3125,466.2109,534.8958,470.3776,539.0625,466.2109" style="stroke:#DF691A;stroke-width:1.0416666666666667;"/><line style="stroke:#DF691A;stroke-width:3.125;" x1="399.4792" x2="541.1458" y1="466.2109" y2="466.2109"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="40.625" x="411.9792" y="456.2948">[003]</text><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="57.2917" x="467.1875" y="456.2948">To entity</text><polygon fill="#DF691A" points="707.8125,502.2359,718.2292,506.4026,707.8125,510.5693,711.9792,506.4026" style="stroke:#DF691A;stroke-width:1.0416666666666667;"/><line style="stroke:#DF691A;stroke-width:3.125;" x1="547.3958" x2="714.0625" y1="506.4026" y2="506.4026"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="40.625" x="559.8958" y="496.4864">[004]</text><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="82.2917" x="615.1042" y="496.4864">To database</text><polygon fill="#DF691A" points="410.9375,514.7359,400.5208,518.9026,410.9375,523.0693,406.7708,518.9026" style="stroke:#DF691A;stroke-width:1.0416666666666667;"/><line style="stroke:#DF691A;stroke-width:3.125;stroke-dasharray:2.0,2.0;" x1="404.6875" x2="719.2708" y1="518.9026" y2="518.9026"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="40.625" x="422.3958" y="537.7197">[005]</text><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="40.625" x="477.6042" y="537.7197">return</text><polygon fill="#DF691A" points="250.5208,554.9276,240.1042,559.0942,250.5208,563.2609,246.3542,559.0942" style="stroke:#DF691A;stroke-width:1.0416666666666667;"/><line style="stroke:#DF691A;stroke-width:3.125;stroke-dasharray:2.0,2.0;" x1="244.2708" x2="393.2292" y1="559.0942" y2="559.0942"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="40.625" x="261.9792" y="577.9114">[006]</text><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="40.625" x="317.1875" y="577.9114">return</text><text fill="#000000" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="36.4583" x="577.8646" y="627.478">Some</text><text fill="#000000" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="67.7083" x="618.4896" y="627.478">long delay</text><text fill="#000000" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="0" x="690.3646" y="627.478"/><polygon fill="#DF691A" points="815.1042,677.5859,825.5208,681.7525,815.1042,685.9192,819.2708,681.7525" style="stroke:#DF691A;stroke-width:1.0416666666666667;"/><line style="stroke:#DF691A;stroke-width:3.125;" x1="66.1458" x2="821.3542" y1="681.7525" y2="681.7525"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="40.625" x="78.6458" y="671.8363">[007]</text><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="87.5" x="133.8542" y="671.8363">To collections</text><polygon fill="#DF691A" points="558.8542,690.0859,548.4375,694.2525,558.8542,698.4192,554.6875,694.2525" style="stroke:#DF691A;stroke-width:1.0416666666666667;"/><line style="stroke:#DF691A;stroke-width:3.125;stroke-dasharray:2.0,2.0;" x1="552.6042" x2="826.5625" y1="694.2525" y2="694.2525"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="40.625" x="570.3125" y="713.0697">[008]</text><text fill="#5CB85C" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="53.125" x="625.5208" y="713.0697">success</text><path d="M14.5833,737.5692 L89.5833,737.5692 L89.5833,754.2358 L79.1667,764.6525 L10.4167,764.6525 L10.4167,741.7358 " fill="#4E5D6C" style="stroke:#4E5D6C;stroke-width:1.0416666666666667;"/><rect fill="none" height="475.1831" rx="4.1667" ry="4.1667" style="stroke:#4E5D6C;stroke-width:2.0833333333333335;" width="1320.8333" x="10.4167" y="737.5692"/><text fill="#5BC0DE" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="17.7083" x="31.25" y="756.3863">alt</text><text fill="#4E5D6C" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="118.75" x="110.4167" y="757.428">[successful case]</text><polygon fill="#DF691A" points="1185.4167,802.9358,1195.8333,807.1025,1185.4167,811.2691,1189.5833,807.1025" style="stroke:#DF691A;stroke-width:1.0416666666666667;"/><line style="stroke:#DF691A;stroke-width:3.125;" x1="66.1458" x2="1191.6667" y1="807.1025" y2="807.1025"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="40.625" x="78.6458" y="797.1863">[009]</text><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="158.3333" x="133.8542" y="797.1863">Authentication Accepted</text><polygon fill="#DF691A" points="77.6042,815.4358,67.1875,819.6025,77.6042,823.7691,73.4375,819.6025" style="stroke:#DF691A;stroke-width:1.0416666666666667;"/><line style="stroke:#DF691A;stroke-width:3.125;stroke-dasharray:2.0,2.0;" x1="71.3542" x2="1196.875" y1="819.6025" y2="819.6025"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="40.625" x="89.0625" y="838.4196">[010]</text><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="51.0417" x="144.2708" y="838.4196">success</text><path d="M1045.8333,865.0024 L1045.8333,892.0858 A4.1667,4.1667 0 0 0 1050,896.2524 L1188.5417,896.2524 A4.1667,4.1667 0 0 0 1192.7083,892.0858 L1192.7083,871.2524 L1182.2917,860.8358 L1050,860.8358 A4.1667,4.1667 0 0 0 1045.8333,865.0024 " fill="#5BC0DE" style="stroke:#7CCDE5;stroke-width:1.0416666666666667;"/><path d="M1182.2917,860.8358 L1182.2917,869.1691 A2.0833,2.0833 0 0 0 1184.375,871.2524 L1192.7083,871.2524 L1182.2917,860.8358 " fill="#5BC0DE" style="stroke:#7CCDE5;stroke-width:1.0416666666666667;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="114.5833" x="1057.2917" y="883.8196">this is a first note</text><line style="stroke:#4E5D6C;stroke-width:1.0416666666666667;stroke-dasharray:2.0,2.0;" x1="10.4167" x2="1331.25" y1="903.1108" y2="903.1108"/><text fill="#4E5D6C" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="148.9583" x="20.8333" y="920.8862">[some kind of failure]</text><polygon fill="#DF691A" points="1185.4167,957.4524,1195.8333,961.6191,1185.4167,965.7857,1189.5833,961.6191" style="stroke:#DF691A;stroke-width:1.0416666666666667;"/><line style="stroke:#DF691A;stroke-width:3.125;" x1="66.1458" x2="1191.6667" y1="961.6191" y2="961.6191"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="40.625" x="78.6458" y="951.7029">[011]</text><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="142.7083" x="133.8542" y="951.7029">Authentication Failure</text><polygon fill="#DF691A" points="77.6042,969.9524,67.1875,974.1191,77.6042,978.2857,73.4375,974.1191" style="stroke:#DF691A;stroke-width:1.0416666666666667;"/><line style="stroke:#DF691A;stroke-width:3.125;stroke-dasharray:2.0,2.0;" x1="71.3542" x2="1196.875" y1="974.1191" y2="974.1191"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="40.625" x="89.0625" y="992.9362">[012]</text><text fill="#D9534F" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="82.2917" x="144.2708" y="992.9362">Bad request</text><path d="M25,1017.4357 L168.75,1017.4357 L168.75,1034.1024 L158.3333,1044.519 L20.8333,1044.519 L20.8333,1021.6024 " fill="#4E5D6C" style="stroke:#4E5D6C;stroke-width:1.0416666666666667;"/><rect fill="none" height="120.1416" rx="4.1667" ry="4.1667" style="stroke:#4E5D6C;stroke-width:2.0833333333333335;" width="1300" x="20.8333" y="1017.4357"/><text fill="#5BC0DE" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="90.625" x="41.6667" y="1036.2528">My own label</text><path d="M35.4167,1052.419 L117.7083,1052.419 L117.7083,1069.0857 L107.2917,1079.5024 L31.25,1079.5024 L31.25,1056.5857 " fill="#4E5D6C" style="stroke:#4E5D6C;stroke-width:1.0416666666666667;"/><rect fill="none" height="77.8666" rx="4.1667" ry="4.1667" style="stroke:#4E5D6C;stroke-width:2.0833333333333335;" width="1279.1667" x="31.25" y="1052.419"/><text fill="#5BC0DE" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="29.1667" x="52.0833" y="1071.2362">loop</text><text fill="#4E5D6C" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="91.6667" x="138.5417" y="1072.2778">[1000 times]</text><polygon fill="#DF691A" points="77.6042,1090.094,67.1875,1094.2607,77.6042,1098.4273,73.4375,1094.2607" style="stroke:#DF691A;stroke-width:1.0416666666666667;"/><line style="stroke:#DF691A;stroke-width:3.125;" x1="71.3542" x2="1196.875" y1="1094.2607" y2="1094.2607"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="40.625" x="89.0625" y="1113.0778">[013]</text><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="71.875" x="144.2708" y="1113.0778">DNS Attack</text><line style="stroke:#4E5D6C;stroke-width:1.0416666666666667;stroke-dasharray:2.0,2.0;" x1="10.4167" x2="1331.25" y1="1145.9106" y2="1145.9106"/><text fill="#4E5D6C" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="115.625" x="20.8333" y="1163.6861">[Just a Warning]</text><polygon fill="#DF691A" points="1185.4167,1200.2523,1195.8333,1204.4189,1185.4167,1208.5856,1189.5833,1204.4189" style="stroke:#DF691A;stroke-width:1.0416666666666667;"/><line style="stroke:#DF691A;stroke-width:3.125;" x1="66.1458" x2="1191.6667" y1="1204.4189" y2="1204.4189"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="40.625" x="78.6458" y="1194.5028">[014]</text><text fill="#F0AD4E" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="94.7917" x="133.8542" y="1194.5028">Please repeat</text><path d="M43.75,1229.4189 L43.75,1286.7106 A4.1667,4.1667 0 0 0 47.9167,1290.8773 L257.2917,1290.8773 A4.1667,4.1667 0 0 0 261.4583,1286.7106 L261.4583,1235.6689 L251.0417,1225.2523 L47.9167,1225.2523 A4.1667,4.1667 0 0 0 43.75,1229.4189 " fill="#5BC0DE" style="stroke:#7CCDE5;stroke-width:1.0416666666666667;"/><path d="M251.0417,1225.2523 L251.0417,1233.5856 A2.0833,2.0833 0 0 0 253.125,1235.6689 L261.4583,1235.6689 L251.0417,1225.2523 " fill="#5BC0DE" style="stroke:#7CCDE5;stroke-width:1.0416666666666667;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="136.4583" x="79.6875" y="1248.2361">this is a second note</text><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="81.25" x="79.6875" y="1263.4277">that is really</text><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="28.125" x="79.6875" y="1278.6194">long</text><text fill="#888888" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="85.4167" x="1261.4583" y="17.7755">Page Header</text><text fill="#888888" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="75" x="635.9375" y="1418.3777">Page 1 of 1</text><!--MD5=[5cece101b846a8f77eada6eb1c28beed]
@startuml
!$THEME = "superhero"
!if %not(%variable_exists("$BGCOLOR"))
!$BGCOLOR = "transparent"
!endif
skinparam backgroundColor $BGCOLOR
skinparam useBetaStyle false
!$BLUE = "#DF691A"
!$INDIGO = "#6610f2"
!$PURPLE = "#6f42c1"
!$PINK = "#e83e8c"
!$RED = "#d9534f"
!$ORANGE = "#f0ad4e"
!$YELLOW = "#f0ad4e"
!$GREEN = "#5cb85c"
!$TEAL = "#20c997"
!$CYAN = "#5bc0de"
!$WHITE = "#FFF"
!$GRAY_LIGHT = "#222"
!$GRAY = "#868e96"
!$PRIMARY = "#DF691A"
!$SECONDARY = "#4E5D6C"
!$SUCCESS = "#5cb85c"
!$INFO = "#5bc0de"
!$WARNING = "#f0ad4e"
!$DANGER = "#d9534f"
!$LIGHT = "#abb6c2"
!$DARK = "#4E5D6C"
!$FGCOLOR = $WHITE
!$PRIMARY_DARK = "#e58748"
!$PRIMARY_LIGHT = "#b25415"
!$PRIMARY_TEXT = $WHITE
!$SECONDARY_DARK = "#717d89"
!$SECONDARY_LIGHT = "#3e4a56"
!$SECONDARY_TEXT = $WHITE
!$INFO_DARK = "#7ccde5"
!$INFO_LIGHT = "#499AB2"
!$INFO_TEXT = $WHITE
!$SUCCESS_DARK = "#4a934a"
!$SUCCESS_LIGHT = "#5F8F00"
!$SUCCESS_TEXT = $WHITE
!$WARNING_DARK = "#f3bd71"
!$WARNING_LIGHT = "#C08A3E"
!$WARNING_TEXT = $WHITE
!$DANGER_DARK = "#e17572"
!$DANGER_LIGHT = "#AE423F"
!$DANGER_TEXT = $WHITE
!$DARK_DARK = "#717d89"
!$DARK_LIGHT = "#3e4a56"
!$LIGHT_DARK = "#bcc5ce"
!$LIGHT_LIGHT = "#89929b"
!procedure $success($msg)
<font color=$SUCCESS><b>$msg
!endprocedure
!procedure $failure($msg)
<font color=$DANGER><b>$msg
!endprocedure
!procedure $warning($msg)
<font color=$WARNING><b>$msg
!endprocedure
!procedure $primary_scheme()
FontColor $PRIMARY_TEXT
BorderColor $PRIMARY_DARK
BackgroundColor $PRIMARY
!endprocedure
skinparam defaultFontName "Verdana"
skinparam defaultFontSize 12
skinparam dpi 100
skinparam shadowing false
skinparam roundcorner 8
skinparam ParticipantPadding 40
skinparam BoxPadding 40
skinparam Padding 5
skinparam ArrowColor $DARK
skinparam stereotype {
CBackgroundColor $SECONDARY_LIGHT
CBorderColor $SECONDARY_DARK
ABackgroundColor $SUCCESS_LIGHT
ABorderColor $SUCCESS_DARK
IBackgroundColor $DANGER_LIGHT
IBorderColor $DANGER_DARK
EBackgroundColor $WARNING_LIGHT
EBorderColor $WARNING_DARK
NBackgroundColor $INFO_LIGHT
NBorderColor $INFO_DARK
}
skinparam title {
FontColor $PRIMARY
BorderColor $SECONDARY_DARK
FontSize 20
BorderRoundCorner 8
BorderThickness 1
BackgroundColor $SECONDARY_LIGHT-$SECONDARY
}
skinparam legend {
BackgroundColor $SECONDARY
BorderColor $SECONDARY_DARK
FontColor $LIGHT
}
!startsub swimlane
skinparam swimlane {
BorderColor $INFO
BorderThickness 2
TitleBackgroundColor $SECONDARY_LIGHT-$SECONDARY
TitleFontColor $PRIMARY
}
!endsub
!startsub activity
skinparam activity {
$primary_scheme()
BarColor $SUCCESS
StartColor $INFO
EndColor $INFO
DiamondBackgroundColor $SECONDARY_LIGHT
DiamondBorderColor $SECONDARY_DARK
DiamondFontColor $SECONDARY_TEXT
}
!endsub
!startsub participant
skinparam participant {
$primary_scheme()
BorderThickness 2
}
!endsub
!startsub actor
skinparam actor {
$primary_scheme()
}
!endsub
!startsub arrow
skinparam arrow {
Thickness 3
Color $PRIMARY
FontColor $FGCOLOR
}
!endsub
!startsub sequence
skinparam sequence {
BorderColor $PRIMARY
TitleFontColor $PRIMARY
BackgroundColor $BGCOLOR
StartColor $PRIMARY
EndColor $PRIMARY
BoxBackgroundColor $BGCOLOR
BoxBorderColor $DARK
BoxFontColor $DARk
LifeLineBorderColor $SECONDARY
LifeLineBorderThickness 2
LifeLineBackgroundColor $SECONDARY_DARK
GroupBackgroundColor $SECONDARY
GroupBodyBackgroundColor $BGCOLOR
GroupBorderColor $DARK
GroupFontColor $DARK
GroupHeaderFontColor $INFO
GroupHeaderBackgroundColor $BGCOLOR
DividerBackgroundColor $DARK
DividerBorderColor $DARK
DividerBorderThickness 2
DividerFontColor $LIGHT
ReferenceBackgroundColor $BGCOLOR
ReferenceBorderColor $DARK
ReferenceFontColor $DARK
ReferenceHeaderFontColor $INFO
ReferenceHeaderBackgroundColor $SECONDARY
}
!endsub
!startsub partition
skinparam partition {
BorderColor $PRIMARY
FontColor $PRIMARY
BackgroundColor $BGCOLOR
}
!endsub
!startsub collections
skinparam collections {
$primary_scheme()
}
!endsub
!startsub control
skinparam control {
$primary_scheme()
}
!endsub
!startsub entity
skinparam entity {
$primary_scheme()
}
!endsub
!startsub boundary
skinparam boundary {
$primary_scheme()
}
!endsub
!startsub agent
skinparam agent {
BackgroundColor $WARNING
BorderColor $WARNING_LIGHT
FontColor $DARK
}
!endsub
!startsub note
skinparam note {
BorderThickness 1
BackgroundColor $INFO
BorderColor $INFO_DARK
FontColor $WHITE
}
!endsub
!startsub artifact
skinparam artifact {
BackgroundColor $DARK
BorderColor $DARK_DARK
FontColor $LIGHT
}
!endsub
!startsub component
skinparam component {
$primary_scheme()
}
!endsub
!startsub interface
skinparam interface {
BackgroundColor $DANGER_DARK
BorderColor $DANGER
FontColor $DARK
}
!endsub
!startsub storage
skinparam storage {
BackgroundColor $WARNING
BorderColor $WARNING_DARK
FontColor $WARNING_TEXT
}
!endsub
!startsub node
skinparam node {
BackgroundColor $SECONDARY
BorderColor $LIGHT
FontColor $LIGHT
}
!endsub
!startsub cloud
skinparam cloud {
BackgroundColor transparent
BorderColor $LIGHT
FontColor $DARK
}
!endsub
!startsub database
skinparam database {
$primary_scheme()
}
!endsub
!startsub class
skinparam class {
$primary_scheme()
HeaderBackgroundColor $PRIMARY_LIGHT
StereotypeFontColor $DARK
BorderThickness 1
AttributeFontColor $DARK
AttributeFontSize 11
}
!endsub
!startsub object
skinparam object {
$primary_scheme()
StereotypeFontColor $DARK
BorderThickness 1
AttributeFontColor $SECONDARY_TEXT
AttributeFontSize 11
}
!endsub
!startsub usecase
skinparam usecase {
$primary_scheme()
BorderThickness 2
StereotypeFontColor $PRIMARY
}
!endsub
!startsub rectangle
skinparam rectangle {
$primary_scheme()
BackgroundColor $SECONDARY_LIGHT
BorderThickness 2
StereotypeFontColor $PRIMARY
}
!endsub
!startsub package
skinparam package {
BackgroundColor $SECONDARY
BorderColor $PRIMARY
FontColor $PRIMARY
BorderThickness 2
}
!endsub
!startsub folder
skinparam folder {
BackgroundColor $SECONDARY_LIGHT
BorderColor $WARNING
FontColor $WARNING
BorderThickness 2
}
!endsub
!startsub frame
skinparam frame {
BackgroundColor $SECONDARY_LIGHT
BorderColor $INFO
FontColor $INFO
BorderThickness 2
}
!endsub
!startsub state
skinparam state {
$primary_scheme()
StartColor $INFO
EndColor $INFO
AttributeFontColor $SECONDARY_TEXT
AttributeFontSize 11
}
!endsub
!startsub queue
skinparam queue {
$primary_scheme()
}
!endsub
!startsub card
skinparam card {
BackgroundColor $INFO
BorderColor $INFO_DARK
FontColor $INFO_TEXT
}
!endsub
!startsub file
skinparam file {
BackgroundColor $SECONDARY_DARK
BorderColor $LIGHT
FontColor $LIGHT
}
!endsub
!startsub stack
skinparam stack {
$primary_scheme()
}
!endsub
!if %variable_exists("$THEME")
title Sequence Diagram - $THEME theme
!else
title Sequence Diagram
!endif
'skinparam BackgroundColor transparent
skinparam responseMessageBelowArrow true
autonumber "<b>[000]"
header Page Header
footer Page %page% of %lastpage%
actor Foo1
boundary Foo2
control Foo3
entity Foo4
database Foo5
collections Foo6
participant Bob
participant Alice << (C,#ADD1B2) Testable >>
box "Internal Service"
participant Bob
participant Alice
end box
== Initialization ==
Foo1 -> Foo2 : To boundary
|||
Foo2 -> Foo3 ++: To control
ref over Foo4, Foo5
This can be on
several lines
end ref
Foo3 -> Foo4 : To entity
Foo4 -> Foo5 : To database
Foo5 - -> Foo3 - - : return
Foo3 - -> Foo2 - -: return
... Some ~~long delay~~ ...
Foo1 -> Foo6 : To collections
Foo6 - -> Foo4: $success("success")
group alt [successful case]
Foo1 -> Alice: Authentication Accepted
Alice - -> Foo1: success
note left of Alice: this is a first note
else some kind of failure
Foo1 -> Alice: Authentication Failure
Alice - -> Foo1: $failure("Bad request")
group My own label
loop 1000 times
Alice -> Foo1: DNS Attack
end
end
else Just a Warning
Foo1 -> Alice: $warning("Please repeat")
end
note over Foo1, Foo2
this is a second note
that is really
long
end note
@enduml
@startuml
skinparam backgroundColor transparent
skinparam useBetaStyle false
skinparam defaultFontName "Verdana"
skinparam defaultFontSize 12
skinparam dpi 100
skinparam shadowing false
skinparam roundcorner 8
skinparam ParticipantPadding 40
skinparam BoxPadding 40
skinparam Padding 5
skinparam ArrowColor #4E5D6C
skinparam stereotype {
CBackgroundColor #3e4a56
CBorderColor #717d89
ABackgroundColor #5F8F00
ABorderColor #4a934a
IBackgroundColor #AE423F
IBorderColor #e17572
EBackgroundColor #C08A3E
EBorderColor #f3bd71
NBackgroundColor #499AB2
NBorderColor #7ccde5
}
skinparam title {
FontColor #DF691A
BorderColor #717d89
FontSize 20
BorderRoundCorner 8
BorderThickness 1
BackgroundColor #3e4a56-#4E5D6C
}
skinparam legend {
BackgroundColor #4E5D6C
BorderColor #717d89
FontColor #abb6c2
}
skinparam swimlane {
BorderColor #5bc0de
BorderThickness 2
TitleBackgroundColor #3e4a56-#4E5D6C
TitleFontColor #DF691A
}
skinparam activity {
FontColor #FFF
BorderColor #e58748
BackgroundColor #DF691A
BarColor #5cb85c
StartColor #5bc0de
EndColor #5bc0de
DiamondBackgroundColor #3e4a56
DiamondBorderColor #717d89
DiamondFontColor #FFF
}
skinparam participant {
FontColor #FFF
BorderColor #e58748
BackgroundColor #DF691A
BorderThickness 2
}
skinparam actor {
FontColor #FFF
BorderColor #e58748
BackgroundColor #DF691A
}
skinparam arrow {
Thickness 3
Color #DF691A
FontColor #FFF
}
skinparam sequence {
BorderColor #DF691A
TitleFontColor #DF691A
BackgroundColor transparent
StartColor #DF691A
EndColor #DF691A
BoxBackgroundColor transparent
BoxBorderColor #4E5D6C
BoxFontColor $DARk
LifeLineBorderColor #4E5D6C
LifeLineBorderThickness 2
LifeLineBackgroundColor #717d89
GroupBackgroundColor #4E5D6C
GroupBodyBackgroundColor transparent
GroupBorderColor #4E5D6C
GroupFontColor #4E5D6C
GroupHeaderFontColor #5bc0de
GroupHeaderBackgroundColor transparent
DividerBackgroundColor #4E5D6C
DividerBorderColor #4E5D6C
DividerBorderThickness 2
DividerFontColor #abb6c2
ReferenceBackgroundColor transparent
ReferenceBorderColor #4E5D6C
ReferenceFontColor #4E5D6C
ReferenceHeaderFontColor #5bc0de
ReferenceHeaderBackgroundColor #4E5D6C
}
skinparam partition {
BorderColor #DF691A
FontColor #DF691A
BackgroundColor transparent
}
skinparam collections {
FontColor #FFF
BorderColor #e58748
BackgroundColor #DF691A
}
skinparam control {
FontColor #FFF
BorderColor #e58748
BackgroundColor #DF691A
}
skinparam entity {
FontColor #FFF
BorderColor #e58748
BackgroundColor #DF691A
}
skinparam boundary {
FontColor #FFF
BorderColor #e58748
BackgroundColor #DF691A
}
skinparam agent {
BackgroundColor #f0ad4e
BorderColor #C08A3E
FontColor #4E5D6C
}
skinparam note {
BorderThickness 1
BackgroundColor #5bc0de
BorderColor #7ccde5
FontColor #FFF
}
skinparam artifact {
BackgroundColor #4E5D6C
BorderColor #717d89
FontColor #abb6c2
}
skinparam component {
FontColor #FFF
BorderColor #e58748
BackgroundColor #DF691A
}
skinparam interface {
BackgroundColor #e17572
BorderColor #d9534f
FontColor #4E5D6C
}
skinparam storage {
BackgroundColor #f0ad4e
BorderColor #f3bd71
FontColor #FFF
}
skinparam node {
BackgroundColor #4E5D6C
BorderColor #abb6c2
FontColor #abb6c2
}
skinparam cloud {
BackgroundColor transparent
BorderColor #abb6c2
FontColor #4E5D6C
}
skinparam database {
FontColor #FFF
BorderColor #e58748
BackgroundColor #DF691A
}
skinparam class {
FontColor #FFF
BorderColor #e58748
BackgroundColor #DF691A
HeaderBackgroundColor #b25415
StereotypeFontColor #4E5D6C
BorderThickness 1
AttributeFontColor #4E5D6C
AttributeFontSize 11
}
skinparam object {
FontColor #FFF
BorderColor #e58748
BackgroundColor #DF691A
StereotypeFontColor #4E5D6C
BorderThickness 1
AttributeFontColor #FFF
AttributeFontSize 11
}
skinparam usecase {
FontColor #FFF
BorderColor #e58748
BackgroundColor #DF691A
BorderThickness 2
StereotypeFontColor #DF691A
}
skinparam rectangle {
FontColor #FFF
BorderColor #e58748
BackgroundColor #DF691A
BackgroundColor #3e4a56
BorderThickness 2
StereotypeFontColor #DF691A
}
skinparam package {
BackgroundColor #4E5D6C
BorderColor #DF691A
FontColor #DF691A
BorderThickness 2
}
skinparam folder {
BackgroundColor #3e4a56
BorderColor #f0ad4e
FontColor #f0ad4e
BorderThickness 2
}
skinparam frame {
BackgroundColor #3e4a56
BorderColor #5bc0de
FontColor #5bc0de
BorderThickness 2
}
skinparam state {
FontColor #FFF
BorderColor #e58748
BackgroundColor #DF691A
StartColor #5bc0de
EndColor #5bc0de
AttributeFontColor #FFF
AttributeFontSize 11
}
skinparam queue {
FontColor #FFF
BorderColor #e58748
BackgroundColor #DF691A
}
skinparam card {
BackgroundColor #5bc0de
BorderColor #7ccde5
FontColor #FFF
}
skinparam file {
BackgroundColor #717d89
BorderColor #abb6c2
FontColor #abb6c2
}
skinparam stack {
FontColor #FFF
BorderColor #e58748
BackgroundColor #DF691A
}
title Sequence Diagram - superhero theme
skinparam responseMessageBelowArrow true
autonumber "<b>[000]"
header Page Header
footer Page %page% of %lastpage%
actor Foo1
boundary Foo2
control Foo3
entity Foo4
database Foo5
collections Foo6
participant Bob
participant Alice << (C,#ADD1B2) Testable >>
box "Internal Service"
participant Bob
participant Alice
end box
== Initialization ==
Foo1 -> Foo2 : To boundary
|||
Foo2 -> Foo3 ++: To control
ref over Foo4, Foo5
This can be on
several lines
end ref
Foo3 -> Foo4 : To entity
Foo4 -> Foo5 : To database
Foo5 - -> Foo3 - - : return
Foo3 - -> Foo2 - -: return
... Some ~~long delay~~ ...
Foo1 -> Foo6 : To collections
Foo6 - -> Foo4: <font color=#5cb85c><b>success
group alt [successful case]
Foo1 -> Alice: Authentication Accepted
Alice - -> Foo1: success
note left of Alice: this is a first note
else some kind of failure
Foo1 -> Alice: Authentication Failure
Alice - -> Foo1: <font color=#d9534f><b>Bad request
group My own label
loop 1000 times
Alice -> Foo1: DNS Attack
end
end
else Just a Warning
Foo1 -> Alice: <font color=#f0ad4e><b>Please repeat
end
note over Foo1, Foo2
this is a second note
that is really
long
end note
@enduml
PlantUML version 1.2021.01(Mon Feb 01 23:55:08 PST 2021)
(GPL source distribution)
Java Runtime: OpenJDK Runtime Environment
JVM: OpenJDK 64-Bit Server VM
Default Encoding: UTF-8
Language: en
Country: US
--></g></svg>