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

347 lines
36 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="1232.2917px" preserveAspectRatio="none" style="width:1051px;height:1232px;" version="1.1" viewBox="0 0 1051 1232" width="1051.0417px" zoomAndPan="magnify"><defs><linearGradient id="gxiuz8gcr55dc0" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#EDF0F2"/><stop offset="100%" stop-color="#E9ECEF"/></linearGradient><linearGradient id="gxiuz8gcr55dc1" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#59B6EC"/><stop offset="100%" stop-color="#2FA4E7"/></linearGradient><linearGradient id="gxiuz8gcr55dc2" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#FFFFFF"/><stop offset="100%" stop-color="#F8F9FA"/></linearGradient><linearGradient id="gxiuz8gcr55dc3" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#35638F"/><stop offset="100%" stop-color="#033C73"/></linearGradient></defs><g><rect fill="url(#gxiuz8gcr55dc0)" height="29.775" rx="4.1667" ry="4.1667" style="stroke: #BABDBF; stroke-width: 1.0416666666666667;" width="270.8333" x="384.8958" y="30.8167"/><text fill="#2FA4E7" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="250" x="395.3125" y="50.6755">Sequence Diagram - cerulean theme</text><rect fill="#F8F9FA" height="1129.8828" rx="4.1667" ry="4.1667" style="stroke: #868E96; stroke-width: 1.0416666666666667;" width="214.5833" x="786.4583" y="72.05"/><text fill="#343A40" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="111.4583" x="838.0208" y="86.7004">Internal Service</text><rect fill="#EDF0F2" height="205.2999" style="stroke: #BABDBF; stroke-width: 1.0416666666666667;" width="10.4167" x="364.0625" y="300.5249"/><rect fill="#FFFFFF" height="387.6831" rx="4.1667" ry="4.1667" style="stroke: #868E96; stroke-width: 2.0833333333333335;" width="1014.5833" x="13.5417" y="637.8581"/><rect fill="#FFFFFF" height="199.0499" style="stroke: none; stroke-width: 1.0416666666666667;" width="1014.5833" x="13.5417" y="771.108"/><rect fill="#FFFFFF" height="95.1416" rx="4.1667" ry="4.1667" style="stroke: #868E96; stroke-width: 2.0833333333333335;" width="993.75" x="23.9583" y="867.7246"/><rect fill="#FFFFFF" height="59.1166" rx="4.1667" ry="4.1667" style="stroke: #868E96; stroke-width: 2.0833333333333335;" width="972.9167" x="34.375" y="896.4579"/><rect fill="#FFFFFF" height="55.3833" style="stroke: none; stroke-width: 1.0416666666666667;" width="1014.5833" x="13.5417" y="970.1579"/><line style="stroke: #BABDBF; stroke-width: 1.0416666666666667;" x1="65.625" x2="65.625" y1="155.9916" y2="514.1581"/><line style="stroke: #BABDBF; stroke-width: 1.0416666666666667; stroke-dasharray: 1.0,4.0;" x1="65.625" x2="65.625" y1="514.1581" y2="562.6831"/><line style="stroke: #BABDBF; stroke-width: 1.0416666666666667;" x1="65.625" x2="65.625" y1="562.6831" y2="1113.8245"/><line style="stroke: #BABDBF; stroke-width: 1.0416666666666667;" x1="226.0417" x2="226.0417" y1="155.9916" y2="514.1581"/><line style="stroke: #BABDBF; stroke-width: 1.0416666666666667; stroke-dasharray: 1.0,4.0;" x1="226.0417" x2="226.0417" y1="514.1581" y2="562.6831"/><line style="stroke: #BABDBF; stroke-width: 1.0416666666666667;" x1="226.0417" x2="226.0417" y1="562.6831" y2="1113.8245"/><line style="stroke: #BABDBF; stroke-width: 1.0416666666666667;" x1="368.75" x2="368.75" y1="155.9916" y2="514.1581"/><line style="stroke: #BABDBF; stroke-width: 1.0416666666666667; stroke-dasharray: 1.0,4.0;" x1="368.75" x2="368.75" y1="514.1581" y2="562.6831"/><line style="stroke: #BABDBF; stroke-width: 1.0416666666666667;" x1="368.75" x2="368.75" y1="562.6831" y2="1113.8245"/><line style="stroke: #BABDBF; stroke-width: 1.0416666666666667;" x1="509.375" x2="509.375" y1="155.9916" y2="514.1581"/><line style="stroke: #BABDBF; stroke-width: 1.0416666666666667; stroke-dasharray: 1.0,4.0;" x1="509.375" x2="509.375" y1="514.1581" y2="562.6831"/><line style="stroke: #BABDBF; stroke-width: 1.0416666666666667;" x1="509.375" x2="509.375" y1="562.6831" y2="1113.8245"/><line style="stroke: #BABDBF; stroke-width: 1.0416666666666667;" x1="669.7917" x2="669.7917" y1="155.9916" y2="514.1581"/><line style="stroke: #BABDBF; stroke-width: 1.0416666666666667; stroke-dasharray: 1.0,4.0;" x1="669.7917" x2="669.7917" y1="514.1581" y2="562.6831"/><line style="stroke: #BABDBF; stroke-width: 1.0416666666666667;" x1="669.7917" x2="669.7917" y1="562.6831" y2="1113.8245"/><line style="stroke: #BABDBF; stroke-width: 1.0416666666666667;" x1="739.5833" x2="739.5833" y1="155.9916" y2="514.1581"/><line style="stroke: #BABDBF; stroke-width: 1.0416666666666667; stroke-dasharray: 1.0,4.0;" x1="739.5833" x2="739.5833" y1="514.1581" y2="562.6831"/><line style="stroke: #BABDBF; stroke-width: 1.0416666666666667;" x1="739.5833" x2="739.5833" y1="562.6831" y2="1113.8245"/><line style="stroke: #BABDBF; stroke-width: 1.0416666666666667;" x1="822.9167" x2="822.9167" y1="155.9916" y2="514.1581"/><line style="stroke: #BABDBF; stroke-width: 1.0416666666666667; stroke-dasharray: 1.0,4.0;" x1="822.9167" x2="822.9167" y1="514.1581" y2="562.6831"/><line style="stroke: #BABDBF; stroke-width: 1.0416666666666667;" x1="822.9167" x2="822.9167" y1="562.6831" y2="1113.8245"/><line style="stroke: #BABDBF; stroke-width: 1.0416666666666667;" x1="931.25" x2="931.25" y1="155.9916" y2="514.1581"/><line style="stroke: #BABDBF; stroke-width: 1.0416666666666667; stroke-dasharray: 1.0,4.0;" x1="931.25" x2="931.25" y1="514.1581" y2="562.6831"/><line style="stroke: #BABDBF; stroke-width: 1.0416666666666667;" x1="931.25" x2="931.25" y1="562.6831" y2="1113.8245"/><text fill="#343A40" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="32.2917" x="46.875" y="151.2838">Foo1</text><ellipse cx="66.1458" cy="81.425" fill="#FFFFFF" rx="8.3333" ry="8.3333" style="stroke: #2FA4E7; stroke-width: 2.0833333333333335;"/><path d="M66.1458,89.7583 L66.1458,117.8833 M52.6042,98.0916 L79.6875,98.0916 M66.1458,117.8833 L52.6042,133.5083 M66.1458,117.8833 L79.6875,133.5083 " fill="none" style="stroke: #2FA4E7; stroke-width: 2.0833333333333335;"/><text fill="#343A40" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="32.2917" x="46.875" y="1127.4333">Foo1</text><ellipse cx="66.1458" cy="1142.5578" fill="#FFFFFF" rx="8.3333" ry="8.3333" style="stroke: #2FA4E7; stroke-width: 2.0833333333333335;"/><path d="M66.1458,1150.8911 L66.1458,1179.0161 M52.6042,1159.2244 L79.6875,1159.2244 M66.1458,1179.0161 L52.6042,1194.6411 M66.1458,1179.0161 L79.6875,1194.6411 " fill="none" style="stroke: #2FA4E7; stroke-width: 2.0833333333333335;"/><text fill="#343A40" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="32.2917" x="207.2917" y="151.2838">Foo2</text><path d="M205.2083,107.4666 L205.2083,132.4666 M205.2083,119.9666 L222.9167,119.9666 " fill="none" style="stroke: #2683B9; stroke-width: 2.0833333333333335;"/><ellipse cx="235.4167" cy="119.9666" fill="url(#gxiuz8gcr55dc1)" rx="12.5" ry="12.5" style="stroke: #2683B9; stroke-width: 2.0833333333333335;"/><text fill="#343A40" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="32.2917" x="207.2917" y="1127.4333">Foo2</text><path d="M205.2083,1136.3078 L205.2083,1161.3078 M205.2083,1148.8078 L222.9167,1148.8078 " fill="none" style="stroke: #2683B9; stroke-width: 2.0833333333333335;"/><ellipse cx="235.4167" cy="1148.8078" fill="url(#gxiuz8gcr55dc1)" rx="12.5" ry="12.5" style="stroke: #2683B9; stroke-width: 2.0833333333333335;"/><text fill="#343A40" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="32.2917" x="350" y="151.2838">Foo3</text><ellipse cx="369.2708" cy="119.9666" fill="url(#gxiuz8gcr55dc1)" rx="12.5" ry="12.5" style="stroke: #2683B9; stroke-width: 2.0833333333333335;"/><polygon fill="#2683B9" points="365.1042,107.4666,371.3542,102.2583,369.2708,107.4666,371.3542,112.675,365.1042,107.4666" style="stroke: #2683B9; stroke-width: 1.0416666666666667;"/><text fill="#343A40" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="32.2917" x="350" y="1127.4333">Foo3</text><ellipse cx="369.2708" cy="1148.8078" fill="url(#gxiuz8gcr55dc1)" rx="12.5" ry="12.5" style="stroke: #2683B9; stroke-width: 2.0833333333333335;"/><polygon fill="#2683B9" points="365.1042,1136.3078,371.3542,1131.0994,369.2708,1136.3078,371.3542,1141.5161,365.1042,1136.3078" style="stroke: #2683B9; stroke-width: 1.0416666666666667;"/><text fill="#343A40" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="32.2917" x="490.625" y="151.2838">Foo4</text><ellipse cx="509.8958" cy="119.9666" fill="url(#gxiuz8gcr55dc1)" rx="12.5" ry="12.5" style="stroke: #2683B9; stroke-width: 2.0833333333333335;"/><line style="stroke: #2683B9; stroke-width: 2.0833333333333335;" x1="497.3958" x2="522.3958" y1="134.55" y2="134.55"/><text fill="#343A40" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="32.2917" x="490.625" y="1127.4333">Foo4</text><ellipse cx="509.8958" cy="1148.8078" fill="url(#gxiuz8gcr55dc1)" rx="12.5" ry="12.5" style="stroke: #2683B9; stroke-width: 2.0833333333333335;"/><line style="stroke: #2683B9; stroke-width: 2.0833333333333335;" x1="497.3958" x2="522.3958" y1="1163.3911" y2="1163.3911"/><text fill="#343A40" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="32.2917" x="651.0417" y="151.2838">Foo5</text><path d="M651.5625,99.1333 C651.5625,88.7166 670.3125,88.7166 670.3125,88.7166 C670.3125,88.7166 689.0625,88.7166 689.0625,99.1333 L689.0625,126.2166 C689.0625,136.6333 670.3125,136.6333 670.3125,136.6333 C670.3125,136.6333 651.5625,136.6333 651.5625,126.2166 L651.5625,99.1333 " fill="url(#gxiuz8gcr55dc1)" style="stroke: #2683B9; stroke-width: 1.5625;"/><path d="M651.5625,99.1333 C651.5625,109.55 670.3125,109.55 670.3125,109.55 C670.3125,109.55 689.0625,109.55 689.0625,99.1333 " fill="none" style="stroke: #2683B9; stroke-width: 1.5625;"/><text fill="#343A40" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="32.2917" x="651.0417" y="1127.4333">Foo5</text><path d="M651.5625,1142.5578 C651.5625,1132.1411 670.3125,1132.1411 670.3125,1132.1411 C670.3125,1132.1411 689.0625,1132.1411 689.0625,1142.5578 L689.0625,1169.6411 C689.0625,1180.0578 670.3125,1180.0578 670.3125,1180.0578 C670.3125,1180.0578 651.5625,1180.0578 651.5625,1169.6411 L651.5625,1142.5578 " fill="url(#gxiuz8gcr55dc1)" style="stroke: #2683B9; stroke-width: 1.5625;"/><path d="M651.5625,1142.5578 C651.5625,1152.9744 670.3125,1152.9744 670.3125,1152.9744 C670.3125,1152.9744 689.0625,1152.9744 689.0625,1142.5578 " fill="none" style="stroke: #2683B9; stroke-width: 1.5625;"/><rect fill="url(#gxiuz8gcr55dc1)" height="33.9417" rx="4.1667" ry="4.1667" style="stroke: #2FA4E7; stroke-width: 1.5625;" width="51.0417" x="716.6667" y="116.8416"/><rect fill="url(#gxiuz8gcr55dc1)" height="33.9417" rx="4.1667" ry="4.1667" style="stroke: #2FA4E7; stroke-width: 1.5625;" width="51.0417" x="712.5" y="121.0083"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="32.2917" x="721.875" y="142.9504">Foo6</text><rect fill="url(#gxiuz8gcr55dc1)" height="33.9417" rx="4.1667" ry="4.1667" style="stroke: #2FA4E7; stroke-width: 1.5625;" width="51.0417" x="716.6667" y="1112.7828"/><rect fill="url(#gxiuz8gcr55dc1)" height="33.9417" rx="4.1667" ry="4.1667" style="stroke: #2FA4E7; stroke-width: 1.5625;" width="51.0417" x="712.5" y="1116.9495"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="32.2917" x="721.875" y="1138.8916">Foo6</text><rect fill="url(#gxiuz8gcr55dc1)" height="33.9417" rx="4.1667" ry="4.1667" style="stroke: #2FA4E7; stroke-width: 0.0;" width="43.75" x="801.0417" y="121.0083"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="25" x="810.4167" y="142.9504">Bob</text><rect fill="url(#gxiuz8gcr55dc1)" height="33.9417" rx="4.1667" ry="4.1667" style="stroke: #2FA4E7; stroke-width: 0.0;" width="43.75" x="801.0417" y="1112.7828"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="25" x="810.4167" y="1134.7249">Bob</text><rect fill="url(#gxiuz8gcr55dc1)" height="44.9666" rx="4.1667" ry="4.1667" style="stroke: #2FA4E7; stroke-width: 0.0;" width="110.4167" x="876.0417" y="109.9833"/><ellipse cx="893.75" cy="127.6917" fill="#ADD1B2" rx="10.4167" ry="10.4167" style="stroke: #2FA4E7; stroke-width: 1.0416666666666667;"/><path d="M895.6543,132.1187 Q895.2311,132.3303 894.7591,132.4443 Q894.2871,132.5582 893.7826,132.5582 Q891.9271,132.5582 890.9505,131.3538 Q889.9902,130.1331 889.9902,127.8381 Q889.9902,125.5269 890.9505,124.3225 Q891.9271,123.1018 893.7826,123.1018 Q894.2871,123.1018 894.7591,123.2157 Q895.2474,123.3134 895.6543,123.5413 L895.6543,125.5432 Q895.1986,125.12 894.7591,124.9247 Q894.3197,124.7131 893.8639,124.7131 Q892.8711,124.7131 892.3665,125.5107 Q891.862,126.2919 891.862,127.8381 Q891.862,129.3681 892.3665,130.1493 Q892.8711,130.9306 893.8639,130.9306 Q894.3197,130.9306 894.7591,130.7353 Q895.1986,130.54 895.6543,130.1168 L895.6543,132.1187 Z "/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" font-style="italic" lengthAdjust="spacingAndGlyphs" textLength="68.75" x="910.4167" y="129.775">«Testable»</text><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="29.1667" x="930.2083" y="144.9666">Alice</text><rect fill="url(#gxiuz8gcr55dc1)" height="44.9666" rx="4.1667" ry="4.1667" style="stroke: #2FA4E7; stroke-width: 0.0;" width="110.4167" x="876.0417" y="1112.7828"/><ellipse cx="893.75" cy="1130.4911" fill="#ADD1B2" rx="10.4167" ry="10.4167" style="stroke: #2FA4E7; stroke-width: 1.0416666666666667;"/><path d="M895.6543,1134.9182 Q895.2311,1135.1298 894.7591,1135.2437 Q894.2871,1135.3577 893.7826,1135.3577 Q891.9271,1135.3577 890.9505,1134.1532 Q889.9902,1132.9325 889.9902,1130.6376 Q889.9902,1128.3264 890.9505,1127.122 Q891.9271,1125.9013 893.7826,1125.9013 Q894.2871,1125.9013 894.7591,1126.0152 Q895.2474,1126.1129 895.6543,1126.3407 L895.6543,1128.3427 Q895.1986,1127.9195 894.7591,1127.7242 Q894.3197,1127.5126 893.8639,1127.5126 Q892.8711,1127.5126 892.3665,1128.3101 Q891.862,1129.0914 891.862,1130.6376 Q891.862,1132.1676 892.3665,1132.9488 Q892.8711,1133.7301 893.8639,1133.7301 Q894.3197,1133.7301 894.7591,1133.5347 Q895.1986,1133.3394 895.6543,1132.9163 L895.6543,1134.9182 Z "/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" font-style="italic" lengthAdjust="spacingAndGlyphs" textLength="68.75" x="910.4167" y="1132.5745">«Testable»</text><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="29.1667" x="930.2083" y="1147.7661">Alice</text><rect fill="#EDF0F2" height="205.2999" style="stroke: #BABDBF; stroke-width: 1.0416666666666667;" width="10.4167" x="364.0625" y="300.5249"/><rect fill="url(#gxiuz8gcr55dc2)" height="3.125" style="stroke: url(#gxiuz8gcr55dc2); stroke-width: 1.0416666666666667;" width="1035.4167" x="3.125" y="189.6291"/><line style="stroke: #868E96; stroke-width: 1.0416666666666667;" x1="3.125" x2="1038.5417" y1="189.6291" y2="189.6291"/><line style="stroke: #868E96; stroke-width: 1.0416666666666667;" x1="3.125" x2="1038.5417" y1="192.7541" y2="192.7541"/><rect fill="url(#gxiuz8gcr55dc2)" height="27.6917" style="stroke: #868E96; stroke-width: 2.0833333333333335;" width="109.375" x="466.1458" y="176.825"/><text fill="#343A40" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="86.4583" x="474.4792" y="195.6421">Initialization</text><polygon fill="#2FA4E7" points="214.0625,236.3749,224.4792,240.5416,214.0625,244.7083,218.2292,240.5416" style="stroke: #2FA4E7; stroke-width: 1.0416666666666667;"/><line style="stroke: #2FA4E7; stroke-width: 3.125;" x1="66.1458" x2="220.3125" y1="240.5416" y2="240.5416"/><text fill="#343A40" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="40.625" x="75.5208" y="233.7504">[001]</text><text fill="#343A40" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="82.2917" x="124.4792" y="233.7504">To boundary</text><polygon fill="#2FA4E7" points="351.5625,296.3582,361.9792,300.5249,351.5625,304.6916,355.7292,300.5249" style="stroke: #2FA4E7; stroke-width: 1.0416666666666667;"/><line style="stroke: #2FA4E7; stroke-width: 3.125;" x1="226.5625" x2="357.8125" y1="300.5249" y2="300.5249"/><text fill="#343A40" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="40.625" x="235.9375" y="293.7337">[002]</text><text fill="#343A40" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="64.5833" x="284.8958" y="293.7337">To control</text><rect fill="#FFFFFF" height="64.325" style="stroke: #868E96; stroke-width: 2.0833333333333335;" width="209.375" x="485.4167" y="308.8582"/><polygon fill="#EEEEEE" points="485.4167,308.8582,556.25,308.8582,556.25,319.2749,545.8333,329.6916,485.4167,329.6916,485.4167,308.8582" style="stroke: #868E96; stroke-width: 2.0833333333333335;"/><text fill="#033C73" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="19.7917" x="501.0417" y="325.592">ref</text><text fill="#343A40" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="94.7917" x="542.7083" y="348.5087">This can be on</text><text fill="#343A40" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="82.2917" x="542.7083" y="363.7004">several lines</text><polygon fill="#2FA4E7" points="497.3958,399.8332,507.8125,403.9998,497.3958,408.1665,501.5625,403.9998" style="stroke: #2FA4E7; stroke-width: 1.0416666666666667;"/><line style="stroke: #2FA4E7; stroke-width: 3.125;" x1="374.4792" x2="503.6458" y1="403.9998" y2="403.9998"/><text fill="#343A40" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="40.625" x="383.8542" y="397.2087">[003]</text><text fill="#343A40" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="57.2917" x="432.8125" y="397.2087">To entity</text><polygon fill="#2FA4E7" points="657.8125,433.7748,668.2292,437.9415,657.8125,442.1082,661.9792,437.9415" style="stroke: #2FA4E7; stroke-width: 1.0416666666666667;"/><line style="stroke: #2FA4E7; stroke-width: 3.125;" x1="509.8958" x2="664.0625" y1="437.9415" y2="437.9415"/><text fill="#343A40" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="40.625" x="519.2708" y="431.1503">[004]</text><text fill="#343A40" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="82.2917" x="568.2292" y="431.1503">To database</text><polygon fill="#2FA4E7" points="385.9375,467.7165,375.5208,471.8831,385.9375,476.0498,381.7708,471.8831" style="stroke: #2FA4E7; stroke-width: 1.0416666666666667;"/><line style="stroke: #2FA4E7; stroke-width: 3.125; stroke-dasharray: 2.0,2.0;" x1="379.6875" x2="669.2708" y1="471.8831" y2="471.8831"/><text fill="#343A40" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="40.625" x="394.2708" y="465.092">[005]</text><text fill="#343A40" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="40.625" x="443.2292" y="465.092">return</text><polygon fill="#2FA4E7" points="238.0208,501.6581,227.6042,505.8248,238.0208,509.9915,233.8542,505.8248" style="stroke: #2FA4E7; stroke-width: 1.0416666666666667;"/><line style="stroke: #2FA4E7; stroke-width: 3.125; stroke-dasharray: 2.0,2.0;" x1="231.7708" x2="368.2292" y1="505.8248" y2="505.8248"/><text fill="#343A40" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="40.625" x="246.3542" y="499.0336">[006]</text><text fill="#343A40" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="40.625" x="295.3125" y="499.0336">return</text><text fill="#000000" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="36.4583" x="444.5313" y="543.3919">Some</text><text fill="#000000" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="67.7083" x="485.1563" y="543.3919">long delay</text><text fill="#000000" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="0" x="557.0313" y="543.3919"/><polygon fill="#2FA4E7" points="727.6042,584.1248,738.0208,588.2914,727.6042,592.4581,731.7708,588.2914" style="stroke: #2FA4E7; stroke-width: 1.0416666666666667;"/><line style="stroke: #2FA4E7; stroke-width: 3.125;" x1="66.1458" x2="733.8542" y1="588.2914" y2="588.2914"/><text fill="#343A40" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="40.625" x="75.5208" y="581.5002">[007]</text><text fill="#343A40" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="87.5" x="124.4792" y="581.5002">To collections</text><polygon fill="#2FA4E7" points="521.3542,618.0664,510.9375,622.2331,521.3542,626.3997,517.1875,622.2331" style="stroke: #2FA4E7; stroke-width: 1.0416666666666667;"/><line style="stroke: #2FA4E7; stroke-width: 3.125; stroke-dasharray: 2.0,2.0;" x1="515.1042" x2="739.0625" y1="622.2331" y2="622.2331"/><text fill="#343A40" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="40.625" x="529.6875" y="615.4419">[008]</text><text fill="#73A839" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="53.125" x="578.6458" y="615.4419">success</text><path d="M17.7083,637.8581 L82.2917,637.8581 L82.2917,648.2747 L71.875,658.6914 L13.5417,658.6914 L13.5417,642.0247 " fill="#EEEEEE" style="stroke: #868E96; stroke-width: 1.0416666666666667;"/><rect fill="none" height="387.6831" rx="4.1667" ry="4.1667" style="stroke: #868E96; stroke-width: 2.0833333333333335;" width="1014.5833" x="13.5417" y="637.8581"/><text fill="#033C73" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="17.7083" x="31.25" y="653.5502">alt</text><text fill="#343A40" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="118.75" x="100" y="654.5919">[successful case]</text><polygon fill="#2FA4E7" points="918.75,684.4747,929.1667,688.6414,918.75,692.808,922.9167,688.6414" style="stroke: #2FA4E7; stroke-width: 1.0416666666666667;"/><line style="stroke: #2FA4E7; stroke-width: 3.125;" x1="66.1458" x2="925" y1="688.6414" y2="688.6414"/><text fill="#343A40" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="40.625" x="75.5208" y="681.8502">[009]</text><text fill="#343A40" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="158.3333" x="124.4792" y="681.8502">Authentication Accepted</text><polygon fill="#2FA4E7" points="77.6042,718.4163,67.1875,722.583,77.6042,726.7497,73.4375,722.583" style="stroke: #2FA4E7; stroke-width: 1.0416666666666667;"/><line style="stroke: #2FA4E7; stroke-width: 3.125; stroke-dasharray: 2.0,2.0;" x1="71.3542" x2="930.2083" y1="722.583" y2="722.583"/><text fill="#343A40" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="40.625" x="85.9375" y="715.7918">[010]</text><text fill="#343A40" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="51.0417" x="134.8958" y="715.7918">success</text><path d="M785.4167,740.2913 L785.4167,761.1247 A4.1667,4.1667 0 0 0 789.5833,765.2913 L921.875,765.2913 A4.1667,4.1667 0 0 0 926.0417,761.1247 L926.0417,746.5413 L915.625,736.1247 L789.5833,736.1247 A4.1667,4.1667 0 0 0 785.4167,740.2913 " fill="url(#gxiuz8gcr55dc3)" style="stroke: #033C73; stroke-width: 1.0416666666666667;"/><path d="M915.625,736.1247 L915.625,744.458 A2.0833,2.0833 0 0 0 917.7083,746.5413 L926.0417,746.5413 L915.625,736.1247 " fill="url(#gxiuz8gcr55dc3)" style="stroke: #033C73; stroke-width: 1.0416666666666667;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="114.5833" x="793.75" y="755.9835">this is a first note</text><line style="stroke: #868E96; stroke-width: 1.0416666666666667; stroke-dasharray: 2.0,2.0;" x1="13.5417" x2="1028.125" y1="772.1497" y2="772.1497"/><text fill="#343A40" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="148.9583" x="20.8333" y="786.8001">[some kind of failure]</text><polygon fill="#2FA4E7" points="918.75,813.9913,929.1667,818.158,918.75,822.3246,922.9167,818.158" style="stroke: #2FA4E7; stroke-width: 1.0416666666666667;"/><line style="stroke: #2FA4E7; stroke-width: 3.125;" x1="66.1458" x2="925" y1="818.158" y2="818.158"/><text fill="#343A40" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="40.625" x="75.5208" y="811.3668">[011]</text><text fill="#343A40" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="142.7083" x="124.4792" y="811.3668">Authentication Failure</text><polygon fill="#2FA4E7" points="77.6042,847.9329,67.1875,852.0996,77.6042,856.2663,73.4375,852.0996" style="stroke: #2FA4E7; stroke-width: 1.0416666666666667;"/><line style="stroke: #2FA4E7; stroke-width: 3.125; stroke-dasharray: 2.0,2.0;" x1="71.3542" x2="930.2083" y1="852.0996" y2="852.0996"/><text fill="#343A40" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="40.625" x="85.9375" y="845.3084">[012]</text><text fill="#C71C22" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="82.2917" x="134.8958" y="845.3084">Bad request</text><path d="M28.125,867.7246 L165.625,867.7246 L165.625,878.1413 L155.2083,888.5579 L23.9583,888.5579 L23.9583,871.8913 " fill="#EEEEEE" style="stroke: #868E96; stroke-width: 1.0416666666666667;"/><rect fill="none" height="95.1416" rx="4.1667" ry="4.1667" style="stroke: #868E96; stroke-width: 2.0833333333333335;" width="993.75" x="23.9583" y="867.7246"/><text fill="#033C73" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="90.625" x="41.6667" y="883.4167">My own label</text><path d="M38.5417,896.4579 L114.5833,896.4579 L114.5833,906.8746 L104.1667,917.2913 L34.375,917.2913 L34.375,900.6246 " fill="#EEEEEE" style="stroke: #868E96; stroke-width: 1.0416666666666667;"/><rect fill="none" height="59.1166" rx="4.1667" ry="4.1667" style="stroke: #868E96; stroke-width: 2.0833333333333335;" width="972.9167" x="34.375" y="896.4579"/><text fill="#033C73" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="29.1667" x="52.0833" y="912.1501">loop</text><text fill="#343A40" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="91.6667" x="132.2917" y="913.1917">[1000 times]</text><polygon fill="#2FA4E7" points="77.6042,943.0745,67.1875,947.2412,77.6042,951.4079,73.4375,947.2412" style="stroke: #2FA4E7; stroke-width: 1.0416666666666667;"/><line style="stroke: #2FA4E7; stroke-width: 3.125;" x1="71.3542" x2="930.2083" y1="947.2412" y2="947.2412"/><text fill="#343A40" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="40.625" x="85.9375" y="940.45">[013]</text><text fill="#343A40" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="71.875" x="134.8958" y="940.45">DNS Attack</text><line style="stroke: #868E96; stroke-width: 1.0416666666666667; stroke-dasharray: 2.0,2.0;" x1="13.5417" x2="1028.125" y1="971.1995" y2="971.1995"/><text fill="#343A40" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="115.625" x="20.8333" y="985.85">[Just a Warning]</text><polygon fill="#2FA4E7" points="918.75,1013.0412,929.1667,1017.2078,918.75,1021.3745,922.9167,1017.2078" style="stroke: #2FA4E7; stroke-width: 1.0416666666666667;"/><line style="stroke: #2FA4E7; stroke-width: 3.125;" x1="66.1458" x2="925" y1="1017.2078" y2="1017.2078"/><text fill="#343A40" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="40.625" x="75.5208" y="1010.4167">[014]</text><text fill="#DD5600" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="94.7917" x="124.4792" y="1010.4167">Please repeat</text><path d="M44.7917,1042.2078 L44.7917,1093.2495 A4.1667,4.1667 0 0 0 48.9583,1097.4162 L242.7083,1097.4162 A4.1667,4.1667 0 0 0 246.875,1093.2495 L246.875,1048.4578 L236.4583,1038.0412 L48.9583,1038.0412 A4.1667,4.1667 0 0 0 44.7917,1042.2078 " fill="url(#gxiuz8gcr55dc3)" style="stroke: #033C73; stroke-width: 1.0416666666666667;"/><path d="M236.4583,1038.0412 L236.4583,1046.3745 A2.0833,2.0833 0 0 0 238.5417,1048.4578 L246.875,1048.4578 L236.4583,1038.0412 " fill="url(#gxiuz8gcr55dc3)" style="stroke: #033C73; stroke-width: 1.0416666666666667;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="136.4583" x="72.9167" y="1057.9">this is a second note</text><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="81.25" x="72.9167" y="1073.0916">that is really</text><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="28.125" x="72.9167" y="1088.2833">long</text><text fill="#888888" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="85.4167" x="953.125" y="15.6921">Page Header</text><text fill="#888888" font-family="Verdana" font-size="12.5" lengthAdjust="spacingAndGlyphs" textLength="75" x="483.3333" y="1218.6666">Page 1 of 1</text><!--MD5=[ef35ca09c4be9f1175aae021f3360d3c]
@startuml
skinparam backgroundColor white
skinparam defaultFontName "Verdana"
skinparam defaultFontSize 12
skinparam dpi 100
skinparam shadowing false
skinparam roundcorner 8
skinparam ParticipantPadding 10
skinparam BoxPadding 2
skinparam Padding 2
skinparam ArrowColor #868E96
skinparam title {
FontColor #2FA4E7
BorderColor #BABDBF
FontSize 20
BorderRoundCorner 8
BorderThickness 1
BackgroundColor #EDF0F2-#E9ECEF
}
skinparam legend {
BackgroundColor #E9ECEF
BorderColor #BABDBF
FontColor #343A40
}
skinparam activity {
FontColor #FFF
BorderColor #2FA4E7
BackgroundColor #59B6EC-#2FA4E7
BarColor #73A839
StartColor #033C73
EndColor #033C73
DiamondBackgroundColor #FFF-#EDF0F2
DiamondBorderColor #BABDBF
DiamondFontColor #343A40
}
skinparam sequence {
BorderColor #2FA4E7
TitleFontColor #2FA4E7
BackgroundColor white
StartColor #2FA4E7
EndColor #2FA4E7
ParticipantBackgroundColor #59B6EC-#2FA4E7
ParticipantBorderColor #2FA4E7
ParticipantBorderThickness 0
ParticipantFontColor #FFF
ActorBackgroundColor white
ActorBorderColor #2FA4E7
ActorFontColor #2FA4E7
ArrowThickness 3
ArrowColor #2FA4E7
ArrowFontColor #343A40
BoxBackgroundColor #F8F9FA
BoxBorderColor #868E96
BoxFontColor #343A40
LifeLineBorderColor #BABDBF
LifeLineBorderThickness 2
LifeLineBackgroundColor #EDF0F2
GroupBorderColor #868E96
GroupFontColor #343A40
GroupHeaderFontColor #033C73
DividerBackgroundColor #FFF-#F8F9FA
DividerBorderColor #868E96
DividerBorderThickness 2
DividerFontColor #343A40
ReferenceBackgroundColor white
ReferenceBorderColor #868E96
ReferenceFontColor #343A40
ReferenceHeaderFontColor #033C73
}
skinparam partition {
BorderColor #2FA4E7
FontColor #2FA4E7
BackgroundColor white
}
skinparam collections {
BackgroundColor #59B6EC-#2FA4E7
BorderColor #2FA4E7
}
skinparam control {
BackgroundColor #59B6EC-#2FA4E7
BorderColor #2683B9
FontColor #343A40
}
skinparam entity {
BackgroundColor #59B6EC-#2FA4E7
BorderColor #2683B9
FontColor #343A40
}
skinparam boundary {
BackgroundColor #59B6EC-#2FA4E7
BorderColor #2683B9
FontColor #343A40
}
skinparam agent {
BackgroundColor #orange
BorderColor #999999
FontColor #333333
}
skinparam note {
BorderThickness 1
BackgroundColor #35638F-#033C73
BorderColor #033C73
FontColor #FFF
}
skinparam artifact {
BackgroundColor #FFF-#F8F9FA
BorderColor #868E96
FontColor #868E96
}
skinparam component {
BackgroundColor #8FB961-#73A839
BorderColor #73A839
FontColor #FFF
}
skinparam interface {
BackgroundColor #D2494E
BorderColor #C71C22
FontColor #343A40
}
skinparam storage {
BackgroundColor #E47833-#DD5600
BorderColor #DD5600
FontColor #FFF
}
skinparam node {
BackgroundColor #EDF0F2-#E9ECEF
BorderColor #343A40
FontColor #343A40
}
skinparam cloud {
BackgroundColor white-lightskyblue
BorderColor white
FontColor #343A40
}
skinparam database {
BackgroundColor #59B6EC-#2FA4E7
BorderColor #2683B9
FontColor #343A40
}
skinparam actor {
FontColor #343A40
}
skinparam class {
HeaderBackgroundColor #2FA4E7-#2683B9
FontColor #FFF
BackgroundColor #59B6EC-#2FA4E7
BorderColor #2683B9
StereotypeFontColor #343A40
BorderThickness 1
AttributeFontColor #343A40
AttributeFontSize 11
}
skinparam object {
FontColor #73A839
BackgroundColor #E9ECEF-#BABDBF
BorderColor #BABDBF
StereotypeFontColor #343A40
BorderThickness 1
AttributeFontColor #343A40
AttributeFontSize 11
}
skinparam usecase {
BackgroundColor #EDF0F2-#E9ECEF
BorderColor #E9ECEF
BorderThickness 2
FontColor #343A40
StereotypeFontColor #2FA4E7
}
skinparam rectangle {
BackgroundColor #E9ECEF-#BABDBF
BorderColor #2683B9
BorderThickness 2
FontColor #2FA4E7
StereotypeFontColor #2FA4E7
}
skinparam package {
BackgroundColor #EDF0F2-#E9ECEF
BorderColor #2FA4E7
FontColor #2FA4E7
BorderThickness 2
}
skinparam folder {
BackgroundColor #FFF-#EDF0F2
BorderColor #DD5600
FontColor #DD5600
BorderThickness 2
}
skinparam frame {
BackgroundColor #FFF-#EDF0F2
BorderColor #033C73
FontColor #033C73
BorderThickness 2
}
skinparam state {
StartColor #033C73
EndColor #033C73
BackgroundColor #E9ECEF-#BABDBF
BorderColor #BABDBF
FontColor #033C73
AttributeFontColor #343A40
AttributeFontSize 11
}
skinparam queue {
BackgroundColor #DD5600-#B14500
BorderColor #B14500
FontColor #FFF
}
skinparam card {
BackgroundColor #35638F-#033C73
BorderColor #033C73
FontColor #FFF
}
skinparam file {
BackgroundColor #EDF0F2-#E9ECEF
BorderColor #868E96
FontColor #868E96
}
skinparam stack {
BackgroundColor #59B6EC-#2683B9
BorderColor #2FA4E7
FontColor #FFF
}
title Sequence Diagram - cerulean theme
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=#73A839><b>success
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=#C71C22><b>Bad request
group My own label
loop 1000 times
Alice -> Foo1: DNS Attack
end
end
else Just a Warning
Foo1 -> Alice: <font color=#DD5600><b>Please repeat
end
note over Foo1, Foo2
this is a second note
that is really
long
end note
@enduml
PlantUML version 1.2019.11(Sun Sep 22 03:02:15 PDT 2019)
(GPL source distribution)
Java Runtime: OpenJDK Runtime Environment
JVM: OpenJDK 64-Bit Server VM
Java Version: 11.0.4+11-post-Ubuntu-1ubuntu218.04.3
Operating System: Linux
Default Encoding: UTF-8
Language: en
Country: US
--></g></svg>