Skip to content
MealsRetrievalFlow.svg 5.12 KiB
Newer Older
<?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="328px" preserveAspectRatio="none" style="width:275px;height:328px;" version="1.1" viewBox="0 0 275 328" width="275px" zoomAndPan="magnify"><defs><filter height="300%" id="f15069ewvtnr2d" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><ellipse cx="131" cy="18" fill="#000000" filter="url(#f15069ewvtnr2d)" rx="10" ry="10" style="stroke: none; stroke-width: 1.0;"/><rect fill="#FEFECE" filter="url(#f15069ewvtnr2d)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="164" x="49" y="69"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="144" x="59" y="90.1387">Retrieve canteen state</text><polygon fill="#FEFECE" filter="url(#f15069ewvtnr2d)" points="131,144,143,156,131,168,119,156,131,144" style="stroke: #A80036; stroke-width: 1.5;"/><rect fill="#FEFECE" filter="url(#f15069ewvtnr2d)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="112" x="6" y="222"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="92" x="16" y="243.1387">Retrieve meals</text><ellipse cx="131" cy="307" fill="none" filter="url(#f15069ewvtnr2d)" rx="10" ry="10" style="stroke: #000000; stroke-width: 1.0;"/><ellipse cx="131.5" cy="307.5" fill="#000000" rx="6" ry="6" style="stroke: none; stroke-width: 1.0;"/><rect fill="#FEFECE" filter="url(#f15069ewvtnr2d)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="126" x="138" y="222"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="106" x="148" y="243.1387">Return empty list</text><!--link start to Retrieve canteen state--><path d="M131,28.0336 C131,37.4082 131,51.7285 131,63.7898 " fill="none" id="start-Retrieve canteen state" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="131,68.7995,135,59.7995,131,63.7995,127,59.7995,131,68.7995" style="stroke: #A80036; stroke-width: 1.0;"/><!--link Retrieve canteen state to #5--><path d="M131,103.3034 C131,114.1588 131,128.0963 131,138.9108 " fill="none" id="Retrieve canteen state-#5" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="131,143.9417,135,134.9417,131,138.9417,127,134.9417,131,143.9417" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="97" x="13.9937" y="134.8691">canteen.isOpen()</text><!--link #5 to Retrieve meals--><path d="M125.3534,162.7922 C115.4789,174.6703 94.6908,199.6763 79.6138,217.8124 " fill="none" id="#5-Retrieve meals" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="76.2982,221.8008,85.1276,217.437,79.4946,217.9559,78.9757,212.3229,76.2982,221.8008" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="23" x="104" y="199.2104">true</text><!--link Retrieve meals to end--><path d="M79.4116,256.1593 C92.212,268.7741 109.2112,285.5269 120.1307,296.2882 " fill="none" id="Retrieve meals-end" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="123.8595,299.963,120.257,290.7966,120.2983,296.4533,114.6416,296.4946,123.8595,299.963" style="stroke: #A80036; stroke-width: 1.0;"/><!--link #5 to Return empty list--><path d="M136.4928,162.5129 C146.4408,174.3084 167.8379,199.6792 183.2647,217.971 " fill="none" id="#5-Return empty list" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="186.655,221.9909,183.9107,212.5321,183.4316,218.1686,177.7951,217.6896,186.655,221.9909" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="28" x="169" y="199.2104">false</text><!--link Return empty list to end--><path d="M183.336,256.1593 C170.3502,268.7741 153.1046,285.5269 142.0269,296.2882 " fill="none" id="Return empty list-end" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="138.2439,299.963,147.4865,296.561,141.8303,296.4791,141.9122,290.8228,138.2439,299.963" style="stroke: #A80036; stroke-width: 1.0;"/><!--
@startuml MealsRetrievalFlow

(*) - -> "Retrieve canteen state"
if "canteen.isOpen()" then
 - ->[true] "Retrieve meals"
 - -> (*)
else
- ->[false] "Return empty list"
- -> (*)
endif
@enduml

PlantUML version 1.2017.20(Mon Dec 11 17:57:05 CET 2017)
(GPL source distribution)
Java Runtime: OpenJDK Runtime Environment
JVM: OpenJDK 64-Bit Server VM
Java Version: 1.8.0_144-b01
Operating System: Linux
OS Version: 4.14.6-1-ARCH
Default Encoding: UTF-8
Language: en
Country: US
--></g></svg>