| 1 | <svg xmlns="http://www.w3.org/2000/svg" width="198.5" height="122" viewBox="0 0 198.5 122"> |
| 2 | <g transform="translate(.5 .5)"> |
| 3 | <g> |
| 4 | <path d="M20 51v20m10 -20v20m-10 -10h20"></path> |
| 5 | </g> |
| 6 | <path d="M40 61h10"></path> |
| 7 | <g> |
| 8 | <path d="M50 61h0"></path> |
| 9 | <path d="M148.5 61h0"></path> |
| 10 | <path d="M80 61v-20a10 10 0 0 1 10 -10"></path> |
| 11 | <g class="terminal"> |
| 12 | <path d="M90 31h0"></path> |
| 13 | <path d="M118.5 31h0"></path> |
| 14 | <rect x="90" y="20" width="28.5" height="22" rx="10" ry="10"></rect> |
| 15 | <text x="104.25" y="35">1</text> |
| 16 | </g> |
| 17 | <path d="M118.5 31a10 10 0 0 1 10 10v10"></path> |
| 18 | <path d="M80 61h10"></path> |
| 19 | <g class="terminal"> |
| 20 | <path d="M90 61h0"></path> |
| 21 | <path d="M118.5 61h0"></path> |
| 22 | <rect x="90" y="50" width="28.5" height="22" rx="10" ry="10"></rect> |
| 23 | <text x="104.25" y="65">2</text> |
| 24 | </g> |
| 25 | <path d="M118.5 61h10"></path> |
| 26 | <path d="M80 61v20a10 10 0 0 0 10 10"></path> |
| 27 | <g class="terminal"> |
| 28 | <path d="M90 91h0"></path> |
| 29 | <path d="M118.5 91h0"></path> |
| 30 | <rect x="90" y="80" width="28.5" height="22" rx="10" ry="10"></rect> |
| 31 | <text x="104.25" y="95">3</text> |
| 32 | </g> |
| 33 | <path d="M118.5 91a10 10 0 0 0 10 -10v-20"></path> |
| 34 | <g class="diagram-text"> |
| 35 | <title>take all branches, once each, in any order</title> |
| 36 | <path d="M 80 51 h -26 a 4 4 0 0 0 -4 4 v 12 a 4 4 0 0 0 4 4 h 26 z" class="diagram-text"></path> |
| 37 | <text x="65" y="65" class="diagram-text">all</text> |
| 38 | <path d="M 128.5 51 h 16 a 4 4 0 0 1 4 4 v 12 a 4 4 0 0 1 -4 4 h -16 z" class="diagram-text"></path> |
| 39 | <path d="M 135.5 59 a 4 4 0 1 0 6 -1 m 2.75 -1 h -4 v 4 m 0 -3 h 2" style="stroke-width: 1.75"></path> |
| 40 | </g> |
| 41 | </g> |
| 42 | <path d="M148.5 61h10"></path> |
| 43 | <path d="M 158.5 61 h 20 m -10 -10 v 20 m 10 -20 v 20"></path> |
| 44 | </g> |
| 45 | <style> |
| 46 | svg { |
| 47 | background-color: hsl(30,20%,95%); |
| 48 | } |
| 49 | path { |
| 50 | stroke-width: 3; |
| 51 | stroke: black; |
| 52 | fill: rgba(0,0,0,0); |
| 53 | } |
| 54 | text { |
| 55 | font: bold 14px monospace; |
| 56 | text-anchor: middle; |
| 57 | white-space: pre; |
| 58 | } |
| 59 | text.diagram-text { |
| 60 | font-size: 12px; |
| 61 | } |
| 62 | text.diagram-arrow { |
| 63 | font-size: 16px; |
| 64 | } |
| 65 | text.label { |
| 66 | text-anchor: start; |
| 67 | } |
| 68 | text.comment { |
| 69 | font: italic 12px monospace; |
| 70 | } |
| 71 | g.non-terminal text { |
| 72 | /*font-style: italic;*/ |
| 73 | } |
| 74 | rect { |
| 75 | stroke-width: 3; |
| 76 | stroke: black; |
| 77 | fill: hsl(120,100%,90%); |
| 78 | } |
| 79 | path.diagram-text { |
| 80 | stroke-width: 3; |
| 81 | stroke: black; |
| 82 | fill: white; |
| 83 | cursor: help; |
| 84 | } |
| 85 | g.diagram-text:hover path.diagram-text { |
| 86 | fill: #eee; |
| 87 | } |
| 88 | </style> |
| 89 | </svg> |