| 1 | <svg xmlns="http://www.w3.org/2000/svg" width="291" height="121" viewBox="0 0 291 121"> |
| 2 | <g transform="translate(.5 .5)"> |
| 3 | <g> |
| 4 | <path d="M20 30v20m10 -20v20m-10 -10h20"></path> |
| 5 | </g> |
| 6 | <g> |
| 7 | <path d="M40 40h0"></path> |
| 8 | <path d="M145.5 40h0"></path> |
| 9 | <path d="M40 40a10 10 0 0 0 10 -10v0a10 10 0 0 1 10 -10"></path> |
| 10 | <g> |
| 11 | <path d="M60 20h65.5"></path> |
| 12 | </g> |
| 13 | <path d="M125.5 20a10 10 0 0 1 10 10v0a10 10 0 0 0 10 10"></path> |
| 14 | <path d="M40 40h20"></path> |
| 15 | <g> |
| 16 | <path d="M60 40h0"></path> |
| 17 | <path d="M125.5 40h0"></path> |
| 18 | <path d="M60 40h10"></path> |
| 19 | <g class="terminal"> |
| 20 | <path d="M70 40h0"></path> |
| 21 | <path d="M115.5 40h0"></path> |
| 22 | <rect x="70" y="29" width="45.5" height="22" rx="10" ry="10"></rect> |
| 23 | <text x="92.75" y="44">foo</text> |
| 24 | </g> |
| 25 | <path d="M115.5 40h10"></path> |
| 26 | <path d="M70 40a10 10 0 0 0 -10 10v10a10 10 0 0 0 10 10"></path> |
| 27 | <g> |
| 28 | <path d="M70 70h7.25"></path> |
| 29 | <path d="M108.25 70h7.25"></path> |
| 30 | <text x="92.75" y="75" class="comment">bar</text> |
| 31 | </g> |
| 32 | <path d="M115.5 70a10 10 0 0 0 10 -10v-10a10 10 0 0 0 -10 -10"></path> |
| 33 | </g> |
| 34 | <path d="M125.5 40h20"></path> |
| 35 | </g> |
| 36 | <g> |
| 37 | <path d="M145.5 40h0"></path> |
| 38 | <path d="M251 40h0"></path> |
| 39 | <path d="M145.5 40h20"></path> |
| 40 | <g> |
| 41 | <path d="M165.5 40h65.5"></path> |
| 42 | </g> |
| 43 | <path d="M231 40h20"></path> |
| 44 | <path d="M145.5 40a10 10 0 0 1 10 10v0a10 10 0 0 0 10 10"></path> |
| 45 | <g> |
| 46 | <path d="M165.5 60h0"></path> |
| 47 | <path d="M231 60h0"></path> |
| 48 | <path d="M165.5 60h10"></path> |
| 49 | <g class="terminal"> |
| 50 | <path d="M175.5 60h0"></path> |
| 51 | <path d="M221 60h0"></path> |
| 52 | <rect x="175.5" y="49" width="45.5" height="22" rx="10" ry="10"></rect> |
| 53 | <text x="198.25" y="64">foo</text> |
| 54 | </g> |
| 55 | <path d="M221 60h10"></path> |
| 56 | <path d="M175.5 60a10 10 0 0 0 -10 10v10a10 10 0 0 0 10 10"></path> |
| 57 | <g> |
| 58 | <path d="M175.5 90h7.25"></path> |
| 59 | <path d="M213.75 90h7.25"></path> |
| 60 | <text x="198.25" y="95" class="comment">bar</text> |
| 61 | </g> |
| 62 | <path d="M221 90a10 10 0 0 0 10 -10v-10a10 10 0 0 0 -10 -10"></path> |
| 63 | </g> |
| 64 | <path d="M231 60a10 10 0 0 0 10 -10v0a10 10 0 0 1 10 -10"></path> |
| 65 | </g> |
| 66 | <path d="M 251 40 h 20 m -10 -10 v 20 m 10 -20 v 20"></path> |
| 67 | </g> |
| 68 | <style> |
| 69 | svg { |
| 70 | background-color: hsl(30,20%,95%); |
| 71 | } |
| 72 | path { |
| 73 | stroke-width: 3; |
| 74 | stroke: black; |
| 75 | fill: rgba(0,0,0,0); |
| 76 | } |
| 77 | text { |
| 78 | font: bold 14px monospace; |
| 79 | text-anchor: middle; |
| 80 | white-space: pre; |
| 81 | } |
| 82 | text.diagram-text { |
| 83 | font-size: 12px; |
| 84 | } |
| 85 | text.diagram-arrow { |
| 86 | font-size: 16px; |
| 87 | } |
| 88 | text.label { |
| 89 | text-anchor: start; |
| 90 | } |
| 91 | text.comment { |
| 92 | font: italic 12px monospace; |
| 93 | } |
| 94 | g.non-terminal text { |
| 95 | /*font-style: italic;*/ |
| 96 | } |
| 97 | rect { |
| 98 | stroke-width: 3; |
| 99 | stroke: black; |
| 100 | fill: hsl(120,100%,90%); |
| 101 | } |
| 102 | path.diagram-text { |
| 103 | stroke-width: 3; |
| 104 | stroke: black; |
| 105 | fill: white; |
| 106 | cursor: help; |
| 107 | } |
| 108 | g.diagram-text:hover path.diagram-text { |
| 109 | fill: #eee; |
| 110 | } |
| 111 | </style> |
| 112 | </svg> |