test_closure.svg 4.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
  3. "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
  4. <!-- Generated by graphviz version 2.40.1 (20161225.0304)
  5. -->
  6. <!-- Title: state transitions Pages: 1 -->
  7. <svg width="134pt" height="241pt"
  8. viewBox="0.00 0.00 134.00 241.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
  9. <g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 237)">
  10. <title>state transitions</title>
  11. <polygon fill="#ffffff" stroke="transparent" points="-4,4 -4,-237 130,-237 130,4 -4,4"/>
  12. <!-- __initial -->
  13. <g id="node1" class="node">
  14. <title>__initial</title>
  15. <ellipse fill="#000000" stroke="#000000" stroke-width="2" cx="63" cy="-227.5" rx="5.5" ry="5.5"/>
  16. </g>
  17. <!-- _s1 -->
  18. <g id="node4" class="node">
  19. <title>_s1</title>
  20. <polygon fill="transparent" stroke="transparent" stroke-width="2" points="126,-194 0,-194 0,-148 126,-148 126,-194"/>
  21. <text text-anchor="start" x="56.6646" y="-177.2" font-family="Helvetica,sans-Serif" font-size="12.00" fill="#000000">s1</text>
  22. <text text-anchor="start" x="5.826" y="-157.2" font-family="Helvetica,sans-Serif" font-size="12.00" fill="#000000">enter /x = increment()</text>
  23. <polygon fill="#000000" stroke="#000000" points="0,-171 0,-171 126,-171 126,-171 0,-171"/>
  24. <path fill="none" stroke="#000000" stroke-width="2" d="M13,-149C13,-149 113,-149 113,-149 119,-149 125,-155 125,-161 125,-161 125,-181 125,-181 125,-187 119,-193 113,-193 113,-193 13,-193 13,-193 7,-193 1,-187 1,-181 1,-181 1,-161 1,-161 1,-155 7,-149 13,-149"/>
  25. </g>
  26. <!-- __initial&#45;&gt;_s1 -->
  27. <g id="edge1" class="edge">
  28. <title>__initial&#45;&gt;_s1</title>
  29. <path fill="none" stroke="#000000" d="M63,-221.876C63,-217.5252 63,-211.1081 63,-204.286"/>
  30. <polygon fill="#000000" stroke="#000000" points="66.5001,-204.1947 63,-194.1947 59.5001,-204.1947 66.5001,-204.1947"/>
  31. <text text-anchor="middle" x="64.3895" y="-205" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000"> </text>
  32. </g>
  33. <!-- _s3 -->
  34. <g id="node2" class="node">
  35. <title>_s3</title>
  36. <polygon fill="transparent" stroke="transparent" stroke-width="2" points="110,-46 16,-46 16,0 110,0 110,-46"/>
  37. <text text-anchor="start" x="56.6646" y="-29.2" font-family="Helvetica,sans-Serif" font-size="12.00" fill="#000000">s3</text>
  38. <text text-anchor="start" x="21.501" y="-9.2" font-family="Helvetica,sans-Serif" font-size="12.00" fill="#000000">enter ^out.done</text>
  39. <polygon fill="#000000" stroke="#000000" points="16,-23 16,-23 110,-23 110,-23 16,-23"/>
  40. <path fill="none" stroke="#000000" stroke-width="2" d="M29,-1C29,-1 97,-1 97,-1 103,-1 109,-7 109,-13 109,-13 109,-33 109,-33 109,-39 103,-45 97,-45 97,-45 29,-45 29,-45 23,-45 17,-39 17,-33 17,-33 17,-13 17,-13 17,-7 23,-1 29,-1"/>
  41. </g>
  42. <!-- _s2 -->
  43. <g id="node3" class="node">
  44. <title>_s2</title>
  45. <polygon fill="transparent" stroke="transparent" stroke-width="2" points="126,-120 0,-120 0,-74 126,-74 126,-120"/>
  46. <text text-anchor="start" x="56.6646" y="-103.2" font-family="Helvetica,sans-Serif" font-size="12.00" fill="#000000">s2</text>
  47. <text text-anchor="start" x="5.826" y="-83.2" font-family="Helvetica,sans-Serif" font-size="12.00" fill="#000000">enter /x = increment()</text>
  48. <polygon fill="#000000" stroke="#000000" points="0,-97 0,-97 126,-97 126,-97 0,-97"/>
  49. <path fill="none" stroke="#000000" stroke-width="2" d="M13,-75C13,-75 113,-75 113,-75 119,-75 125,-81 125,-87 125,-87 125,-107 125,-107 125,-113 119,-119 113,-119 113,-119 13,-119 13,-119 7,-119 1,-113 1,-107 1,-107 1,-87 1,-87 1,-81 7,-75 13,-75"/>
  50. </g>
  51. <!-- _s2&#45;&gt;_s3 -->
  52. <g id="edge2" class="edge">
  53. <title>_s2&#45;&gt;_s3</title>
  54. <path fill="none" stroke="#000000" d="M63,-73.9916C63,-68.476 63,-62.474 63,-56.5881"/>
  55. <polygon fill="#000000" stroke="#000000" points="66.5001,-56.249 63,-46.2491 59.5001,-56.2491 66.5001,-56.249"/>
  56. <text text-anchor="start" x="63" y="-57" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">[x == 2] &#160;&#160;</text>
  57. </g>
  58. <!-- _s1&#45;&gt;_s2 -->
  59. <g id="edge3" class="edge">
  60. <title>_s1&#45;&gt;_s2</title>
  61. <path fill="none" stroke="#000000" d="M63,-147.9916C63,-142.476 63,-136.474 63,-130.5881"/>
  62. <polygon fill="#000000" stroke="#000000" points="66.5001,-130.249 63,-120.2491 59.5001,-130.2491 66.5001,-130.249"/>
  63. <text text-anchor="start" x="63" y="-131" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">[x == 1] &#160;&#160;</text>
  64. </g>
  65. </g>
  66. </svg>