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

898 lines
45 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:1388px;height:1427px;background:#00000000;" version="1.1" viewBox="0 0 1388 1427" width="1388.5417px" zoomAndPan="magnify"><defs><linearGradient id="g116gr8kts44py0" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#FFFFFF"/><stop offset="100%" stop-color="#EEEEEE"/></linearGradient><linearGradient id="g116gr8kts44py1" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#F08E41"/><stop offset="100%" stop-color="#EC7211"/></linearGradient></defs><g><rect fill="url(#g116gr8kts44py0)" height="46.1528" rx="4.1667" ry="4.1667" style="stroke:#EEEEEE;stroke-width:1.0416666666666667;" width="225" x="577.6042" y="32.9"/><text fill="#EC7211" font-family="Verdana" font-size="20.8333" lengthAdjust="spacing" textLength="197.9167" x="591.1458" y="64.2619">Sequence Diagram</text><rect fill="none" height="1311.1328" rx="4.1667" ry="4.1667" style="stroke:#4E5D6C;stroke-width:1.0416666666666667;" width="390.625" x="947.9167" y="90.5111"/><text fill="#4E5D6C" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="111.4583" x="1087.5" y="108.2865">Internal Service</text><rect fill="#BCC5CE" height="215.1082" style="stroke:#ABB6C2;stroke-width:1.0416666666666667;" width="10.4167" x="389.0625" y="343.986"/><line style="stroke:#ABB6C2;stroke-width:1.0416666666666667;" x1="65.625" x2="65.625" y1="180.7027" y2="595.1192"/><line style="stroke:#ABB6C2;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:#ABB6C2;stroke-width:1.0416666666666667;" x1="65.625" x2="65.625" y1="649.8942" y2="1307.2856"/><line style="stroke:#ABB6C2;stroke-width:1.0416666666666667;" x1="238.5417" x2="238.5417" y1="180.7027" y2="595.1192"/><line style="stroke:#ABB6C2;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:#ABB6C2;stroke-width:1.0416666666666667;" x1="238.5417" x2="238.5417" y1="649.8942" y2="1307.2856"/><line style="stroke:#ABB6C2;stroke-width:1.0416666666666667;" x1="393.75" x2="393.75" y1="180.7027" y2="595.1192"/><line style="stroke:#ABB6C2;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:#ABB6C2;stroke-width:1.0416666666666667;" x1="393.75" x2="393.75" y1="649.8942" y2="1307.2856"/><line style="stroke:#ABB6C2;stroke-width:1.0416666666666667;" x1="546.875" x2="546.875" y1="180.7027" y2="595.1192"/><line style="stroke:#ABB6C2;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:#ABB6C2;stroke-width:1.0416666666666667;" x1="546.875" x2="546.875" y1="649.8942" y2="1307.2856"/><line style="stroke:#ABB6C2;stroke-width:1.0416666666666667;" x1="719.7917" x2="719.7917" y1="180.7027" y2="595.1192"/><line style="stroke:#ABB6C2;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:#ABB6C2;stroke-width:1.0416666666666667;" x1="719.7917" x2="719.7917" y1="649.8942" y2="1307.2856"/><line style="stroke:#ABB6C2;stroke-width:1.0416666666666667;" x1="827.0833" x2="827.0833" y1="180.7027" y2="595.1192"/><line style="stroke:#ABB6C2;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:#ABB6C2;stroke-width:1.0416666666666667;" x1="827.0833" x2="827.0833" y1="649.8942" y2="1307.2856"/><line style="stroke:#ABB6C2;stroke-width:1.0416666666666667;" x1="1035.4167" x2="1035.4167" y1="180.7027" y2="595.1192"/><line style="stroke:#ABB6C2;stroke-width:1.0416666666666667;stroke-dasharray:1.0,4.0;" x1="1035.4167" x2="1035.4167" y1="595.1192" y2="649.8942"/><line style="stroke:#ABB6C2;stroke-width:1.0416666666666667;" x1="1035.4167" x2="1035.4167" y1="649.8942" y2="1307.2856"/><line style="stroke:#ABB6C2;stroke-width:1.0416666666666667;" x1="1232.2917" x2="1232.2917" y1="180.7027" y2="595.1192"/><line style="stroke:#ABB6C2;stroke-width:1.0416666666666667;stroke-dasharray:1.0,4.0;" x1="1232.2917" x2="1232.2917" y1="595.1192" y2="649.8942"/><line style="stroke:#ABB6C2;stroke-width:1.0416666666666667;" x1="1232.2917" x2="1232.2917" y1="649.8942" y2="1307.2856"/><text fill="#4E5D6C" 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="url(#g116gr8kts44py1)" rx="8.3333" ry="8.3333" style="stroke:#EC7211;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:#EC7211;stroke-width:2.0833333333333335;"/><text fill="#4E5D6C" 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="url(#g116gr8kts44py1)" rx="8.3333" ry="8.3333" style="stroke:#EC7211;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:#EC7211;stroke-width:2.0833333333333335;"/><text fill="#4E5D6C" 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:#EC7211;stroke-width:2.0833333333333335;"/><ellipse cx="247.9167" cy="138.4277" fill="url(#g116gr8kts44py1)" rx="12.5" ry="12.5" style="stroke:#EC7211;stroke-width:2.0833333333333335;"/><text fill="#4E5D6C" 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:#EC7211;stroke-width:2.0833333333333335;"/><ellipse cx="247.9167" cy="1348.5189" fill="url(#g116gr8kts44py1)" rx="12.5" ry="12.5" style="stroke:#EC7211;stroke-width:2.0833333333333335;"/><text fill="#4E5D6C" 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="url(#g116gr8kts44py1)" rx="12.5" ry="12.5" style="stroke:#EC7211;stroke-width:2.0833333333333335;"/><polygon fill="#EC7211" points="390.1042,125.9277,396.3542,120.7194,394.2708,125.9277,396.3542,131.1361,390.1042,125.9277" style="stroke:#EC7211;stroke-width:1.0416666666666667;"/><text fill="#4E5D6C" 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="url(#g116gr8kts44py1)" rx="12.5" ry="12.5" style="stroke:#EC7211;stroke-width:2.0833333333333335;"/><polygon fill="#EC7211" points="390.1042,1336.0189,396.3542,1330.8105,394.2708,1336.0189,396.3542,1341.2272,390.1042,1336.0189" style="stroke:#EC7211;stroke-width:1.0416666666666667;"/><text fill="#4E5D6C" 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="url(#g116gr8kts44py1)" rx="12.5" ry="12.5" style="stroke:#EC7211;stroke-width:2.0833333333333335;"/><line style="stroke:#EC7211;stroke-width:2.0833333333333335;" x1="534.8958" x2="559.8958" y1="153.0111" y2="153.0111"/><text fill="#4E5D6C" 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="url(#g116gr8kts44py1)" rx="12.5" ry="12.5" style="stroke:#EC7211;stroke-width:2.0833333333333335;"/><line style="stroke:#EC7211;stroke-width:2.0833333333333335;" x1="534.8958" x2="559.8958" y1="1363.1022" y2="1363.1022"/><text fill="#4E5D6C" 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="url(#g116gr8kts44py1)" style="stroke:#EC7211;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:#EC7211;stroke-width:1.5625;"/><text fill="#4E5D6C" 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="url(#g116gr8kts44py1)" style="stroke:#EC7211;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:#EC7211;stroke-width:1.5625;"/><rect fill="url(#g116gr8kts44py1)" height="40.1917" rx="4.1667" ry="4.1667" style="stroke:#EC7211;stroke-width:1.5625;" width="57.2917" x="801.0417" y="135.3027"/><rect fill="url(#g116gr8kts44py1)" height="40.1917" rx="4.1667" ry="4.1667" style="stroke:#EC7211;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="url(#g116gr8kts44py1)" height="40.1917" rx="4.1667" ry="4.1667" style="stroke:#EC7211;stroke-width:1.5625;" width="57.2917" x="801.0417" y="1306.2439"/><rect fill="url(#g116gr8kts44py1)" height="40.1917" rx="4.1667" ry="4.1667" style="stroke:#EC7211;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="url(#g116gr8kts44py1)" height="55.3833" rx="4.1667" ry="4.1667" style="stroke:#EC7211;stroke-width:1.5625;" width="84.375" x="993.75" y="124.2778"/><text fill="#4E5D6C" font-family="Verdana" font-size="12.5" font-style="italic" lengthAdjust="spacing" textLength="59.375" x="1006.25" y="149.3449">«Person»</text><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="25" x="1023.4375" y="164.5365">Bob</text><rect fill="url(#g116gr8kts44py1)" height="55.3833" rx="4.1667" ry="4.1667" style="stroke:#EC7211;stroke-width:1.5625;" width="84.375" x="993.75" y="1306.2439"/><text fill="#4E5D6C" font-family="Verdana" font-size="12.5" font-style="italic" lengthAdjust="spacing" textLength="59.375" x="1006.25" y="1331.311">«Person»</text><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="25" x="1023.4375" y="1346.5027">Bob</text><rect fill="url(#g116gr8kts44py1)" height="55.3833" rx="4.1667" ry="4.1667" style="stroke:#EC7211;stroke-width:1.5625;" width="120.8333" x="1171.875" y="124.2778"/><ellipse cx="1189.5833" cy="141.9861" fill="#ADD1B2" rx="10.4167" ry="10.4167" style="stroke:#EC7211;stroke-width:1.0416666666666667;"/><path d="M1191.4876,146.4132 Q1191.0645,146.6248 1190.5924,146.7387 Q1190.1204,146.8526 1189.6159,146.8526 Q1187.7604,146.8526 1186.7839,145.6482 Q1185.8236,144.4275 1185.8236,142.1326 Q1185.8236,139.8214 1186.7839,138.6169 Q1187.7604,137.3962 1189.6159,137.3962 Q1190.1204,137.3962 1190.5924,137.5102 Q1191.0807,137.6078 1191.4876,137.8357 L1191.4876,139.8376 Q1191.0319,139.4145 1190.5924,139.2192 Q1190.153,139.0076 1189.6973,139.0076 Q1188.7044,139.0076 1188.1999,139.8051 Q1187.6953,140.5863 1187.6953,142.1326 Q1187.6953,143.6625 1188.1999,144.4438 Q1188.7044,145.225 1189.6973,145.225 Q1190.153,145.225 1190.5924,145.0297 Q1191.0319,144.8344 1191.4876,144.4112 L1191.4876,146.4132 Z " fill="#FFFFFF"/><text fill="#4E5D6C" font-family="Verdana" font-size="12.5" font-style="italic" lengthAdjust="spacing" textLength="68.75" x="1211.4583" y="149.3449">«Testable»</text><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="29.1667" x="1231.25" y="164.5365">Alice</text><rect fill="url(#g116gr8kts44py1)" height="55.3833" rx="4.1667" ry="4.1667" style="stroke:#EC7211;stroke-width:1.5625;" width="120.8333" x="1171.875" y="1306.2439"/><ellipse cx="1189.5833" cy="1323.9522" fill="#ADD1B2" rx="10.4167" ry="10.4167" style="stroke:#EC7211;stroke-width:1.0416666666666667;"/><path d="M1191.4876,1328.3793 Q1191.0645,1328.5909 1190.5924,1328.7048 Q1190.1204,1328.8188 1189.6159,1328.8188 Q1187.7604,1328.8188 1186.7839,1327.6143 Q1185.8236,1326.3936 1185.8236,1324.0987 Q1185.8236,1321.7875 1186.7839,1320.5831 Q1187.7604,1319.3624 1189.6159,1319.3624 Q1190.1204,1319.3624 1190.5924,1319.4763 Q1191.0807,1319.574 1191.4876,1319.8018 L1191.4876,1321.8038 Q1191.0319,1321.3806 1190.5924,1321.1853 Q1190.153,1320.9737 1189.6973,1320.9737 Q1188.7044,1320.9737 1188.1999,1321.7712 Q1187.6953,1322.5525 1187.6953,1324.0987 Q1187.6953,1325.6287 1188.1999,1326.4099 Q1188.7044,1327.1912 1189.6973,1327.1912 Q1190.153,1327.1912 1190.5924,1326.9958 Q1191.0319,1326.8005 1191.4876,1326.3774 L1191.4876,1328.3793 Z " fill="#FFFFFF"/><text fill="#4E5D6C" font-family="Verdana" font-size="12.5" font-style="italic" lengthAdjust="spacing" textLength="68.75" x="1211.4583" y="1331.311">«Testable»</text><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="29.1667" x="1231.25" y="1346.5027">Alice</text><rect fill="#BCC5CE" height="215.1082" style="stroke:#ABB6C2;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="1381.25" x="0" y="217.4652"/><line style="stroke:#4E5D6C;stroke-width:1.0416666666666667;" x1="0" x2="1381.25" y1="217.4652" y2="217.4652"/><line style="stroke:#4E5D6C;stroke-width:1.0416666666666667;" x1="0" x2="1381.25" y1="220.5902" y2="220.5902"/><rect fill="#4E5D6C" height="33.9417" style="stroke:#4E5D6C;stroke-width:2.0833333333333335;" width="115.625" x="632.8125" y="201.5361"/><text fill="#ABB6C2" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="86.4583" x="644.2708" y="223.4782">Initialization</text><polygon fill="#EC7211" points="226.5625,273.586,236.9792,277.7527,226.5625,281.9194,230.7292,277.7527" style="stroke:#EC7211;stroke-width:1.0416666666666667;"/><line style="stroke:#EC7211;stroke-width:3.125;" x1="66.1458" x2="232.8125" y1="277.7527" y2="277.7527"/><text fill="#4E5D6C" 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="#4E5D6C" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="82.2917" x="133.8542" y="267.8365">To boundary</text><polygon fill="#EC7211" points="376.5625,339.8193,386.9792,343.986,376.5625,348.1527,380.7292,343.986" style="stroke:#EC7211;stroke-width:1.0416666666666667;"/><line style="stroke:#EC7211;stroke-width:3.125;" x1="239.0625" x2="382.8125" y1="343.986" y2="343.986"/><text fill="#4E5D6C" 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="#4E5D6C" 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="#EEEEEE" 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="#0073BB" 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="#EC7211" points="534.8958,462.0443,545.3125,466.2109,534.8958,470.3776,539.0625,466.2109" style="stroke:#EC7211;stroke-width:1.0416666666666667;"/><line style="stroke:#EC7211;stroke-width:3.125;" x1="399.4792" x2="541.1458" y1="466.2109" y2="466.2109"/><text fill="#4E5D6C" 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="#4E5D6C" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="57.2917" x="467.1875" y="456.2948">To entity</text><polygon fill="#EC7211" points="707.8125,502.2359,718.2292,506.4026,707.8125,510.5693,711.9792,506.4026" style="stroke:#EC7211;stroke-width:1.0416666666666667;"/><line style="stroke:#EC7211;stroke-width:3.125;" x1="547.3958" x2="714.0625" y1="506.4026" y2="506.4026"/><text fill="#4E5D6C" 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="#4E5D6C" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="82.2917" x="615.1042" y="496.4864">To database</text><polygon fill="#EC7211" points="410.9375,514.7359,400.5208,518.9026,410.9375,523.0693,406.7708,518.9026" style="stroke:#EC7211;stroke-width:1.0416666666666667;"/><line style="stroke:#EC7211;stroke-width:3.125;stroke-dasharray:2.0,2.0;" x1="404.6875" x2="719.2708" y1="518.9026" y2="518.9026"/><text fill="#4E5D6C" 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="#4E5D6C" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="40.625" x="477.6042" y="537.7197">return</text><polygon fill="#EC7211" points="250.5208,554.9276,240.1042,559.0942,250.5208,563.2609,246.3542,559.0942" style="stroke:#EC7211;stroke-width:1.0416666666666667;"/><line style="stroke:#EC7211;stroke-width:3.125;stroke-dasharray:2.0,2.0;" x1="244.2708" x2="393.2292" y1="559.0942" y2="559.0942"/><text fill="#4E5D6C" 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="#4E5D6C" 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="595.0521" y="627.478">Some</text><text fill="#000000" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="67.7083" x="635.6771" y="627.478">long delay</text><text fill="#000000" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="0" x="707.5521" y="627.478"/><polygon fill="#EC7211" points="815.1042,677.5859,825.5208,681.7525,815.1042,685.9192,819.2708,681.7525" style="stroke:#EC7211;stroke-width:1.0416666666666667;"/><line style="stroke:#EC7211;stroke-width:3.125;" x1="66.1458" x2="821.3542" y1="681.7525" y2="681.7525"/><text fill="#4E5D6C" 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="#4E5D6C" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="87.5" x="133.8542" y="671.8363">To collections</text><polygon fill="#EC7211" points="558.8542,690.0859,548.4375,694.2525,558.8542,698.4192,554.6875,694.2525" style="stroke:#EC7211;stroke-width:1.0416666666666667;"/><line style="stroke:#EC7211;stroke-width:3.125;stroke-dasharray:2.0,2.0;" x1="552.6042" x2="826.5625" y1="694.2525" y2="694.2525"/><text fill="#4E5D6C" 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="#1D8102" 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="#EEEEEE" 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="1355.2083" x="10.4167" y="737.5692"/><text fill="#0073BB" 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="#EC7211" points="1219.7917,802.9358,1230.2083,807.1025,1219.7917,811.2691,1223.9583,807.1025" style="stroke:#EC7211;stroke-width:1.0416666666666667;"/><line style="stroke:#EC7211;stroke-width:3.125;" x1="66.1458" x2="1226.0417" y1="807.1025" y2="807.1025"/><text fill="#4E5D6C" 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="#4E5D6C" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="158.3333" x="133.8542" y="797.1863">Authentication Accepted</text><polygon fill="#EC7211" points="77.6042,815.4358,67.1875,819.6025,77.6042,823.7691,73.4375,819.6025" style="stroke:#EC7211;stroke-width:1.0416666666666667;"/><line style="stroke:#EC7211;stroke-width:3.125;stroke-dasharray:2.0,2.0;" x1="71.3542" x2="1231.25" y1="819.6025" y2="819.6025"/><text fill="#4E5D6C" 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="#4E5D6C" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="51.0417" x="144.2708" y="838.4196">success</text><path d="M1080.2083,865.0024 L1080.2083,892.0858 A4.1667,4.1667 0 0 0 1084.375,896.2524 L1222.9167,896.2524 A4.1667,4.1667 0 0 0 1227.0833,892.0858 L1227.0833,871.2524 L1216.6667,860.8358 L1084.375,860.8358 A4.1667,4.1667 0 0 0 1080.2083,865.0024 " fill="#0073BB" style="stroke:#005C96;stroke-width:1.0416666666666667;"/><path d="M1216.6667,860.8358 L1216.6667,869.1691 A2.0833,2.0833 0 0 0 1218.75,871.2524 L1227.0833,871.2524 L1216.6667,860.8358 " fill="#0073BB" style="stroke:#005C96;stroke-width:1.0416666666666667;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="114.5833" x="1091.6667" 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="1365.625" 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="#EC7211" points="1219.7917,957.4524,1230.2083,961.6191,1219.7917,965.7857,1223.9583,961.6191" style="stroke:#EC7211;stroke-width:1.0416666666666667;"/><line style="stroke:#EC7211;stroke-width:3.125;" x1="66.1458" x2="1226.0417" y1="961.6191" y2="961.6191"/><text fill="#4E5D6C" 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="#4E5D6C" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="142.7083" x="133.8542" y="951.7029">Authentication Failure</text><polygon fill="#EC7211" points="77.6042,969.9524,67.1875,974.1191,77.6042,978.2857,73.4375,974.1191" style="stroke:#EC7211;stroke-width:1.0416666666666667;"/><line style="stroke:#EC7211;stroke-width:3.125;stroke-dasharray:2.0,2.0;" x1="71.3542" x2="1231.25" y1="974.1191" y2="974.1191"/><text fill="#4E5D6C" 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="#D13212" 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="#EEEEEE" 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="1334.375" x="20.8333" y="1017.4357"/><text fill="#0073BB" 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="#EEEEEE" 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="1313.5417" x="31.25" y="1052.419"/><text fill="#0073BB" 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="#EC7211" points="77.6042,1090.094,67.1875,1094.2607,77.6042,1098.4273,73.4375,1094.2607" style="stroke:#EC7211;stroke-width:1.0416666666666667;"/><line style="stroke:#EC7211;stroke-width:3.125;" x1="71.3542" x2="1231.25" y1="1094.2607" y2="1094.2607"/><text fill="#4E5D6C" 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="#4E5D6C" 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="1365.625" 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="#EC7211" points="1219.7917,1200.2523,1230.2083,1204.4189,1219.7917,1208.5856,1223.9583,1204.4189" style="stroke:#EC7211;stroke-width:1.0416666666666667;"/><line style="stroke:#EC7211;stroke-width:3.125;" x1="66.1458" x2="1226.0417" y1="1204.4189" y2="1204.4189"/><text fill="#4E5D6C" 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="#EC7211" 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="#0073BB" style="stroke:#005C96;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="#0073BB" style="stroke:#005C96;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="1295.8333" y="17.7755">Page Header</text><text fill="#888888" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="75" x="653.125" y="1418.3777">Page 1 of 1</text><!--MD5=[677bd78b346c5e6928660d73f682774b]
@startuml
!$PUML_THEME = "aws-orange"
!if %not(%variable_exists("$BGCOLOR"))
!$BGCOLOR = "transparent"
!endif
!if %not(%variable_exists("$PUML_MODE"))
!$PUML_MODE = "light"
!endif
!if %not(%variable_exists("$PUML_OUTLINE"))
!$PUML_OUTLINE = "false"
!endif
skinparam BackgroundColor $BGCOLOR
skinparam useBetaStyle false
!$WHITE = "#FFF"
!$GRAY_LIGHT = "#222"
!$GRAY = "#868e96"
!$PRIMARY = "#EC7211"
!$WARNING = "#EC7211"
!$LIGHT = "#abb6c2"
!$DARK = "#4E5D6C"
!if ($PUML_MODE == "light")
!$SECONDARY = "#eeeeee"
!$SECONDARY_DARK = "#bebebe"
!$SECONDARY_LIGHT = "#ffffff"
!$SUCCESS = "#1D8102"
!$SUCCESS_DARK = "#176702"
!$SUCCESS_LIGHT = "#4a9a35"
!$INFO = "#0073bb"
!$INFO_DARK = "#005c96"
!$INFO_LIGHT = "#338fc9"
!$DANGER = "#d13212"
!$DANGER_DARK = "#a7280e"
!$DANGER_LIGHT = "#da5b41"
!$SECONDARY_TEXT = $DARK
!$FGCOLOR = $DARK
!$DIAMOND_BD = $SECONDARY_DARK
!else
!$SECONDARY = "#2a2e33"
!$SECONDARY_DARK = "#222529"
!$SECONDARY_LIGHT = "#55585c"
!$SUCCESS = "#6aaf35"
!$SUCCESS_DARK = "#558c2a"
!$SUCCESS_LIGHT = "#88bf5d"
!$INFO = "#44b9d6"
!$INFO_DARK = "#3694ab"
!$INFO_LIGHT = "#69c7de"
!$DANGER = "#ff5d64"
!$DANGER_DARK = "#cc4a50"
!$DANGER_LIGHT = "#ff7d83"
!$SECONDARY_TEXT = $WHITE
!$FGCOLOR = $WHITE
!$DIAMOND_BD = $SECONDARY_LIGHT
!endif
!$PRIMARY_DARK = "#bd5b0e"
!$PRIMARY_LIGHT = "#f08e41"
!$INFO_TEXT = $WHITE
!$SUCCESS_TEXT = $WHITE
!$WARNING_DARK = "#bd5b0e"
!$WARNING_LIGHT = "#f08e41"
!$WARNING_TEXT = $WHITE
!$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()
!if ($PUML_OUTLINE == "true")
FontColor $PRIMARY
BorderColor $PRIMARY
BackgroundColor $BGCOLOR
!else
FontColor $PRIMARY_TEXT
BorderColor $PRIMARY
BackgroundColor $PRIMARY_LIGHT-$PRIMARY
!endif
!endprocedure
!procedure $secondary_scheme()
!if ($PUML_OUTLINE == "true")
FontColor $SECONDARY_DARK
BorderColor $SECONDARY_DARK
BackgroundColor $BGCOLOR
!else
FontColor $SECONDARY_TEXT
BorderColor $SECONDARY_DARK
BackgroundColor $SECONDARY_LIGHT-$SECONDARY
!endif
!endprocedure
!if ($PUML_OUTLINE == "true")
!$HEADER_TEXT = $PRIMARY_TEXT
!$PRIMARY_TEXT = $PRIMARY_LIGHT
!$INFO_TEXT = $INFO_LIGHT
!$WARNING_TEXT = $WARNING_LIGHT
!$DARK_BG = $BGCOLOR
!$INFO_BG = $BGCOLOR
!$DANGER_BG = $BGCOLOR
!$WARNING_BG = $BGCOLOR
!$SECONDARY_BG = $BGCOLOR
!else
!$DARK_BG = $DARK
!$INFO_BG = $INFO
!$DANGER_BG = $DANGER
!$WARNING_BG = $WARNING
!$SECONDARY_BG = $SECONDARY
!endif
!_POST = "<color #007a3e>POST</color>"
!_PUT = "<color #ea7400>PUT</color>"
!_DELETE = "<color #cf2a2a>DELETE</color>"
!_GET = "<color #009fdb>GET</color>"
!_PATCH = "<color #b5bd00>PATCH</color>"
!_HEAD = "<color #9012fe>HEAD</color>"
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 {
FontSize 20
BorderRoundCorner 8
BorderThickness 1
BackgroundColor $SECONDARY_LIGHT-$SECONDARY
FontColor $PRIMARY
BorderColor $SECONDARY
}
skinparam legend {
$secondary_scheme()
BackgroundColor transparent
}
!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_BG
DiamondBorderColor $DIAMOND_BD
DiamondFontColor $SECONDARY_TEXT
}
!endsub
!startsub participant
skinparam participant {
$primary_scheme()
ParticipantBorderThickness 2
}
!endsub
!startsub actor
skinparam actor {
$primary_scheme()
FontColor $FGCOLOR
}
!endsub
!startsub arrow
skinparam arrow {
Thickness 3
Color $PRIMARY
FontColor $FGCOLOR
}
!endsub
!startsub sequence
skinparam sequence {
ArrowThickness 3
BorderColor $PRIMARY
TitleFontColor $PRIMARY
BackgroundColor $BGCOLOR
StartColor $PRIMARY
EndColor $PRIMARY
BoxBackgroundColor $BGCOLOR
BoxBorderColor $DARK
BoxFontColor $DARK
LifeLineBorderColor $LIGHT
LifeLineBorderThickness 2
LifeLineBackgroundColor $LIGHT_DARK
GroupBorderColor $DARK
GroupFontColor $DARK
GroupHeaderFontColor $INFO
GroupBackgroundColor $SECONDARY
GroupBodyBackgroundColor $BGCOLOR
GroupHeaderBackgroundColor $BGCOLOR
DividerBackgroundColor $DARK
DividerBorderColor $DARK
DividerBorderThickness 2
DividerFontColor $LIGHT
ReferenceBackgroundColor $BGCOLOR
ReferenceBorderColor $DARK
ReferenceFontColor $DARK
ReferenceHeaderFontColor $INFO
ReferenceHeaderBackgroundColor $SECONDARY
StereotypeFontColor $DARK
}
!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()
FontColor $DARK
}
!endsub
!startsub entity
skinparam entity {
$primary_scheme()
FontColor $DARK
}
!endsub
!startsub boundary
skinparam boundary {
$primary_scheme()
FontColor $DARK
}
!endsub
!startsub agent
skinparam agent {
BackgroundColor $WARNING
BorderColor $WARNING_LIGHT
FontColor $DARK
}
!endsub
!startsub note
skinparam note {
BorderThickness 1
BackgroundColor $INFO_BG
BorderColor $INFO_DARK
FontColor $INFO_TEXT
}
!endsub
!startsub artifact
skinparam artifact {
BackgroundColor $DARK_BG
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_BG
BorderColor $WARNING_DARK
FontColor $WARNING_TEXT
}
!endsub
!startsub node
skinparam node {
BackgroundColor $BGCOLOR
BorderColor $LIGHT
FontColor $LIGHT
}
!endsub
!startsub cloud
skinparam cloud {
BackgroundColor transparent
BorderColor $DARK
FontColor $FGCOLOR
}
!endsub
!startsub database
skinparam database {
$primary_scheme()
FontColor $FGCOLOR
}
!endsub
!startsub class
skinparam class {
$primary_scheme()
FontColor $HEADER_TEXT
HeaderBackgroundColor $PRIMARY_LIGHT-$PRIMARY
StereotypeFontColor $DARK
BorderThickness 1
AttributeFontColor $PRIMARY_TEXT
AttributeFontSize 11
}
!endsub
!startsub object
skinparam object {
$primary_scheme()
StereotypeFontColor $DARK
BorderThickness 1
AttributeFontColor $PRIMARY_TEXT
AttributeFontSize 11
}
!endsub
!startsub usecase
skinparam usecase {
$primary_scheme()
BorderThickness 2
StereotypeFontColor $PRIMARY
}
!endsub
!startsub rectangle
skinparam rectangle {
BackgroundColor $BGCOLOR
FontColor $SECONDARY_TEXT
BorderColor $SECONDARY_TEXT
BorderThickness 2
StereotypeFontColor $PRIMARY
}
!endsub
!startsub package
skinparam package {
BackgroundColor $BGCOLOR
BorderColor $SECONDARY_TEXT
FontColor $SECONDARY_TEXT
BorderThickness 2
}
!endsub
!startsub folder
skinparam folder {
BackgroundColor $SECONDARY_BG
BorderColor $WARNING
FontColor $WARNING
BorderThickness 2
}
!endsub
!startsub frame
skinparam frame {
BackgroundColor $SECONDARY_BG
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_BG
BorderColor $INFO_DARK
FontColor $INFO_TEXT
}
!endsub
!startsub file
skinparam file {
BackgroundColor $SECONDARY_BG
BorderColor $LIGHT
FontColor $FGCOLOR
}
!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 << Person >>
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 #ffffff
CBorderColor #bebebe
ABackgroundColor #4a9a35
ABorderColor #176702
IBackgroundColor #da5b41
IBorderColor #a7280e
EBackgroundColor #f08e41
EBorderColor #bd5b0e
NBackgroundColor #338fc9
NBorderColor #005c96
}
skinparam title {
FontSize 20
BorderRoundCorner 8
BorderThickness 1
BackgroundColor #ffffff-#eeeeee
FontColor #EC7211
BorderColor #eeeeee
}
skinparam legend {
FontColor #4E5D6C
BorderColor #bebebe
BackgroundColor #ffffff-#eeeeee
BackgroundColor transparent
}
skinparam swimlane {
BorderColor #0073bb
BorderThickness 2
TitleBackgroundColor #ffffff-#eeeeee
TitleFontColor #EC7211
}
skinparam activity {
FontColor $PRIMARY_TEXT
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
BarColor #1D8102
StartColor #0073bb
EndColor #0073bb
DiamondBackgroundColor #eeeeee
DiamondBorderColor #bebebe
DiamondFontColor #4E5D6C
}
skinparam participant {
FontColor $PRIMARY_TEXT
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
ParticipantBorderThickness 2
}
skinparam actor {
FontColor $PRIMARY_TEXT
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
FontColor #4E5D6C
}
skinparam arrow {
Thickness 3
Color #EC7211
FontColor #4E5D6C
}
skinparam sequence {
ArrowThickness 3
BorderColor #EC7211
TitleFontColor #EC7211
BackgroundColor transparent
StartColor #EC7211
EndColor #EC7211
BoxBackgroundColor transparent
BoxBorderColor #4E5D6C
BoxFontColor #4E5D6C
LifeLineBorderColor #abb6c2
LifeLineBorderThickness 2
LifeLineBackgroundColor #bcc5ce
GroupBorderColor #4E5D6C
GroupFontColor #4E5D6C
GroupHeaderFontColor #0073bb
GroupBackgroundColor #eeeeee
GroupBodyBackgroundColor transparent
GroupHeaderBackgroundColor transparent
DividerBackgroundColor #4E5D6C
DividerBorderColor #4E5D6C
DividerBorderThickness 2
DividerFontColor #abb6c2
ReferenceBackgroundColor transparent
ReferenceBorderColor #4E5D6C
ReferenceFontColor #4E5D6C
ReferenceHeaderFontColor #0073bb
ReferenceHeaderBackgroundColor #eeeeee
StereotypeFontColor #4E5D6C
}
skinparam partition {
BorderColor #EC7211
FontColor #EC7211
BackgroundColor transparent
}
skinparam collections {
FontColor $PRIMARY_TEXT
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
}
skinparam control {
FontColor $PRIMARY_TEXT
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
FontColor #4E5D6C
}
skinparam entity {
FontColor $PRIMARY_TEXT
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
FontColor #4E5D6C
}
skinparam boundary {
FontColor $PRIMARY_TEXT
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
FontColor #4E5D6C
}
skinparam agent {
BackgroundColor #EC7211
BorderColor #f08e41
FontColor #4E5D6C
}
skinparam note {
BorderThickness 1
BackgroundColor #0073bb
BorderColor #005c96
FontColor #FFF
}
skinparam artifact {
BackgroundColor #4E5D6C
BorderColor #717d89
FontColor #abb6c2
}
skinparam component {
FontColor $PRIMARY_TEXT
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
}
skinparam interface {
BackgroundColor #a7280e
BorderColor #d13212
FontColor #4E5D6C
}
skinparam storage {
BackgroundColor #EC7211
BorderColor #bd5b0e
FontColor #FFF
}
skinparam node {
BackgroundColor transparent
BorderColor #abb6c2
FontColor #abb6c2
}
skinparam cloud {
BackgroundColor transparent
BorderColor #4E5D6C
FontColor #4E5D6C
}
skinparam database {
FontColor $PRIMARY_TEXT
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
FontColor #4E5D6C
}
skinparam class {
FontColor $PRIMARY_TEXT
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
FontColor $HEADER_TEXT
HeaderBackgroundColor #f08e41-#EC7211
StereotypeFontColor #4E5D6C
BorderThickness 1
AttributeFontColor $PRIMARY_TEXT
AttributeFontSize 11
}
skinparam object {
FontColor $PRIMARY_TEXT
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
StereotypeFontColor #4E5D6C
BorderThickness 1
AttributeFontColor $PRIMARY_TEXT
AttributeFontSize 11
}
skinparam usecase {
FontColor $PRIMARY_TEXT
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
BorderThickness 2
StereotypeFontColor #EC7211
}
skinparam rectangle {
BackgroundColor transparent
FontColor #4E5D6C
BorderColor #4E5D6C
BorderThickness 2
StereotypeFontColor #EC7211
}
skinparam package {
BackgroundColor transparent
BorderColor #4E5D6C
FontColor #4E5D6C
BorderThickness 2
}
skinparam folder {
BackgroundColor #eeeeee
BorderColor #EC7211
FontColor #EC7211
BorderThickness 2
}
skinparam frame {
BackgroundColor #eeeeee
BorderColor #0073bb
FontColor #0073bb
BorderThickness 2
}
skinparam state {
FontColor $PRIMARY_TEXT
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
StartColor #0073bb
EndColor #0073bb
AttributeFontColor #4E5D6C
AttributeFontSize 11
}
skinparam queue {
FontColor $PRIMARY_TEXT
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
}
skinparam card {
BackgroundColor #0073bb
BorderColor #005c96
FontColor #FFF
}
skinparam file {
BackgroundColor #eeeeee
BorderColor #abb6c2
FontColor #4E5D6C
}
skinparam stack {
FontColor $PRIMARY_TEXT
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
}
title Sequence Diagram
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 << Person >>
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=#1D8102><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=#d13212><b>Bad request
group My own label
loop 1000 times
Alice -> Foo1: DNS Attack
end
end
else Just a Warning
Foo1 -> Alice: <font color=#EC7211><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>