Programmieren_1/img/if-else-if.svg

3 lines
12 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="442px" height="252px" viewBox="-0.5 -0.5 442 252" content="&lt;mxfile host=&quot;app.diagrams.net&quot; modified=&quot;2020-03-24T17:38:15.970Z&quot; agent=&quot;Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36&quot; etag=&quot;5rSCkrvlpU3RHri1ZAai&quot; version=&quot;12.9.2&quot; type=&quot;google&quot;&gt;&lt;diagram id=&quot;C5RBs43oDa-KdzZeNtuy&quot; name=&quot;Page-1&quot;&gt;7VnbctowEP0aPybjG8Y8FgikbZJpJm3SPCq2sFVki8gyl359JVu+A4YEEtrmIRntei1Ze87ukQbFGATLMQUz/5q4ECu66i4VY6joes/q8v/CsUodpmWlDo8iN3VpheMO/YbSqUpvjFwYVQIZIZihWdXpkDCEDqv4AKVkUQ2bEFxddQY82HDcOQA3vQ/IZX7qtfVu4b+EyPOzlTWrlz4JQBYsdxL5wCWLksu4UIwBJYSlo2A5gFjkLsvLw+fVA76aWuMvt9Ez+NH/+v3m/iydbLTPK/kWKAzZYafW06nnAMcyX3KvbJUlkJI4dKGYRFWMvs8CzIcaH/6CjK0k4CBmhLsIZT7xSAjwFSEzGTchIZNhmrBh6H4SwHL7CRNnmrpGCGO5BrdkvM2tiFEyzbETE+RAiGAMniDuA2fqJR86IJhQ/igkIRRTuZwMci/Fx10U3v6OuZUYRCSmDtwSZ0iKA+rBbfPJIhLfV+KpRG4MSQAZXfEACjFgaF4lM5A14eVxBe58IKHfgwZGgwaIZ4O/xP8SWzW28EJgsvARg3czkCRnwTtJlStlDvBt9j0Mokgi2ALwfgDNIWVwuTWl2VNL1rVsbLY0F0WX0LLS90sdwlSPBILZAIFRPvqox9fU4651JkmQAb5z2cmZvpG0YLIQMplEvP4r/TiLkfzL18qW7tWIlfYQ+VaNW/mXv5xunQbdJgBHTb61Q/Z3MzLkafyZz8uNR2GcdzJzuCw/HK5e1JZ25WlZN7xVz4/vb65v0SgYW0vPHw6I1Ph2PkuSnanneoVl2tsR3DBrBNfeluBWU9SEnOkWCIQ6eSxBUe00O6xPgqc4ale1Cs0EiUcgQFhs9xLiOWTIAWu0D2DkhdxwOHMgXc9fviQKPW5ZhfU9qRcuE0fUxG4Vstwui6K6RhTtY4mipjVQ5Ag+x+LQ3Rd4oogldw9lYCh9S/zvjXhWE1yzuH/+7JJrx1scXrb1pXqx8VFyfHxFkW3Iza5p3ZhDwzBbuW4fieprU9g8hP+P579CjwsJfqwo8Ho9hkvESq9x61F+nhgXLwmjquE1LX2ZqG8rilZRN0/lTGp0qzWx65m0XfvrE6W5O4T2b85ou2pgiBz/pLTiCH1O24Dpu2mF3QDn4+axx80j63Raqc8VXe+0O11vK1Xf87Zi1o9Udu/cqK20oWk15uroZutch7v8bE50awOc8gYYnthp+fAd0LRrt5ojdkBuFr8IpGAWP6sYF38A&lt;/diagram&gt;&lt;/mxfile&gt;" style="background-color: rgb(255, 255, 255);"><defs/><g><path d="M 60 40 L 60 79.88" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 60 88.88 L 55.5 79.88 L 64.5 79.88 Z" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><rect x="0" y="0" width="120" height="40" rx="6" ry="6" fill="#ffffff" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 20px; margin-left: 1px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">int i = 3</div></div></div></foreignObject><text x="60" y="24" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">int i = 3</text></switch></g><path d="M 60 170 L 60 199.88" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 60 208.88 L 55.5 199.88 L 64.5 199.88 Z" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 190px; margin-left: 80px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: nowrap; ">true</div></div></div></foreignObject><text x="80" y="193" fill="#000000" font-family="Helvetica" font-size="11px" text-anchor="middle">true</text></switch></g><path d="M 110 130 L 163.88 130" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 172.88 130 L 163.88 134.5 L 163.88 125.5 Z" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 120px; margin-left: 136px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: nowrap; ">false</div></div></div></foreignObject><text x="136" y="123" fill="#000000" font-family="Helvetica" font-size="11px" text-anchor="middle">false</text></switch></g><path d="M 60 90 L 110 130 L 60 170 L 10 130 Z" fill="#ffffff" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 90px; height: 1px; padding-top: 128px; margin-left: 15px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">i &gt; 5</div></div></div></foreignObject><text x="60" y="132" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">i &gt; 5</text></switch></g><rect x="0" y="210" width="120" height="40" rx="6" ry="6" fill="#ffffff" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 230px; margin-left: 1px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">"i ist größer 5"</div></div></div></foreignObject><text x="60" y="234" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">"i ist größer 5"</text></switch></g><path d="M 214 90 L 254 130 L 214 170 L 174 130 Z" fill="#ffffff" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 130px; margin-left: 175px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">i == 5</div></div></div></foreignObject><text x="214" y="134" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">i == 5</text></switch></g><path d="M 214 170 L 214 199.88" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 214 208.88 L 209.5 199.88 L 218.5 199.88 Z" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 190px; margin-left: 234px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: nowrap; ">true</div></div></div></foreignObject><text x="234" y="193" fill="#000000" font-family="Helvetica" font-size="11px" text-anchor="middle">true</text></switch></g><rect x="154" y="210" width="120" height="40" rx="6" ry="6" fill="#ffffff" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 230px; margin-left: 155px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">"i ist gleich 5"</div></div></div></foreignObject><text x="214" y="234" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">"i ist gleich 5"</text></switch></g><path d="M 254 130 L 309.88 130" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 318.88 130 L 309.88 134.5 L 309.88 125.5 Z" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 120px; margin-left: 280px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: nowrap; ">false</div></div></div></foreignObject><text x="280" y="123" fill="#000000" font-family="Helvetica" font-size="11px" text-anchor="middle">false</text></switch></g><rect x="320" y="110" width="120" height="40" rx="6" ry="6" fill="#ffffff" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 130px; margin-left: 321px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">"i ist kleiner 5"</div></div></div></foreignObject><text x="380" y="134" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">"i ist kleiner 5"</text></switch></g></g><switch><g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/><a transform="translate(0,-5)" xlink:href="https://desk.draw.io/support/solutions/articles/16000042487" target="_blank"><text text-anchor="middle" font-size="10px" x="50%" y="100%">Viewer does not support full SVG 1.1</text></a></switch></svg>