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

921 lines
44 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="1616.6667px" preserveAspectRatio="none" style="width:1351px;height:1616px;background:#00000000;" version="1.1" viewBox="0 0 1351 1616" width="1351.0417px" zoomAndPan="magnify"><defs><linearGradient id="g16jnlp3rzq0ih0" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#CDCDCD"/><stop offset="100%" stop-color="#9A9A9A"/></linearGradient><linearGradient id="g16jnlp3rzq0ih1" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#E5E4E2"/><stop offset="100%" stop-color="#B7B6B5"/></linearGradient><linearGradient id="g16jnlp3rzq0ih2" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#FDFDFD"/><stop offset="100%" stop-color="#F2F2F2"/></linearGradient><linearGradient id="g16jnlp3rzq0ih3" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#C0D0E5"/><stop offset="100%" stop-color="#8D9DB2"/></linearGradient></defs><g><rect fill="url(#g16jnlp3rzq0ih0)" height="52.4028" rx="4.1667" ry="4.1667" style="stroke:#9A9A9A;stroke-width:1.0416666666666667;" width="388.5417" x="477.0833" y="32.9"/><text fill="#FDFDFD" font-family="Verdana" font-size="20.8333" lengthAdjust="spacing" textLength="355.2083" x="493.75" y="67.3869">Sequence Diagram - metal theme</text><rect fill="none" height="1494.6411" rx="7.8125" ry="7.8125" style="stroke:#737373;stroke-width:1.0416666666666667;" width="327.0833" x="979.1667" y="96.7611"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="111.4583" x="1086.9792" y="117.6615">Internal Service</text><rect fill="url(#g16jnlp3rzq0ih0)" height="246.3582" style="stroke:#9A9A9A;stroke-width:1.0416666666666667;" width="10.4167" x="417.1875" y="377.4943"/><line style="stroke:#9A9A9A;stroke-width:1.0416666666666667;" x1="68.75" x2="68.75" y1="195.461" y2="666.1275"/><line style="stroke:#9A9A9A;stroke-width:1.0416666666666667;stroke-dasharray:1.0,4.0;" x1="68.75" x2="68.75" y1="666.1275" y2="727.1525"/><line style="stroke:#9A9A9A;stroke-width:1.0416666666666667;" x1="68.75" x2="68.75" y1="727.1525" y2="1490.7939"/><line style="stroke:#9A9A9A;stroke-width:1.0416666666666667;" x1="254.1667" x2="254.1667" y1="195.461" y2="666.1275"/><line style="stroke:#9A9A9A;stroke-width:1.0416666666666667;stroke-dasharray:1.0,4.0;" x1="254.1667" x2="254.1667" y1="666.1275" y2="727.1525"/><line style="stroke:#9A9A9A;stroke-width:1.0416666666666667;" x1="254.1667" x2="254.1667" y1="727.1525" y2="1490.7939"/><line style="stroke:#9A9A9A;stroke-width:1.0416666666666667;" x1="421.875" x2="421.875" y1="195.461" y2="666.1275"/><line style="stroke:#9A9A9A;stroke-width:1.0416666666666667;stroke-dasharray:1.0,4.0;" x1="421.875" x2="421.875" y1="666.1275" y2="727.1525"/><line style="stroke:#9A9A9A;stroke-width:1.0416666666666667;" x1="421.875" x2="421.875" y1="727.1525" y2="1490.7939"/><line style="stroke:#9A9A9A;stroke-width:1.0416666666666667;" x1="587.5" x2="587.5" y1="195.461" y2="666.1275"/><line style="stroke:#9A9A9A;stroke-width:1.0416666666666667;stroke-dasharray:1.0,4.0;" x1="587.5" x2="587.5" y1="666.1275" y2="727.1525"/><line style="stroke:#9A9A9A;stroke-width:1.0416666666666667;" x1="587.5" x2="587.5" y1="727.1525" y2="1490.7939"/><line style="stroke:#9A9A9A;stroke-width:1.0416666666666667;" x1="772.9167" x2="772.9167" y1="195.461" y2="666.1275"/><line style="stroke:#9A9A9A;stroke-width:1.0416666666666667;stroke-dasharray:1.0,4.0;" x1="772.9167" x2="772.9167" y1="666.1275" y2="727.1525"/><line style="stroke:#9A9A9A;stroke-width:1.0416666666666667;" x1="772.9167" x2="772.9167" y1="727.1525" y2="1490.7939"/><line style="stroke:#9A9A9A;stroke-width:1.0416666666666667;" x1="876.0417" x2="876.0417" y1="195.461" y2="666.1275"/><line style="stroke:#9A9A9A;stroke-width:1.0416666666666667;stroke-dasharray:1.0,4.0;" x1="876.0417" x2="876.0417" y1="666.1275" y2="727.1525"/><line style="stroke:#9A9A9A;stroke-width:1.0416666666666667;" x1="876.0417" x2="876.0417" y1="727.1525" y2="1490.7939"/><line style="stroke:#9A9A9A;stroke-width:1.0416666666666667;" x1="1042.7083" x2="1042.7083" y1="195.461" y2="666.1275"/><line style="stroke:#9A9A9A;stroke-width:1.0416666666666667;stroke-dasharray:1.0,4.0;" x1="1042.7083" x2="1042.7083" y1="666.1275" y2="727.1525"/><line style="stroke:#9A9A9A;stroke-width:1.0416666666666667;" x1="1042.7083" x2="1042.7083" y1="727.1525" y2="1490.7939"/><line style="stroke:#9A9A9A;stroke-width:1.0416666666666667;" x1="1207.2917" x2="1207.2917" y1="195.461" y2="666.1275"/><line style="stroke:#9A9A9A;stroke-width:1.0416666666666667;stroke-dasharray:1.0,4.0;" x1="1207.2917" x2="1207.2917" y1="666.1275" y2="727.1525"/><line style="stroke:#9A9A9A;stroke-width:1.0416666666666667;" x1="1207.2917" x2="1207.2917" y1="727.1525" y2="1490.7939"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="32.2917" x="50" y="184.5032">Foo1</text><ellipse cx="69.2708" cy="108.3944" fill="url(#g16jnlp3rzq0ih1)" rx="8.3333" ry="8.3333" style="stroke:#B7B6B5;stroke-width:2.0833333333333335;"/><path d="M69.2708,116.7277 L69.2708,144.8527 M55.7292,125.061 L82.8125,125.061 M69.2708,144.8527 L55.7292,160.4777 M69.2708,144.8527 L82.8125,160.4777 " fill="none" style="stroke:#B7B6B5;stroke-width:2.0833333333333335;"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="32.2917" x="50" y="1510.6527">Foo1</text><ellipse cx="69.2708" cy="1532.0272" fill="url(#g16jnlp3rzq0ih1)" rx="8.3333" ry="8.3333" style="stroke:#B7B6B5;stroke-width:2.0833333333333335;"/><path d="M69.2708,1540.3605 L69.2708,1568.4855 M55.7292,1548.6938 L82.8125,1548.6938 M69.2708,1568.4855 L55.7292,1584.1105 M69.2708,1568.4855 L82.8125,1584.1105 " fill="none" style="stroke:#B7B6B5;stroke-width:2.0833333333333335;"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="32.2917" x="235.4167" y="184.5032">Foo2</text><path d="M233.3333,134.436 L233.3333,159.436 M233.3333,146.936 L251.0417,146.936 " fill="none" style="stroke:#B7B6B5;stroke-width:2.0833333333333335;"/><ellipse cx="263.5417" cy="146.936" fill="url(#g16jnlp3rzq0ih1)" rx="12.5" ry="12.5" style="stroke:#B7B6B5;stroke-width:2.0833333333333335;"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="32.2917" x="235.4167" y="1510.6527">Foo2</text><path d="M233.3333,1525.7772 L233.3333,1550.7772 M233.3333,1538.2772 L251.0417,1538.2772 " fill="none" style="stroke:#B7B6B5;stroke-width:2.0833333333333335;"/><ellipse cx="263.5417" cy="1538.2772" fill="url(#g16jnlp3rzq0ih1)" rx="12.5" ry="12.5" style="stroke:#B7B6B5;stroke-width:2.0833333333333335;"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="32.2917" x="403.125" y="184.5032">Foo3</text><ellipse cx="422.3958" cy="146.936" fill="url(#g16jnlp3rzq0ih1)" rx="12.5" ry="12.5" style="stroke:#B7B6B5;stroke-width:2.0833333333333335;"/><polygon fill="#B7B6B5" points="418.2292,134.436,424.4792,129.2277,422.3958,134.436,424.4792,139.6444,418.2292,134.436" style="stroke:#B7B6B5;stroke-width:1.0416666666666667;"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="32.2917" x="403.125" y="1510.6527">Foo3</text><ellipse cx="422.3958" cy="1538.2772" fill="url(#g16jnlp3rzq0ih1)" rx="12.5" ry="12.5" style="stroke:#B7B6B5;stroke-width:2.0833333333333335;"/><polygon fill="#B7B6B5" points="418.2292,1525.7772,424.4792,1520.5688,422.3958,1525.7772,424.4792,1530.9855,418.2292,1525.7772" style="stroke:#B7B6B5;stroke-width:1.0416666666666667;"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="32.2917" x="568.75" y="184.5032">Foo4</text><ellipse cx="588.0208" cy="146.936" fill="url(#g16jnlp3rzq0ih1)" rx="12.5" ry="12.5" style="stroke:#B7B6B5;stroke-width:2.0833333333333335;"/><line style="stroke:#B7B6B5;stroke-width:2.0833333333333335;" x1="575.5208" x2="600.5208" y1="161.5194" y2="161.5194"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="32.2917" x="568.75" y="1510.6527">Foo4</text><ellipse cx="588.0208" cy="1538.2772" fill="url(#g16jnlp3rzq0ih1)" rx="12.5" ry="12.5" style="stroke:#B7B6B5;stroke-width:2.0833333333333335;"/><line style="stroke:#B7B6B5;stroke-width:2.0833333333333335;" x1="575.5208" x2="600.5208" y1="1552.8605" y2="1552.8605"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="32.2917" x="754.1667" y="184.5032">Foo5</text><path d="M754.6875,126.1027 C754.6875,115.686 773.4375,115.686 773.4375,115.686 C773.4375,115.686 792.1875,115.686 792.1875,126.1027 L792.1875,153.186 C792.1875,163.6027 773.4375,163.6027 773.4375,163.6027 C773.4375,163.6027 754.6875,163.6027 754.6875,153.186 L754.6875,126.1027 " fill="url(#g16jnlp3rzq0ih1)" style="stroke:#B7B6B5;stroke-width:1.5625;"/><path d="M754.6875,126.1027 C754.6875,136.5194 773.4375,136.5194 773.4375,136.5194 C773.4375,136.5194 792.1875,136.5194 792.1875,126.1027 " fill="none" style="stroke:#B7B6B5;stroke-width:1.5625;"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="32.2917" x="754.1667" y="1510.6527">Foo5</text><path d="M754.6875,1532.0272 C754.6875,1521.6105 773.4375,1521.6105 773.4375,1521.6105 C773.4375,1521.6105 792.1875,1521.6105 792.1875,1532.0272 L792.1875,1559.1105 C792.1875,1569.5272 773.4375,1569.5272 773.4375,1569.5272 C773.4375,1569.5272 754.6875,1569.5272 754.6875,1559.1105 L754.6875,1532.0272 " fill="url(#g16jnlp3rzq0ih1)" style="stroke:#B7B6B5;stroke-width:1.5625;"/><path d="M754.6875,1532.0272 C754.6875,1542.4438 773.4375,1542.4438 773.4375,1542.4438 C773.4375,1542.4438 792.1875,1542.4438 792.1875,1532.0272 " fill="none" style="stroke:#B7B6B5;stroke-width:1.5625;"/><rect fill="url(#g16jnlp3rzq0ih1)" height="46.4417" rx="7.8125" ry="7.8125" style="stroke:#B7B6B5;stroke-width:1.5625;" width="63.5417" x="846.875" y="143.811"/><rect fill="url(#g16jnlp3rzq0ih1)" height="46.4417" rx="7.8125" ry="7.8125" style="stroke:#B7B6B5;stroke-width:1.5625;" width="63.5417" x="842.7083" y="147.9777"/><text fill="#4682B4" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="32.2917" x="858.3333" y="176.1698">Foo6</text><rect fill="url(#g16jnlp3rzq0ih1)" height="46.4417" rx="7.8125" ry="7.8125" style="stroke:#B7B6B5;stroke-width:1.5625;" width="63.5417" x="846.875" y="1489.7522"/><rect fill="url(#g16jnlp3rzq0ih1)" height="46.4417" rx="7.8125" ry="7.8125" style="stroke:#B7B6B5;stroke-width:1.5625;" width="63.5417" x="842.7083" y="1493.9189"/><text fill="#4682B4" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="32.2917" x="858.3333" y="1522.111">Foo6</text><rect fill="url(#g16jnlp3rzq0ih1)" height="46.4417" rx="7.8125" ry="7.8125" style="stroke:#B7B6B5;stroke-width:1.5625;" width="56.25" x="1014.5833" y="147.9777"/><text fill="#4682B4" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="25" x="1030.2083" y="176.1698">Bob</text><rect fill="url(#g16jnlp3rzq0ih1)" height="46.4417" rx="7.8125" ry="7.8125" style="stroke:#B7B6B5;stroke-width:1.5625;" width="56.25" x="1014.5833" y="1489.7522"/><text fill="#4682B4" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="25" x="1030.2083" y="1517.9443">Bob</text><rect fill="url(#g16jnlp3rzq0ih1)" height="61.6333" rx="7.8125" ry="7.8125" style="stroke:#B7B6B5;stroke-width:1.5625;" width="127.0833" x="1143.75" y="132.7861"/><ellipse cx="1161.4583" cy="150.4944" fill="#ADD1B2" rx="10.4167" ry="10.4167" style="stroke:#B7B6B5;stroke-width:1.0416666666666667;"/><path d="M1163.3626,154.9215 Q1162.9395,155.1331 1162.4674,155.247 Q1161.9954,155.3609 1161.4909,155.3609 Q1159.6354,155.3609 1158.6589,154.1565 Q1157.6986,152.9358 1157.6986,150.6409 Q1157.6986,148.3297 1158.6589,147.1252 Q1159.6354,145.9045 1161.4909,145.9045 Q1161.9954,145.9045 1162.4674,146.0185 Q1162.9557,146.1161 1163.3626,146.344 L1163.3626,148.3459 Q1162.9069,147.9228 1162.4674,147.7275 Q1162.028,147.5159 1161.5723,147.5159 Q1160.5794,147.5159 1160.0749,148.3134 Q1159.5703,149.0946 1159.5703,150.6409 Q1159.5703,152.1708 1160.0749,152.9521 Q1160.5794,153.7333 1161.5723,153.7333 Q1162.028,153.7333 1162.4674,153.538 Q1162.9069,153.3427 1163.3626,152.9195 L1163.3626,154.9215 Z " fill="#4682B4"/><text fill="#000000" font-family="Verdana" font-size="12.5" font-style="italic" lengthAdjust="spacing" textLength="68.75" x="1186.4583" y="160.9782">«Testable»</text><text fill="#4682B4" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="29.1667" x="1206.25" y="176.1698">Alice</text><rect fill="url(#g16jnlp3rzq0ih1)" height="61.6333" rx="7.8125" ry="7.8125" style="stroke:#B7B6B5;stroke-width:1.5625;" width="127.0833" x="1143.75" y="1489.7522"/><ellipse cx="1161.4583" cy="1507.4605" fill="#ADD1B2" rx="10.4167" ry="10.4167" style="stroke:#B7B6B5;stroke-width:1.0416666666666667;"/><path d="M1163.3626,1511.8876 Q1162.9395,1512.0992 1162.4674,1512.2131 Q1161.9954,1512.3271 1161.4909,1512.3271 Q1159.6354,1512.3271 1158.6589,1511.1226 Q1157.6986,1509.9019 1157.6986,1507.607 Q1157.6986,1505.2958 1158.6589,1504.0914 Q1159.6354,1502.8707 1161.4909,1502.8707 Q1161.9954,1502.8707 1162.4674,1502.9846 Q1162.9557,1503.0823 1163.3626,1503.3101 L1163.3626,1505.3121 Q1162.9069,1504.8889 1162.4674,1504.6936 Q1162.028,1504.482 1161.5723,1504.482 Q1160.5794,1504.482 1160.0749,1505.2795 Q1159.5703,1506.0608 1159.5703,1507.607 Q1159.5703,1509.137 1160.0749,1509.9182 Q1160.5794,1510.6995 1161.5723,1510.6995 Q1162.028,1510.6995 1162.4674,1510.5042 Q1162.9069,1510.3088 1163.3626,1509.8857 L1163.3626,1511.8876 Z " fill="#4682B4"/><text fill="#000000" font-family="Verdana" font-size="12.5" font-style="italic" lengthAdjust="spacing" textLength="68.75" x="1186.4583" y="1517.9443">«Testable»</text><text fill="#4682B4" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="29.1667" x="1206.25" y="1533.136">Alice</text><rect fill="url(#g16jnlp3rzq0ih0)" height="246.3582" style="stroke:#9A9A9A;stroke-width:1.0416666666666667;" width="10.4167" x="417.1875" y="377.4943"/><rect fill="url(#g16jnlp3rzq0ih2)" height="3.125" style="stroke:url(#g16jnlp3rzq0ih2);stroke-width:1.0416666666666667;" width="1343.75" x="0" y="235.3485"/><line style="stroke:#737373;stroke-width:1.0416666666666667;" x1="0" x2="1343.75" y1="235.3485" y2="235.3485"/><line style="stroke:#737373;stroke-width:1.0416666666666667;" x1="0" x2="1343.75" y1="238.4735" y2="238.4735"/><rect fill="url(#g16jnlp3rzq0ih2)" height="40.1917" style="stroke:#737373;stroke-width:2.0833333333333335;" width="121.875" x="610.9375" y="216.2944"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="86.4583" x="625.5208" y="241.3615">Initialization</text><polygon fill="#E5E4E2" points="242.1875,300.8443,252.6042,305.011,242.1875,309.1777,246.3542,305.011" style="stroke:#E5E4E2;stroke-width:1.0416666666666667;"/><line style="stroke:#E5E4E2;stroke-width:3.125;" x1="69.2708" x2="248.4375" y1="305.011" y2="305.011"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="40.625" x="84.8958" y="291.9698">[001]</text><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="82.2917" x="146.3542" y="291.9698">To boundary</text><polygon fill="#E5E4E2" points="404.6875,373.3276,415.1042,377.4943,404.6875,381.661,408.8542,377.4943" style="stroke:#E5E4E2;stroke-width:1.0416666666666667;"/><line style="stroke:#E5E4E2;stroke-width:3.125;" x1="254.6875" x2="410.9375" y1="377.4943" y2="377.4943"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="40.625" x="270.3125" y="364.4531">[002]</text><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="64.5833" x="331.7708" y="364.4531">To control</text><rect height="89.325" style="stroke:#737373;stroke-width:2.0833333333333335;fill:none;" width="246.875" x="557.2917" y="385.8276"/><polygon fill="#EEEEEE" points="557.2917,385.8276,640.625,385.8276,640.625,408.7443,630.2083,419.161,557.2917,419.161,557.2917,385.8276" style="stroke:#737373;stroke-width:2.0833333333333335;"/><text fill="#4682B4" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="19.7917" x="579.1667" y="408.8114">ref</text><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="94.7917" x="633.3333" y="444.2281">This can be on</text><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="82.2917" x="633.3333" y="459.4198">several lines</text><polygon fill="#E5E4E2" points="575.5208,514.3026,585.9375,518.4692,575.5208,522.6359,579.6875,518.4692" style="stroke:#E5E4E2;stroke-width:1.0416666666666667;"/><line style="stroke:#E5E4E2;stroke-width:3.125;" x1="427.6042" x2="581.7708" y1="518.4692" y2="518.4692"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="40.625" x="443.2292" y="505.4281">[003]</text><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="57.2917" x="504.6875" y="505.4281">To entity</text><polygon fill="#E5E4E2" points="760.9375,560.7442,771.3542,564.9109,760.9375,569.0776,765.1042,564.9109" style="stroke:#E5E4E2;stroke-width:1.0416666666666667;"/><line style="stroke:#E5E4E2;stroke-width:3.125;" x1="588.0208" x2="767.1875" y1="564.9109" y2="564.9109"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="40.625" x="603.6458" y="551.8697">[004]</text><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="82.2917" x="665.1042" y="551.8697">To database</text><polygon fill="#E5E4E2" points="439.0625,573.2442,428.6458,577.4109,439.0625,581.5776,434.8958,577.4109" style="stroke:#E5E4E2;stroke-width:1.0416666666666667;"/><line style="stroke:#E5E4E2;stroke-width:3.125;stroke-dasharray:2.0,2.0;" x1="432.8125" x2="772.3958" y1="577.4109" y2="577.4109"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="40.625" x="453.6458" y="599.353">[005]</text><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="40.625" x="515.1042" y="599.353">return</text><polygon fill="#E5E4E2" points="266.1458,619.6859,255.7292,623.8525,266.1458,628.0192,261.9792,623.8525" style="stroke:#E5E4E2;stroke-width:1.0416666666666667;"/><line style="stroke:#E5E4E2;stroke-width:3.125;stroke-dasharray:2.0,2.0;" x1="259.8958" x2="421.3542" y1="623.8525" y2="623.8525"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="40.625" x="280.7292" y="645.7947">[006]</text><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="40.625" x="342.1875" y="645.7947">return</text><text fill="#000000" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="36.4583" x="584.1146" y="701.6113">Some</text><text fill="#000000" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="67.7083" x="624.7396" y="701.6113">long delay</text><text fill="#000000" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="0" x="696.6146" y="701.6113"/><polygon fill="#E5E4E2" points="864.0625,761.0942,874.4792,765.2608,864.0625,769.4275,868.2292,765.2608" style="stroke:#E5E4E2;stroke-width:1.0416666666666667;"/><line style="stroke:#E5E4E2;stroke-width:3.125;" x1="69.2708" x2="870.3125" y1="765.2608" y2="765.2608"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="40.625" x="84.8958" y="752.2196">[007]</text><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="87.5" x="146.3542" y="752.2196">To collections</text><polygon fill="#E5E4E2" points="599.4792,773.5942,589.0625,777.7608,599.4792,781.9275,595.3125,777.7608" style="stroke:#E5E4E2;stroke-width:1.0416666666666667;"/><line style="stroke:#E5E4E2;stroke-width:3.125;stroke-dasharray:2.0,2.0;" x1="593.2292" x2="875.5208" y1="777.7608" y2="777.7608"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="40.625" x="614.0625" y="799.703">[008]</text><text fill="#339933" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="53.125" x="675.5208" y="799.703">success</text><path d="M18.2292,827.3275 L95.8333,827.3275 L95.8333,850.2441 L85.4167,860.6608 L10.4167,860.6608 L10.4167,835.14 " style="stroke:#737373;stroke-width:1.0416666666666667;fill:none;"/><rect fill="none" height="562.6831" rx="7.8125" ry="7.8125" style="stroke:#737373;stroke-width:2.0833333333333335;" width="1322.9167" x="10.4167" y="827.3275"/><text fill="#4682B4" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="17.7083" x="34.375" y="849.2696">alt</text><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="118.75" x="119.7917" y="850.3113">[successful case]</text><polygon fill="#E5E4E2" points="1194.7917,911.4441,1205.2083,915.6108,1194.7917,919.7774,1198.9583,915.6108" style="stroke:#E5E4E2;stroke-width:1.0416666666666667;"/><line style="stroke:#E5E4E2;stroke-width:3.125;" x1="69.2708" x2="1201.0417" y1="915.6108" y2="915.6108"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="40.625" x="84.8958" y="902.5696">[009]</text><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="158.3333" x="146.3542" y="902.5696">Authentication Accepted</text><polygon fill="#E5E4E2" points="80.7292,923.9441,70.3125,928.1108,80.7292,932.2774,76.5625,928.1108" style="stroke:#E5E4E2;stroke-width:1.0416666666666667;"/><line style="stroke:#E5E4E2;stroke-width:3.125;stroke-dasharray:2.0,2.0;" x1="74.4792" x2="1206.25" y1="928.1108" y2="928.1108"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="40.625" x="95.3125" y="950.0529">[010]</text><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="51.0417" x="156.7708" y="950.0529">success</text><path d="M1048.9583,983.4066 L1048.9583,1009.4482 A7.8125,7.8125 0 0 0 1056.7708,1017.2607 L1194.2708,1017.2607 A7.8125,7.8125 0 0 0 1202.0833,1009.4482 L1202.0833,986.0107 L1191.6667,975.5941 L1056.7708,975.5941 A7.8125,7.8125 0 0 0 1048.9583,983.4066 " fill="url(#g16jnlp3rzq0ih3)" style="stroke:#8D9DB2;stroke-width:1.0416666666666667;"/><path d="M1191.6667,975.5941 L1191.6667,982.1045 A3.9063,3.9063 0 0 0 1195.5729,986.0107 L1202.0833,986.0107 L1191.6667,975.5941 " fill="url(#g16jnlp3rzq0ih3)" style="stroke:#8D9DB2;stroke-width:1.0416666666666667;"/><text fill="#FDFDFD" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="114.5833" x="1063.5417" y="1001.7029">this is a first note</text><line style="stroke:#737373;stroke-width:1.0416666666666667;stroke-dasharray:2.0,2.0;" x1="10.4167" x2="1333.3333" y1="1024.1191" y2="1024.1191"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="148.9583" x="23.9583" y="1045.0195">[some kind of failure]</text><polygon fill="#E5E4E2" points="1194.7917,1090.9607,1205.2083,1095.1274,1194.7917,1099.294,1198.9583,1095.1274" style="stroke:#E5E4E2;stroke-width:1.0416666666666667;"/><line style="stroke:#E5E4E2;stroke-width:3.125;" x1="69.2708" x2="1201.0417" y1="1095.1274" y2="1095.1274"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="40.625" x="84.8958" y="1082.0862">[011]</text><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="142.7083" x="146.3542" y="1082.0862">Authentication Failure</text><polygon fill="#E5E4E2" points="80.7292,1103.4607,70.3125,1107.6274,80.7292,1111.794,76.5625,1107.6274" style="stroke:#E5E4E2;stroke-width:1.0416666666666667;"/><line style="stroke:#E5E4E2;stroke-width:3.125;stroke-dasharray:2.0,2.0;" x1="74.4792" x2="1206.25" y1="1107.6274" y2="1107.6274"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="40.625" x="95.3125" y="1129.5695">[012]</text><text fill="#B7410E" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="82.2917" x="156.7708" y="1129.5695">Bad request</text><path d="M28.6458,1157.194 L175,1157.194 L175,1180.1107 L164.5833,1190.5273 L20.8333,1190.5273 L20.8333,1165.0065 " style="stroke:#737373;stroke-width:1.0416666666666667;fill:none;"/><rect fill="none" height="145.1416" rx="7.8125" ry="7.8125" style="stroke:#737373;stroke-width:2.0833333333333335;" width="1302.0833" x="20.8333" y="1157.194"/><text fill="#4682B4" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="90.625" x="44.7917" y="1179.1361">My own label</text><path d="M39.0625,1198.4273 L123.9583,1198.4273 L123.9583,1221.344 L113.5417,1231.7607 L31.25,1231.7607 L31.25,1206.2398 " style="stroke:#737373;stroke-width:1.0416666666666667;fill:none;"/><rect fill="none" height="96.6166" rx="7.8125" ry="7.8125" style="stroke:#737373;stroke-width:2.0833333333333335;" width="1281.25" x="31.25" y="1198.4273"/><text fill="#4682B4" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="29.1667" x="55.2083" y="1220.3695">loop</text><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="91.6667" x="147.9167" y="1221.4111">[1000 times]</text><polygon fill="#E5E4E2" points="80.7292,1248.6023,70.3125,1252.769,80.7292,1256.9356,76.5625,1252.769" style="stroke:#E5E4E2;stroke-width:1.0416666666666667;"/><line style="stroke:#E5E4E2;stroke-width:3.125;" x1="74.4792" x2="1206.25" y1="1252.769" y2="1252.769"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="40.625" x="95.3125" y="1274.7111">[013]</text><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="71.875" x="156.7708" y="1274.7111">DNS Attack</text><line style="stroke:#737373;stroke-width:1.0416666666666667;stroke-dasharray:2.0,2.0;" x1="10.4167" x2="1333.3333" y1="1310.6689" y2="1310.6689"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="115.625" x="23.9583" y="1331.5694">[Just a Warning]</text><polygon fill="#E5E4E2" points="1194.7917,1377.5106,1205.2083,1381.6772,1194.7917,1385.8439,1198.9583,1381.6772" style="stroke:#E5E4E2;stroke-width:1.0416666666666667;"/><line style="stroke:#E5E4E2;stroke-width:3.125;" x1="69.2708" x2="1201.0417" y1="1381.6772" y2="1381.6772"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="40.625" x="84.8958" y="1368.6361">[014]</text><text fill="#FFD700" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="94.7917" x="146.3542" y="1368.6361">Please repeat</text><path d="M43.75,1410.3231 L43.75,1466.5731 A7.8125,7.8125 0 0 0 51.5625,1474.3856 L271.3542,1474.3856 A7.8125,7.8125 0 0 0 279.1667,1466.5731 L279.1667,1412.9272 L268.75,1402.5106 L51.5625,1402.5106 A7.8125,7.8125 0 0 0 43.75,1410.3231 " fill="url(#g16jnlp3rzq0ih3)" style="stroke:#8D9DB2;stroke-width:1.0416666666666667;"/><path d="M268.75,1402.5106 L268.75,1409.021 A3.9063,3.9063 0 0 0 272.6563,1412.9272 L279.1667,1412.9272 L268.75,1402.5106 " fill="url(#g16jnlp3rzq0ih3)" style="stroke:#8D9DB2;stroke-width:1.0416666666666667;"/><text fill="#FDFDFD" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="136.4583" x="88.5417" y="1428.6194">this is a second note</text><text fill="#FDFDFD" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="81.25" x="88.5417" y="1443.811">that is really</text><text fill="#FDFDFD" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="28.125" x="88.5417" y="1459.0027">long</text><text fill="#888888" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="85.4167" x="1258.3333" y="17.7755">Page Header</text><text fill="#888888" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="75" x="634.375" y="1608.136">Page 1 of 1</text><!--MD5=[ead107e7a71d11d34a107b4f3c1eaeff]
@startuml
!$THEME = "metal"
!if %not(%variable_exists("$BGCOLOR"))
!$BGCOLOR = "transparent"
!endif
skinparam backgroundColor $BGCOLOR
skinparam useBetaStyle false
!$WHITE = "#fdfdfd"
!$GRAY_DARK = "#4d4d4d"
!$GRAY = "#737373"
!$LIGHT = "#f2f2f2"
!$DARK = "#4d4d4d"
!$SILVER = "#c0c0c0"
!$COPPER = "#B87333c"
!$STEELBLUE = "#4682b4"
!$LIGHTSTEELBLUE = "#B0C4DE"
!$LIGHTSTEELBLUE_DARK = "#8d9db2"
!$LIGHTSTEELBLUE_LIGHT = "#c0d0e5"
!$ALUMINUM = "#c9ced0"
!$ALUMINUM_DARK = "#a1a5a6"
!$ALUMINUM_LIGHT = "#d4d8d9"
!$BRONZE = "#CD7F32"
!$BRONZE_DARK = "#a46628"
!$BRONZE_LIGHT = "#d7995b"
!$GOLD = "#FFD700"
!$PLATINUM = "#E5E4E2"
!$RUST = "#B7410E"
!$FGCOLOR = $DARK
!$PRIMARY = $PLATINUM
!$PRIMARY_LIGHT = "#eae9e8"
!$PRIMARY_DARK = "#b7b6b5"
!$PRIMARY_TEXT = $STEELBLUE
!$SECONDARY = $SILVER
!$SECONDARY_LIGHT = "#cdcdcd"
!$SECONDARY_DARK = "#9a9a9a"
!$SECONDARY_TEXT = $WHITE
!$INFO = $STEELBLUE
!$INFO_LIGHT = "#5c85ad"
!$INFO_DARK = "#29527a"
!$INFO_TEXT = $WHITE
!$SUCCESS = "#339933"
!$SUCCESS_LIGHT = "#5cad5c"
!$SUCCESS_DARK = "#297a29"
!$SUCCESS_TEXT = $WHITE
!$WARNING = $GOLD
!$WARNING_LIGHT = "#ffdf33"
!$WARNING_DARK = "#ccac00"
!$WARNING_TEXT = $WHITE
!$DANGER = $RUST
!$DANGER_LIGHT = "#c5673e"
!$DANGER_DARK = "#92340b"
!$DANGER_TEXT = $WHITE
!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-$PRIMARY_DARK
!endprocedure
skinparam defaultFontName "Verdana"
skinparam defaultFontSize 12
skinparam dpi 100
skinparam shadowing false
skinparam roundcorner 15
skinparam ParticipantPadding 30
skinparam BoxPadding 30
skinparam Padding 8
skinparam ArrowColor $GRAY
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 $WHITE
BorderColor $SECONDARY_DARK
FontSize 20
BorderRoundCorner 8
BorderThickness 1
BackgroundColor $SECONDARY_LIGHT-$SECONDARY_DARK
}
skinparam legend {
BackgroundColor $PRIMARY_LIGHT-$PRIMARY
BorderColor $SECONDARY_DARK
FontColor $PRIMARY_TEXT
}
!startsub swimlane
skinparam swimlane {
BorderColor $INFO
BorderThickness 2
TitleBackgroundColor $SECONDARY_LIGHT-$SECONDARY
TitleFontColor $PRIMARY
}
!endsub
!startsub activity
skinparam activity {
$primary_scheme()
BarColor $BRONZE
StartColor $INFO
EndColor $INFO
DiamondBackgroundColor $SECONDARY-$SECONDARY_DARK
DiamondBorderColor $SECONDARY_DARK
DiamondFontColor $SECONDARY_TEXT
}
!endsub
!startsub participant
skinparam participant {
$primary_scheme()
ParticipantBorderThickness 2
}
!endsub
!startsub actor
skinparam actor {
$primary_scheme()
FontColor $DARK
}
!endsub
!startsub arrow
skinparam arrow {
Thickness 3
Color $PRIMARY
FontColor $FGCOLOR
}
!endsub
!startsub sequence
skinparam sequence {
BorderColor $PRIMARY
TitleFontColor $WHITE
BackgroundColor $BGCOLOR
StartColor $PRIMARY
EndColor $PRIMARY
BoxBackgroundColor $BGCOLOR
BoxBorderColor $GRAY
BoxFontColor $DARK
LifeLineBorderColor $SECONDARY_DARK
LifeLineBorderThickness 3
LifeLineBackgroundColor $SECONDARY_LIGHT-$SECONDARY_DARK
GroupBorderColor $GRAY
GroupFontColor $DARK
GroupHeaderFontColor $INFO
GroupBackgroundColor $BGCOLOR
GroupBodyBackgroundColor $BGCOLOR
GroupHeaderBackgroundColor $BGCOLOR
DividerBackgroundColor $WHITE-$LIGHT
DividerBorderColor $GRAY
DividerBorderThickness 2
DividerFontColor $DARK
ReferenceBackgroundColor $BGCOLOR
ReferenceBorderColor $GRAY
ReferenceFontColor $DARK
ReferenceHeaderFontColor $INFO
}
!endsub
!startsub partition
skinparam partition {
BorderColor $PRIMARY
FontColor $PRIMARY_DARK
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 #orange
BorderColor #999999
FontColor #333333
}
!endsub
!startsub note
skinparam note {
BorderThickness 1
BackgroundColor $LIGHTSTEELBLUE_LIGHT-$LIGHTSTEELBLUE_DARK
BorderColor $LIGHTSTEELBLUE_DARK
FontColor $WHITE
}
!endsub
!startsub artifact
skinparam artifact {
BackgroundColor $SECONDARY_LIGHT-$SECONDARY_DARK
BorderColor $SECONDARY_DARK
FontColor $SECONDARY_TEXT
}
!endsub
!startsub component
skinparam component {
$primary_scheme()
}
!endsub
!startsub interface
skinparam interface {
BackgroundColor $DANGER_LIGHT
BorderColor $DANGER
FontColor $DARK
}
!endsub
!startsub storage
skinparam storage {
BackgroundColor $WARNING_LIGHT-$WARNING_DARK
BorderColor $WARNING_DARK
FontColor $WARNING_TEXT
}
!endsub
!startsub node
skinparam node {
BackgroundColor $PRIMARY_LIGHT-$PRIMARY
BorderColor $PRIMARY
FontColor $DARK
}
!endsub
!startsub cloud
skinparam cloud {
BackgroundColor transparent
BorderColor #F2FCFE
FontColor $DARK
}
!endsub
!startsub database
skinparam database {
$primary_scheme()
FontColor $DARK
}
!endsub
!startsub class
skinparam class {
$primary_scheme()
HeaderBackgroundColor $PRIMARY_LIGHT-$PRIMARY_DARK
StereotypeFontColor $DARK
BorderThickness 1
AttributeFontColor $DARK
AttributeFontSize 11
}
!endsub
!startsub object
skinparam object {
$primary_scheme()
StereotypeFontColor $LIGHT
BorderThickness 1
AttributeFontColor $WHITE
AttributeFontSize 11
}
!endsub
!startsub usecase
skinparam usecase {
$primary_scheme()
BorderThickness 2
StereotypeFontColor $PRIMARY
}
!endsub
!startsub rectangle
skinparam rectangle {
$primary_scheme()
BackgroundColor $WHITE-$LIGHT
BorderThickness 2
StereotypeFontColor $PRIMARY
}
!endsub
!startsub package
skinparam package {
$primary_scheme()
BackgroundColor $PRIMARY_LIGHT-$PRIMARY
BorderThickness 2
}
!endsub
!startsub folder
skinparam folder {
BackgroundColor $PRIMARY_LIGHT-$PRIMARY
BorderColor $RUST
FontColor $RUST
BorderThickness 2
}
!endsub
!startsub frame
skinparam frame {
BackgroundColor $PRIMARY_LIGHT-$PRIMARY
BorderColor $INFO
FontColor $INFO
BorderThickness 2
}
!endsub
!startsub state
skinparam state {
$primary_scheme()
StartColor $INFO
EndColor $INFO
AttributeFontColor $SECONDARY
AttributeFontSize 11
}
!endsub
!startsub queue
skinparam queue {
$primary_scheme()
}
!endsub
!startsub card
skinparam card {
BackgroundColor $INFO_LIGHT-$INFO_DARK
BorderColor $INFO
FontColor $INFO_TEXT
}
!endsub
!startsub file
skinparam file {
BackgroundColor $SECONDARY_LIGHT-$SECONDARY_DARK
BorderColor $GRAY
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 15
skinparam ParticipantPadding 30
skinparam BoxPadding 30
skinparam Padding 8
skinparam ArrowColor #737373
skinparam stereotype {
CBackgroundColor #cdcdcd
CBorderColor #9a9a9a
ABackgroundColor #5cad5c
ABorderColor #297a29
IBackgroundColor #c5673e
IBorderColor #92340b
EBackgroundColor #ffdf33
EBorderColor #ccac00
NBackgroundColor #5c85ad
NBorderColor #29527a
}
skinparam title {
FontColor #fdfdfd
BorderColor #9a9a9a
FontSize 20
BorderRoundCorner 8
BorderThickness 1
BackgroundColor #cdcdcd-#9a9a9a
}
skinparam legend {
BackgroundColor #eae9e8-#E5E4E2
BorderColor #9a9a9a
FontColor #4682b4
}
skinparam swimlane {
BorderColor #4682b4
BorderThickness 2
TitleBackgroundColor #cdcdcd-#c0c0c0
TitleFontColor #E5E4E2
}
skinparam activity {
FontColor #4682b4
BorderColor #b7b6b5
BackgroundColor #E5E4E2-#b7b6b5
BarColor #CD7F32
StartColor #4682b4
EndColor #4682b4
DiamondBackgroundColor #c0c0c0-#9a9a9a
DiamondBorderColor #9a9a9a
DiamondFontColor #fdfdfd
}
skinparam participant {
FontColor #4682b4
BorderColor #b7b6b5
BackgroundColor #E5E4E2-#b7b6b5
ParticipantBorderThickness 2
}
skinparam actor {
FontColor #4682b4
BorderColor #b7b6b5
BackgroundColor #E5E4E2-#b7b6b5
FontColor #4d4d4d
}
skinparam arrow {
Thickness 3
Color #E5E4E2
FontColor #4d4d4d
}
skinparam sequence {
BorderColor #E5E4E2
TitleFontColor #fdfdfd
BackgroundColor transparent
StartColor #E5E4E2
EndColor #E5E4E2
BoxBackgroundColor transparent
BoxBorderColor #737373
BoxFontColor #4d4d4d
LifeLineBorderColor #9a9a9a
LifeLineBorderThickness 3
LifeLineBackgroundColor #cdcdcd-#9a9a9a
GroupBorderColor #737373
GroupFontColor #4d4d4d
GroupHeaderFontColor #4682b4
GroupBackgroundColor transparent
GroupBodyBackgroundColor transparent
GroupHeaderBackgroundColor transparent
DividerBackgroundColor #fdfdfd-#f2f2f2
DividerBorderColor #737373
DividerBorderThickness 2
DividerFontColor #4d4d4d
ReferenceBackgroundColor transparent
ReferenceBorderColor #737373
ReferenceFontColor #4d4d4d
ReferenceHeaderFontColor #4682b4
}
skinparam partition {
BorderColor #E5E4E2
FontColor #b7b6b5
BackgroundColor transparent
}
skinparam collections {
FontColor #4682b4
BorderColor #b7b6b5
BackgroundColor #E5E4E2-#b7b6b5
}
skinparam control {
FontColor #4682b4
BorderColor #b7b6b5
BackgroundColor #E5E4E2-#b7b6b5
FontColor #4d4d4d
}
skinparam entity {
FontColor #4682b4
BorderColor #b7b6b5
BackgroundColor #E5E4E2-#b7b6b5
FontColor #4d4d4d
}
skinparam boundary {
FontColor #4682b4
BorderColor #b7b6b5
BackgroundColor #E5E4E2-#b7b6b5
FontColor #4d4d4d
}
skinparam agent {
BackgroundColor #orange
BorderColor #999999
FontColor #333333
}
skinparam note {
BorderThickness 1
BackgroundColor #c0d0e5-#8d9db2
BorderColor #8d9db2
FontColor #fdfdfd
}
skinparam artifact {
BackgroundColor #cdcdcd-#9a9a9a
BorderColor #9a9a9a
FontColor #fdfdfd
}
skinparam component {
FontColor #4682b4
BorderColor #b7b6b5
BackgroundColor #E5E4E2-#b7b6b5
}
skinparam interface {
BackgroundColor #c5673e
BorderColor #B7410E
FontColor #4d4d4d
}
skinparam storage {
BackgroundColor #ffdf33-#ccac00
BorderColor #ccac00
FontColor #fdfdfd
}
skinparam node {
BackgroundColor #eae9e8-#E5E4E2
BorderColor #E5E4E2
FontColor #4d4d4d
}
skinparam cloud {
BackgroundColor transparent
BorderColor #F2FCFE
FontColor #4d4d4d
}
skinparam database {
FontColor #4682b4
BorderColor #b7b6b5
BackgroundColor #E5E4E2-#b7b6b5
FontColor #4d4d4d
}
skinparam class {
FontColor #4682b4
BorderColor #b7b6b5
BackgroundColor #E5E4E2-#b7b6b5
HeaderBackgroundColor #eae9e8-#b7b6b5
StereotypeFontColor #4d4d4d
BorderThickness 1
AttributeFontColor #4d4d4d
AttributeFontSize 11
}
skinparam object {
FontColor #4682b4
BorderColor #b7b6b5
BackgroundColor #E5E4E2-#b7b6b5
StereotypeFontColor #f2f2f2
BorderThickness 1
AttributeFontColor #fdfdfd
AttributeFontSize 11
}
skinparam usecase {
FontColor #4682b4
BorderColor #b7b6b5
BackgroundColor #E5E4E2-#b7b6b5
BorderThickness 2
StereotypeFontColor #E5E4E2
}
skinparam rectangle {
FontColor #4682b4
BorderColor #b7b6b5
BackgroundColor #E5E4E2-#b7b6b5
BackgroundColor #fdfdfd-#f2f2f2
BorderThickness 2
StereotypeFontColor #E5E4E2
}
skinparam package {
FontColor #4682b4
BorderColor #b7b6b5
BackgroundColor #E5E4E2-#b7b6b5
BackgroundColor #eae9e8-#E5E4E2
BorderThickness 2
}
skinparam folder {
BackgroundColor #eae9e8-#E5E4E2
BorderColor #B7410E
FontColor #B7410E
BorderThickness 2
}
skinparam frame {
BackgroundColor #eae9e8-#E5E4E2
BorderColor #4682b4
FontColor #4682b4
BorderThickness 2
}
skinparam state {
FontColor #4682b4
BorderColor #b7b6b5
BackgroundColor #E5E4E2-#b7b6b5
StartColor #4682b4
EndColor #4682b4
AttributeFontColor #c0c0c0
AttributeFontSize 11
}
skinparam queue {
FontColor #4682b4
BorderColor #b7b6b5
BackgroundColor #E5E4E2-#b7b6b5
}
skinparam card {
BackgroundColor #5c85ad-#29527a
BorderColor #4682b4
FontColor #fdfdfd
}
skinparam file {
BackgroundColor #cdcdcd-#9a9a9a
BorderColor #737373
FontColor #f2f2f2
}
skinparam stack {
FontColor #4682b4
BorderColor #b7b6b5
BackgroundColor #E5E4E2-#b7b6b5
}
title Sequence Diagram - metal 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=#339933><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=#B7410E><b>Bad request
group My own label
loop 1000 times
Alice -> Foo1: DNS Attack
end
end
else Just a Warning
Foo1 -> Alice: <font color=#FFD700><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>