rsyntaxtree 1.2.3 → 1.2.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (159) hide show
  1. checksums.yaml +4 -4
  2. data/.tags +365 -127
  3. data/Rakefile +1 -76
  4. data/bin/rsyntaxtree +2 -0
  5. data/devel/generate_examples.rb +91 -0
  6. data/docs/_examples/000.md +3 -1
  7. data/docs/_examples/001.md +2 -0
  8. data/docs/_examples/002.md +2 -0
  9. data/docs/_examples/003.md +2 -0
  10. data/docs/_examples/004.md +2 -0
  11. data/docs/_examples/005.md +2 -0
  12. data/docs/_examples/006.md +2 -0
  13. data/docs/_examples/007.md +2 -0
  14. data/docs/_examples/008.md +2 -0
  15. data/docs/_examples/009.md +2 -0
  16. data/docs/_examples/010.md +2 -0
  17. data/docs/_examples/011.md +2 -0
  18. data/docs/_examples/012.md +2 -0
  19. data/docs/_examples/013.md +2 -0
  20. data/docs/_examples/014.md +2 -0
  21. data/docs/_examples/015.md +2 -0
  22. data/docs/_examples/016.md +2 -0
  23. data/docs/_examples/017.md +2 -0
  24. data/docs/_examples/018.md +2 -0
  25. data/docs/_examples/019.md +2 -0
  26. data/docs/_examples/020.md +8 -6
  27. data/docs/_examples/021.md +2 -0
  28. data/docs/_examples/022.md +2 -0
  29. data/docs/_examples/023.md +2 -0
  30. data/docs/_examples/024.md +2 -0
  31. data/docs/_examples/025.md +2 -0
  32. data/docs/_examples/026.md +2 -0
  33. data/docs/_examples/027.md +2 -0
  34. data/docs/_examples/028.md +2 -0
  35. data/docs/_examples/029.md +2 -0
  36. data/docs/_examples/030.md +2 -0
  37. data/docs/_examples/031.md +2 -0
  38. data/docs/_examples/032.md +2 -0
  39. data/docs/_examples/033.md +2 -0
  40. data/docs/_examples/034.md +2 -0
  41. data/docs/_examples/035.md +2 -0
  42. data/docs/_examples/036.md +2 -0
  43. data/docs/_examples/037.md +8 -5
  44. data/docs/_examples/038.md +3 -1
  45. data/docs/_examples/039.md +3 -0
  46. data/docs/_examples/040.md +63 -0
  47. data/docs/_examples/041.md +35 -0
  48. data/docs/_examples/042.md +22 -0
  49. data/docs/_examples/043.md +40 -0
  50. data/docs/_examples/044.md +16 -0
  51. data/docs/_examples/045.md +48 -0
  52. data/docs/assets/img/000.png +0 -0
  53. data/docs/assets/img/001.png +0 -0
  54. data/docs/assets/img/002.png +0 -0
  55. data/docs/assets/img/003.png +0 -0
  56. data/docs/assets/img/004.png +0 -0
  57. data/docs/assets/img/005.png +0 -0
  58. data/docs/assets/img/006.png +0 -0
  59. data/docs/assets/img/007.png +0 -0
  60. data/docs/assets/img/008.png +0 -0
  61. data/docs/assets/img/009.png +0 -0
  62. data/docs/assets/img/010.png +0 -0
  63. data/docs/assets/img/011.png +0 -0
  64. data/docs/assets/img/012.png +0 -0
  65. data/docs/assets/img/013.png +0 -0
  66. data/docs/assets/img/014.png +0 -0
  67. data/docs/assets/img/014_.png +0 -0
  68. data/docs/assets/img/015.png +0 -0
  69. data/docs/assets/img/016.png +0 -0
  70. data/docs/assets/img/017.png +0 -0
  71. data/docs/assets/img/018.png +0 -0
  72. data/docs/assets/img/019.png +0 -0
  73. data/docs/assets/img/020.png +0 -0
  74. data/docs/assets/img/021.png +0 -0
  75. data/docs/assets/img/022.png +0 -0
  76. data/docs/assets/img/023.png +0 -0
  77. data/docs/assets/img/024.png +0 -0
  78. data/docs/assets/img/025.png +0 -0
  79. data/docs/assets/img/026.png +0 -0
  80. data/docs/assets/img/027.png +0 -0
  81. data/docs/assets/img/028.png +0 -0
  82. data/docs/assets/img/029.png +0 -0
  83. data/docs/assets/img/030.png +0 -0
  84. data/docs/assets/img/031.png +0 -0
  85. data/docs/assets/img/032.png +0 -0
  86. data/docs/assets/img/033.png +0 -0
  87. data/docs/assets/img/034.png +0 -0
  88. data/docs/assets/img/035.png +0 -0
  89. data/docs/assets/img/036.png +0 -0
  90. data/docs/assets/img/037.png +0 -0
  91. data/docs/assets/img/038.png +0 -0
  92. data/docs/assets/img/039.png +0 -0
  93. data/docs/assets/img/040.png +0 -0
  94. data/docs/assets/img/041.png +0 -0
  95. data/docs/assets/img/042.png +0 -0
  96. data/docs/assets/img/043.png +0 -0
  97. data/docs/assets/img/044.png +0 -0
  98. data/docs/assets/img/045.png +0 -0
  99. data/docs/assets/svg/000.svg +43 -43
  100. data/docs/assets/svg/001.svg +22 -22
  101. data/docs/assets/svg/002.svg +37 -37
  102. data/docs/assets/svg/003.svg +29 -29
  103. data/docs/assets/svg/004.svg +40 -40
  104. data/docs/assets/svg/005.svg +20 -20
  105. data/docs/assets/svg/006.svg +25 -25
  106. data/docs/assets/svg/007.svg +31 -31
  107. data/docs/assets/svg/008.svg +35 -35
  108. data/docs/assets/svg/009.svg +34 -34
  109. data/docs/assets/svg/010.svg +55 -55
  110. data/docs/assets/svg/011.svg +29 -29
  111. data/docs/assets/svg/012.svg +34 -34
  112. data/docs/assets/svg/013.svg +140 -140
  113. data/docs/assets/svg/014.svg +103 -110
  114. data/docs/assets/svg/015.svg +36 -36
  115. data/docs/assets/svg/016.svg +380 -380
  116. data/docs/assets/svg/017.svg +52 -52
  117. data/docs/assets/svg/018.svg +40 -40
  118. data/docs/assets/svg/019.svg +204 -234
  119. data/docs/assets/svg/020.svg +65 -63
  120. data/docs/assets/svg/021.svg +57 -57
  121. data/docs/assets/svg/022.svg +102 -102
  122. data/docs/assets/svg/023.svg +65 -65
  123. data/docs/assets/svg/024.svg +23 -23
  124. data/docs/assets/svg/025.svg +144 -144
  125. data/docs/assets/svg/026.svg +23 -23
  126. data/docs/assets/svg/027.svg +63 -63
  127. data/docs/assets/svg/028.svg +24 -24
  128. data/docs/assets/svg/029.svg +88 -98
  129. data/docs/assets/svg/030.svg +47 -53
  130. data/docs/assets/svg/031.svg +15 -15
  131. data/docs/assets/svg/032.svg +60 -66
  132. data/docs/assets/svg/033.svg +46 -46
  133. data/docs/assets/svg/034.svg +58 -67
  134. data/docs/assets/svg/035.svg +48 -53
  135. data/docs/assets/svg/036.svg +26 -29
  136. data/docs/assets/svg/037.svg +35 -55
  137. data/docs/assets/svg/038.svg +51 -57
  138. data/docs/assets/svg/039.svg +10 -10
  139. data/docs/assets/svg/040.svg +120 -0
  140. data/docs/assets/svg/041.svg +93 -0
  141. data/docs/assets/svg/042.svg +42 -0
  142. data/docs/assets/svg/043.svg +304 -0
  143. data/docs/assets/svg/044.svg +32 -0
  144. data/docs/assets/svg/045.svg +107 -0
  145. data/docs/documentation.md +9 -6
  146. data/docs/documentation_ja.md +9 -5
  147. data/docs/examples.html +2 -0
  148. data/fonts/NotoEmoji-Bold.ttf +0 -0
  149. data/fonts/NotoEmoji-Regular.ttf +0 -0
  150. data/fonts/OpenMoji-black-glyf.ttf +0 -0
  151. data/lib/rsyntaxtree/base_graph.rb +7 -6
  152. data/lib/rsyntaxtree/element.rb +7 -6
  153. data/lib/rsyntaxtree/svg_graph.rb +57 -53
  154. data/lib/rsyntaxtree/version.rb +1 -1
  155. data/lib/rsyntaxtree.rb +10 -5
  156. data/test/example_verify_test.rb +3 -0
  157. metadata +25 -4
  158. data/fonts/OpenMoji-Black.ttf +0 -0
  159. data/fonts/OpenMoji-Color.ttf +0 -0
@@ -0,0 +1,304 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <svg width="2299.4" height="1377.6" viewBox="-20, -20, 2319.4, 1397.6" version="1.1" xmlns="http://www.w3.org/2000/svg">
4
+ <defs>
5
+ <marker id="arrow" markerUnits="userSpaceOnUse" viewBox="0 0 10 10" refX="10" refY="5" markerWidth="30.400000000000002" markerHeight="30.400000000000002" orient="auto">
6
+ <path d="M 0 0 L 10 5 L 0 10" fill="#CC79A7"/>
7
+ </marker>
8
+ <marker id="arrowBackward" markerUnits="userSpaceOnUse" viewBox="0 0 10 10" refX="5" refY="5" markerWidth="30.400000000000002" markerHeight="30.400000000000002" orient="auto">
9
+ <path d="M 0 0 L 10 5 L 0 10 z" fill="#CC79A7"/>
10
+ </marker>
11
+ <marker id="arrowForward" markerUnits="userSpaceOnUse" viewBox="0 0 10 10" refX="5" refY="5" markerWidth="30.400000000000002" markerHeight="30.400000000000002" orient="auto">
12
+ <path d="M 10 0 L 0 5 L 10 10 z" fill="#CC79A7"/>
13
+ </marker>
14
+ <marker id="arrowBothways" markerUnits="userSpaceOnUse" viewBox="0 0 30 10" refX="15" refY="5" markerWidth="91.2" markerHeight="30.400000000000002" orient="auto">
15
+ <path d="M 0 5 L 10 0 L 10 5 L 20 5 L 20 0 L 30 5 L 20 10 L 20 5 L 10 5 L 10 10 z" fill="#CC79A7"/>
16
+ </marker>
17
+ <pattern id="hatchBlack" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse" patternTransform="rotate(45)">
18
+ <line x1="0" y="0" x2="0" y2="10" stroke="black" stroke-width="4"></line>
19
+ </pattern>
20
+ <pattern id="hatchForNode" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse" patternTransform="rotate(45)">
21
+ <line x1="0" y="0" x2="0" y2="10" stroke="#0072B2" stroke-width="4"></line>
22
+ </pattern>
23
+ <pattern id="hatchForLeaf" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse" patternTransform="rotate(45)">
24
+ <line x1="0" y="0" x2="0" y2="10" stroke="#009E73" stroke-width="4"></line>
25
+ </pattern>
26
+ </defs>
27
+ <rect x="-20" y="-20" width="2319.4" height="1397.6" stroke="none" fill="white" />"
28
+ <text white-space='pre' alignment-baseline='text-top' style='fill: #0072B2; font-size: 64px;' x='681.1500000000001' y='132.0'><tspan x='690.6500000000001' y='132.0' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">20</tspan>
29
+ <tspan x='799.6500000000001' y='132.0' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">2</tspan>
30
+ <tspan x='871.6500000000001' y='132.0' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">14</tspan>
31
+ <tspan x='980.6500000000001' y='132.0' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">9</tspan>
32
+ <tspan x='1052.65' y='132.0' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">15</tspan>
33
+ <tspan x='1145.65' y='132.0' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">16</tspan>
34
+ <tspan x='1238.65' y='132.0' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">11</tspan>
35
+ <tspan x='1331.65' y='132.0' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">19</tspan>
36
+ <tspan x='1424.65' y='132.0' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">10</tspan>
37
+ <tspan x='1517.65' y='132.0' style="font-weight: bold; fill: #D55E00; " text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">13</tspan>
38
+ </text>
39
+ <text white-space='pre' alignment-baseline='text-top' style='fill: #0072B2; font-size: 64px;' x='271.10000000000014' y='510.4'><tspan x='296.60000000000014' y='510.4' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">2</tspan>
40
+ <tspan x='384.60000000000014' y='510.4' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">9</tspan>
41
+ <tspan x='456.60000000000014' y='510.4' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">12</tspan>
42
+ <tspan x='549.6000000000001' y='510.4' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">11</tspan>
43
+ <tspan x='642.6000000000001' y='510.4' style="font-weight: bold; fill: #D55E00; " text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">10</tspan>
44
+ </text>
45
+ <text white-space='pre' alignment-baseline='text-top' style='fill: #0072B2; font-size: 64px;' x='91.20000000000016' y='888.8'><tspan x='116.70000000000016' y='888.8' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">2</tspan>
46
+ <tspan x='204.70000000000016' y='888.8' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">9</tspan>
47
+ </text>
48
+ <text white-space='pre' alignment-baseline='text-top' style='fill: #009E73; font-size: 64px;' x='30.399999999999977' y='1267.1999999999998'><tspan x='55.89999999999998' y='1267.1999999999998' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">2</tspan>
49
+ </text>
50
+ <text white-space='pre' alignment-baseline='text-top' style='fill: #009E73; font-size: 64px;' x='240.0000000000001' y='1267.1999999999998'><tspan x='265.5000000000001' y='1267.1999999999998' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">9</tspan>
51
+ </text>
52
+ <text white-space='pre' alignment-baseline='text-top' style='fill: #009E73; font-size: 64px;' x='449.60000000000014' y='888.8'><tspan x='459.10000000000014' y='888.8' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">10</tspan>
53
+ </text>
54
+ <text white-space='pre' alignment-baseline='text-top' style='fill: #0072B2; font-size: 64px;' x='725.0000000000002' y='888.8'><tspan x='734.5000000000002' y='888.8' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">12</tspan>
55
+ <tspan x='827.5000000000002' y='888.8' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">11</tspan>
56
+ </text>
57
+ <text white-space='pre' alignment-baseline='text-top' style='fill: #009E73; font-size: 64px;' x='664.2000000000002' y='1267.1999999999998'><tspan x='673.7000000000002' y='1267.1999999999998' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">12</tspan>
58
+ </text>
59
+ <text white-space='pre' alignment-baseline='text-top' style='fill: #009E73; font-size: 64px;' x='878.8000000000002' y='1267.1999999999998'><tspan x='888.3000000000002' y='1267.1999999999998' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">11</tspan>
60
+ </text>
61
+ <text white-space='pre' alignment-baseline='text-top' style='fill: #009E73; font-size: 64px;' x='1093.4' y='510.4'><tspan x='1102.9' y='510.4' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">13</tspan>
62
+ </text>
63
+ <text white-space='pre' alignment-baseline='text-top' style='fill: #0072B2; font-size: 64px;' x='1551.2000000000003' y='510.4'><tspan x='1560.7000000000003' y='510.4' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">20</tspan>
64
+ <tspan x='1653.7000000000003' y='510.4' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">14</tspan>
65
+ <tspan x='1746.7000000000003' y='510.4' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">15</tspan>
66
+ <tspan x='1839.7000000000003' y='510.4' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">19</tspan>
67
+ <tspan x='1932.7000000000003' y='510.4' style="font-weight: bold; fill: #D55E00; " text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">16</tspan>
68
+ </text>
69
+ <text white-space='pre' alignment-baseline='text-top' style='fill: #0072B2; font-size: 64px;' x='1368.8000000000002' y='888.8'><tspan x='1378.3000000000002' y='888.8' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">14</tspan>
70
+ <tspan x='1471.3000000000002' y='888.8' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">15</tspan>
71
+ </text>
72
+ <text white-space='pre' alignment-baseline='text-top' style='fill: #009E73; font-size: 64px;' x='1308.0' y='1267.1999999999998'><tspan x='1317.5' y='1267.1999999999998' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">14</tspan>
73
+ </text>
74
+ <text white-space='pre' alignment-baseline='text-top' style='fill: #009E73; font-size: 64px;' x='1522.6000000000004' y='1267.1999999999998'><tspan x='1532.1000000000004' y='1267.1999999999998' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">15</tspan>
75
+ </text>
76
+ <text white-space='pre' alignment-baseline='text-top' style='fill: #009E73; font-size: 64px;' x='1737.2000000000003' y='888.8'><tspan x='1746.7000000000003' y='888.8' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">16</tspan>
77
+ </text>
78
+ <text white-space='pre' alignment-baseline='text-top' style='fill: #0072B2; font-size: 64px;' x='2012.6000000000004' y='888.8'><tspan x='2022.1000000000004' y='888.8' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">20</tspan>
79
+ <tspan x='2115.1000000000004' y='888.8' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">19</tspan>
80
+ </text>
81
+ <text white-space='pre' alignment-baseline='text-top' style='fill: #009E73; font-size: 64px;' x='1951.8000000000002' y='1267.1999999999998'><tspan x='1961.3000000000002' y='1267.1999999999998' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">20</tspan>
82
+ </text>
83
+ <text white-space='pre' alignment-baseline='text-top' style='fill: #009E73; font-size: 64px;' x='2166.4' y='1267.1999999999998'><tspan x='2175.9' y='1267.1999999999998' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">19</tspan>
84
+ </text>
85
+ <line style='stroke:black; stroke-width:4; stroke-linecap:round;' x1='498.60000000000014' y1='400.4' x2='1141.15' y2='187.0' />
86
+ <line style='stroke:black; stroke-width:4; stroke-linecap:round;' x1='1139.9' y1='400.4' x2='1141.15' y2='187.0' />
87
+ <line style='stroke:black; stroke-width:4; stroke-linecap:round;' x1='1783.7000000000003' y1='400.4' x2='1141.15' y2='187.0' />
88
+ <line style='stroke:black; stroke-width:4; stroke-linecap:round;' x1='179.20000000000016' y1='778.8' x2='498.60000000000014' y2='565.4' />
89
+ <line style='stroke:black; stroke-width:4; stroke-linecap:round;' x1='496.10000000000014' y1='778.8' x2='498.60000000000014' y2='565.4' />
90
+ <line style='stroke:black; stroke-width:4; stroke-linecap:round;' x1='818.0000000000002' y1='778.8' x2='498.60000000000014' y2='565.4' />
91
+ <line style='stroke:black; stroke-width:4; stroke-linecap:round;' x1='74.39999999999998' y1='1157.1999999999998' x2='179.20000000000016' y2='943.8' />
92
+ <line style='stroke:black; stroke-width:4; stroke-linecap:round;' x1='284.0000000000001' y1='1157.1999999999998' x2='179.20000000000016' y2='943.8' />
93
+ <line style='stroke:black; stroke-width:4; stroke-linecap:round;' x1='710.7000000000002' y1='1157.1999999999998' x2='818.0000000000002' y2='943.8' />
94
+ <line style='stroke:black; stroke-width:4; stroke-linecap:round;' x1='925.3000000000002' y1='1157.1999999999998' x2='818.0000000000002' y2='943.8' />
95
+ <line style='stroke:black; stroke-width:4; stroke-linecap:round;' x1='1461.8000000000002' y1='778.8' x2='1783.7000000000003' y2='565.4' />
96
+ <line style='stroke:black; stroke-width:4; stroke-linecap:round;' x1='1783.7000000000003' y1='778.8' x2='1783.7000000000003' y2='565.4' />
97
+ <line style='stroke:black; stroke-width:4; stroke-linecap:round;' x1='2105.6000000000004' y1='778.8' x2='1783.7000000000003' y2='565.4' />
98
+ <line style='stroke:black; stroke-width:4; stroke-linecap:round;' x1='1354.5' y1='1157.1999999999998' x2='1461.8000000000002' y2='943.8' />
99
+ <line style='stroke:black; stroke-width:4; stroke-linecap:round;' x1='1569.1000000000004' y1='1157.1999999999998' x2='1461.8000000000002' y2='943.8' />
100
+ <line style='stroke:black; stroke-width:4; stroke-linecap:round;' x1='1998.3000000000002' y1='1157.1999999999998' x2='2105.6000000000004' y2='943.8' />
101
+ <line style='stroke:black; stroke-width:4; stroke-linecap:round;' x1='2212.9' y1='1157.1999999999998' x2='2105.6000000000004' y2='943.8' />
102
+ <rect style='stroke: #0072B2; stroke-width:4;'
103
+ x='681.1500000000001' y='63.599999999999994'
104
+ width='93.0' height='88.0'
105
+ fill='none' />
106
+
107
+ <rect style='stroke: #0072B2; stroke-width:4;'
108
+ x='774.1500000000001' y='63.599999999999994'
109
+ width='88.0' height='88.0'
110
+ fill='none' />
111
+
112
+ <rect style='stroke: #0072B2; stroke-width:4;'
113
+ x='862.1500000000001' y='63.599999999999994'
114
+ width='93.0' height='88.0'
115
+ fill='none' />
116
+
117
+ <rect style='stroke: #0072B2; stroke-width:4;'
118
+ x='955.1500000000001' y='63.599999999999994'
119
+ width='88.0' height='88.0'
120
+ fill='none' />
121
+
122
+ <rect style='stroke: #0072B2; stroke-width:4;'
123
+ x='1043.15' y='63.599999999999994'
124
+ width='93.0' height='88.0'
125
+ fill='none' />
126
+
127
+ <rect style='stroke: #0072B2; stroke-width:4;'
128
+ x='1136.15' y='63.599999999999994'
129
+ width='93.0' height='88.0'
130
+ fill='none' />
131
+
132
+ <rect style='stroke: #0072B2; stroke-width:4;'
133
+ x='1229.15' y='63.599999999999994'
134
+ width='93.0' height='88.0'
135
+ fill='none' />
136
+
137
+ <rect style='stroke: #0072B2; stroke-width:4;'
138
+ x='1322.15' y='63.599999999999994'
139
+ width='93.0' height='88.0'
140
+ fill='none' />
141
+
142
+ <rect style='stroke: #0072B2; stroke-width:4;'
143
+ x='1415.15' y='63.599999999999994'
144
+ width='93.0' height='88.0'
145
+ fill='none' />
146
+
147
+ <rect style='stroke: #0072B2; stroke-width:4;'
148
+ x='1508.15' y='63.599999999999994'
149
+ width='93.0' height='88.0'
150
+ fill='none' />
151
+
152
+ <rect style='stroke: #0072B2; stroke-width:4;'
153
+ x='271.10000000000014' y='442.0'
154
+ width='88.0' height='88.0'
155
+ fill='none' />
156
+
157
+ <rect style='stroke: #0072B2; stroke-width:4;'
158
+ x='359.10000000000014' y='442.0'
159
+ width='88.0' height='88.0'
160
+ fill='none' />
161
+
162
+ <rect style='stroke: #0072B2; stroke-width:4;'
163
+ x='447.10000000000014' y='442.0'
164
+ width='93.0' height='88.0'
165
+ fill='none' />
166
+
167
+ <rect style='stroke: #0072B2; stroke-width:4;'
168
+ x='540.1000000000001' y='442.0'
169
+ width='93.0' height='88.0'
170
+ fill='none' />
171
+
172
+ <rect style='stroke: #0072B2; stroke-width:4;'
173
+ x='633.1000000000001' y='442.0'
174
+ width='93.0' height='88.0'
175
+ fill='none' />
176
+
177
+ <rect style='stroke: #0072B2; stroke-width:4;'
178
+ x='91.20000000000016' y='820.4'
179
+ width='88.0' height='88.0'
180
+ fill='none' />
181
+
182
+ <rect style='stroke: #0072B2; stroke-width:4;'
183
+ x='179.20000000000016' y='820.4'
184
+ width='88.0' height='88.0'
185
+ fill='none' />
186
+
187
+ <rect style='stroke: #009E73; stroke-width:4;'
188
+ x='30.399999999999977' y='1198.7999999999997'
189
+ width='88.0' height='88.0'
190
+ fill='none' />
191
+
192
+ <rect style='stroke: #009E73; stroke-width:4;'
193
+ x='240.0000000000001' y='1198.7999999999997'
194
+ width='88.0' height='88.0'
195
+ fill='none' />
196
+
197
+ <rect style='stroke: #009E73; stroke-width:4;'
198
+ x='449.60000000000014' y='820.4'
199
+ width='93.0' height='88.0'
200
+ fill='none' />
201
+
202
+ <rect style='stroke: #0072B2; stroke-width:4;'
203
+ x='725.0000000000002' y='820.4'
204
+ width='93.0' height='88.0'
205
+ fill='none' />
206
+
207
+ <rect style='stroke: #0072B2; stroke-width:4;'
208
+ x='818.0000000000002' y='820.4'
209
+ width='93.0' height='88.0'
210
+ fill='none' />
211
+
212
+ <rect style='stroke: #009E73; stroke-width:4;'
213
+ x='664.2000000000002' y='1198.7999999999997'
214
+ width='93.0' height='88.0'
215
+ fill='none' />
216
+
217
+ <rect style='stroke: #009E73; stroke-width:4;'
218
+ x='878.8000000000002' y='1198.7999999999997'
219
+ width='93.0' height='88.0'
220
+ fill='none' />
221
+
222
+ <rect style='stroke: #009E73; stroke-width:4;'
223
+ x='1093.4' y='442.0'
224
+ width='93.0' height='88.0'
225
+ fill='none' />
226
+
227
+ <rect style='stroke: #0072B2; stroke-width:4;'
228
+ x='1551.2000000000003' y='442.0'
229
+ width='93.0' height='88.0'
230
+ fill='none' />
231
+
232
+ <rect style='stroke: #0072B2; stroke-width:4;'
233
+ x='1644.2000000000003' y='442.0'
234
+ width='93.0' height='88.0'
235
+ fill='none' />
236
+
237
+ <rect style='stroke: #0072B2; stroke-width:4;'
238
+ x='1737.2000000000003' y='442.0'
239
+ width='93.0' height='88.0'
240
+ fill='none' />
241
+
242
+ <rect style='stroke: #0072B2; stroke-width:4;'
243
+ x='1830.2000000000003' y='442.0'
244
+ width='93.0' height='88.0'
245
+ fill='none' />
246
+
247
+ <rect style='stroke: #0072B2; stroke-width:4;'
248
+ x='1923.2000000000003' y='442.0'
249
+ width='93.0' height='88.0'
250
+ fill='none' />
251
+
252
+ <rect style='stroke: #0072B2; stroke-width:4;'
253
+ x='1368.8000000000002' y='820.4'
254
+ width='93.0' height='88.0'
255
+ fill='none' />
256
+
257
+ <rect style='stroke: #0072B2; stroke-width:4;'
258
+ x='1461.8000000000002' y='820.4'
259
+ width='93.0' height='88.0'
260
+ fill='none' />
261
+
262
+ <rect style='stroke: #009E73; stroke-width:4;'
263
+ x='1308.0' y='1198.7999999999997'
264
+ width='93.0' height='88.0'
265
+ fill='none' />
266
+
267
+ <rect style='stroke: #009E73; stroke-width:4;'
268
+ x='1522.6000000000004' y='1198.7999999999997'
269
+ width='93.0' height='88.0'
270
+ fill='none' />
271
+
272
+ <rect style='stroke: #009E73; stroke-width:4;'
273
+ x='1737.2000000000003' y='820.4'
274
+ width='93.0' height='88.0'
275
+ fill='none' />
276
+
277
+ <rect style='stroke: #0072B2; stroke-width:4;'
278
+ x='2012.6000000000004' y='820.4'
279
+ width='93.0' height='88.0'
280
+ fill='none' />
281
+
282
+ <rect style='stroke: #0072B2; stroke-width:4;'
283
+ x='2105.6000000000004' y='820.4'
284
+ width='93.0' height='88.0'
285
+ fill='none' />
286
+
287
+ <rect style='stroke: #009E73; stroke-width:4;'
288
+ x='1951.8000000000002' y='1198.7999999999997'
289
+ width='93.0' height='88.0'
290
+ fill='none' />
291
+
292
+ <rect style='stroke: #009E73; stroke-width:4;'
293
+ x='2166.4' y='1198.7999999999997'
294
+ width='93.0' height='88.0'
295
+ fill='none' />
296
+
297
+ <path d='M756.5000000000001,482.9 L909.75,482.9 L1063.0, 482.9' style='fill: none; stroke: #CC79A7; stroke-width:4; stroke-linecap:round;' marker-mid='url(#arrowForward)' />
298
+ <path d='M297.60000000000014,861.3 L358.40000000000015,861.3 L419.20000000000016, 861.3' style='fill: none; stroke: #CC79A7; stroke-width:4; stroke-linecap:round;' marker-mid='url(#arrowForward)' />
299
+ <path d='M573.0000000000001,861.3 L633.8000000000002,861.3 L694.6000000000003, 861.3' style='fill: none; stroke: #CC79A7; stroke-width:4; stroke-linecap:round;' marker-mid='url(#arrowBackward)' />
300
+ <path d='M787.6000000000001,1239.6999999999998 L818.0000000000002,1239.6999999999998 L848.4000000000002, 1239.6999999999998' style='fill: none; stroke: #CC79A7; stroke-width:4; stroke-linecap:round;' marker-mid='url(#arrowBothways)' />
301
+ <path d='M1216.8000000000002,482.9 L1368.8000000000002,482.9 L1520.8000000000002, 482.9' style='fill: none; stroke: #CC79A7; stroke-width:4; stroke-linecap:round;' marker-mid='url(#arrowBackward)' />
302
+ <path d='M1585.2000000000003,861.3 L1646.0000000000002,861.3 L1706.8000000000002, 861.3' style='fill: none; stroke: #CC79A7; stroke-width:4; stroke-linecap:round;' marker-mid='url(#arrowForward)' />
303
+ <path d='M1860.6000000000004,861.3 L1921.4000000000003,861.3 L1982.2000000000003, 861.3' style='fill: none; stroke: #CC79A7; stroke-width:4; stroke-linecap:round;' marker-mid='url(#arrowBackward)' />
304
+ <path d='M2075.2000000000003,1239.6999999999998 L2105.6000000000004,1239.6999999999998 L2136.0, 1239.6999999999998' style='fill: none; stroke: #CC79A7; stroke-width:4; stroke-linecap:round;' marker-mid='url(#arrowBothways)' /></svg>
@@ -0,0 +1,32 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <svg width="178.4" height="209.4" viewBox="-20, -20, 198.4, 229.4" version="1.1" xmlns="http://www.w3.org/2000/svg">
4
+ <defs>
5
+ <marker id="arrow" markerUnits="userSpaceOnUse" viewBox="0 0 10 10" refX="10" refY="5" markerWidth="30.400000000000002" markerHeight="30.400000000000002" orient="auto">
6
+ <path d="M 0 0 L 10 5 L 0 10" fill="#CC79A7"/>
7
+ </marker>
8
+ <marker id="arrowBackward" markerUnits="userSpaceOnUse" viewBox="0 0 10 10" refX="5" refY="5" markerWidth="30.400000000000002" markerHeight="30.400000000000002" orient="auto">
9
+ <path d="M 0 0 L 10 5 L 0 10 z" fill="#CC79A7"/>
10
+ </marker>
11
+ <marker id="arrowForward" markerUnits="userSpaceOnUse" viewBox="0 0 10 10" refX="5" refY="5" markerWidth="30.400000000000002" markerHeight="30.400000000000002" orient="auto">
12
+ <path d="M 10 0 L 0 5 L 10 10 z" fill="#CC79A7"/>
13
+ </marker>
14
+ <marker id="arrowBothways" markerUnits="userSpaceOnUse" viewBox="0 0 30 10" refX="15" refY="5" markerWidth="91.2" markerHeight="30.400000000000002" orient="auto">
15
+ <path d="M 0 5 L 10 0 L 10 5 L 20 5 L 20 0 L 30 5 L 20 10 L 20 5 L 10 5 L 10 10 z" fill="#CC79A7"/>
16
+ </marker>
17
+ <pattern id="hatchBlack" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse" patternTransform="rotate(45)">
18
+ <line x1="0" y="0" x2="0" y2="10" stroke="black" stroke-width="4"></line>
19
+ </pattern>
20
+ <pattern id="hatchForNode" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse" patternTransform="rotate(45)">
21
+ <line x1="0" y="0" x2="0" y2="10" stroke="#0072B2" stroke-width="4"></line>
22
+ </pattern>
23
+ <pattern id="hatchForLeaf" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse" patternTransform="rotate(45)">
24
+ <line x1="0" y="0" x2="0" y2="10" stroke="#009E73" stroke-width="4"></line>
25
+ </pattern>
26
+ </defs>
27
+ <rect x="-20" y="-20" width="198.4" height="229.4" stroke="none" fill="white" />"
28
+ <text white-space='pre' alignment-baseline='text-top' style='fill: #009E73; font-size: 64px;' x='30.400000000000006' y='132.0'><tspan x='30.400000000000006' y='132.0' style="" text-decoration="" font-family="'Noto Sans', 'Noto Sans JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', sans-serif">aaa</tspan>
29
+ </text>
30
+ <polygon style='stroke:#009E73; stroke-width:6; fill:none; stroke-linejoin:round;'
31
+ points='15.200000000000005,33.0 153.60000000000002,33.0 153.60000000000002,176.0 15.200000000000005,176.0' />
32
+ </svg>
@@ -0,0 +1,107 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <svg width="2578.2" height="3949.4" viewBox="-20, -20, 2598.2, 3969.4" version="1.1" xmlns="http://www.w3.org/2000/svg">
4
+ <defs>
5
+ <marker id="arrow" markerUnits="userSpaceOnUse" viewBox="0 0 10 10" refX="10" refY="5" markerWidth="33.6" markerHeight="33.6" orient="auto">
6
+ <path d="M 0 0 L 10 5 L 0 10" fill="#CC79A7"/>
7
+ </marker>
8
+ <marker id="arrowBackward" markerUnits="userSpaceOnUse" viewBox="0 0 10 10" refX="5" refY="5" markerWidth="33.6" markerHeight="33.6" orient="auto">
9
+ <path d="M 0 0 L 10 5 L 0 10 z" fill="#CC79A7"/>
10
+ </marker>
11
+ <marker id="arrowForward" markerUnits="userSpaceOnUse" viewBox="0 0 10 10" refX="5" refY="5" markerWidth="33.6" markerHeight="33.6" orient="auto">
12
+ <path d="M 10 0 L 0 5 L 10 10 z" fill="#CC79A7"/>
13
+ </marker>
14
+ <marker id="arrowBothways" markerUnits="userSpaceOnUse" viewBox="0 0 30 10" refX="15" refY="5" markerWidth="100.80000000000001" markerHeight="33.6" orient="auto">
15
+ <path d="M 0 5 L 10 0 L 10 5 L 20 5 L 20 0 L 30 5 L 20 10 L 20 5 L 10 5 L 10 10 z" fill="#CC79A7"/>
16
+ </marker>
17
+ <pattern id="hatchBlack" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse" patternTransform="rotate(45)">
18
+ <line x1="0" y="0" x2="0" y2="10" stroke="black" stroke-width="4"></line>
19
+ </pattern>
20
+ <pattern id="hatchForNode" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse" patternTransform="rotate(45)">
21
+ <line x1="0" y="0" x2="0" y2="10" stroke="#0072B2" stroke-width="4"></line>
22
+ </pattern>
23
+ <pattern id="hatchForLeaf" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse" patternTransform="rotate(45)">
24
+ <line x1="0" y="0" x2="0" y2="10" stroke="#009E73" stroke-width="4"></line>
25
+ </pattern>
26
+ </defs>
27
+ <rect x="-20" y="-20" width="2598.2" height="3969.4" stroke="none" fill="white" />"
28
+ <text white-space='pre' alignment-baseline='text-top' style='fill: #0072B2; font-size: 64px;' x='620.93125' y='132.0'><tspan x='620.93125' y='132.0' style="" text-decoration="" font-family="'Noto Serif', 'Noto Serif JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', serif">Nominal</tspan>
29
+ </text>
30
+ <text white-space='pre' alignment-baseline='text-top' style='fill: #009E73; font-size: 64px;' x='33.60000000000002' y='477.4'><tspan x='44.10000000000002' y='477.4' style="" text-decoration="" font-family="'Noto Serif', 'Noto Serif JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', serif">Grounding</tspan>
31
+ <tspan x='33.60000000000002' y='565.4' style="" text-decoration="" font-family="'Noto Serif', 'Noto Serif JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', serif">Predication</tspan>
32
+ </text>
33
+ <text white-space='pre' alignment-baseline='text-top' style='fill: #0072B2; font-size: 64px;' x='1133.7624999999998' y='477.4'><tspan x='1133.7624999999998' y='477.4' style="" text-decoration="" font-family="'Noto Serif', 'Noto Serif JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', serif">Quantified</tspan>
34
+ <tspan x='1167.2624999999998' y='565.4' style="" text-decoration="" font-family="'Noto Serif', 'Noto Serif JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', serif">Instance</tspan>
35
+ </text>
36
+ <text white-space='pre' alignment-baseline='text-top' style='fill: #009E73; font-size: 64px;' x='517.9999999999999' y='987.8'><tspan x='541.9999999999999' y='987.8' style="" text-decoration="" font-family="'Noto Serif', 'Noto Serif JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', serif">Absolute</tspan>
37
+ <tspan x='517.9999999999999' y='1075.8' style="" text-decoration="" font-family="'Noto Serif', 'Noto Serif JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', serif">Quantifier</tspan>
38
+ </text>
39
+ <text white-space='pre' alignment-baseline='text-top' style='fill: #0072B2; font-size: 64px;' x='1711.525' y='987.8'><tspan x='1711.525' y='987.8' style="" text-decoration="" font-family="'Noto Serif', 'Noto Serif JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', serif">Higher-Order</tspan>
40
+ <tspan x='1732.525' y='1075.8' style="" text-decoration="" font-family="'Noto Serif', 'Noto Serif JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', serif">Instantiated</tspan>
41
+ <tspan x='1842.525' y='1163.8' style="" text-decoration="" font-family="'Noto Serif', 'Noto Serif JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', serif">Type</tspan>
42
+ </text>
43
+ <text white-space='pre' alignment-baseline='text-top' style='fill: #0072B2; font-size: 64px;' x='1221.85' y='1630.1999999999998'><tspan x='1221.85' y='1630.1999999999998' style="" text-decoration="" font-family="'Noto Serif', 'Noto Serif JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', serif">Higher-Order</tspan>
44
+ <tspan x='1242.85' y='1718.1999999999998' style="" text-decoration="" font-family="'Noto Serif', 'Noto Serif JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', serif">Instantiated</tspan>
45
+ <tspan x='1352.85' y='1806.1999999999998' style="" text-decoration="" font-family="'Noto Serif', 'Noto Serif JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', serif">Type</tspan>
46
+ </text>
47
+ <text white-space='pre' alignment-baseline='text-top' style='fill: #009E73; font-size: 64px;' x='968.3999999999999' y='2272.6'><tspan x='968.3999999999999' y='2272.6' style="" text-decoration="" font-family="'Noto Serif', 'Noto Serif JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', serif">Modifier</tspan>
48
+ </text>
49
+ <text white-space='pre' alignment-baseline='text-top' style='fill: #0072B2; font-size: 64px;' x='1569.2999999999997' y='2272.6'><tspan x='1570.2999999999997' y='2272.6' style="" text-decoration="" font-family="'Noto Serif', 'Noto Serif JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', serif">Head<tspan style='fill:none;'>■</tspan>Noun</tspan>
50
+ <tspan x='1674.2999999999997' y='2448.6' style="" text-decoration="" font-family="'Noto Serif', 'Noto Serif JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', serif">Basic</tspan>
51
+ <tspan x='1569.2999999999997' y='2536.6' style="" text-decoration="" font-family="'Noto Serif', 'Noto Serif JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', serif">Instantiated</tspan>
52
+ <tspan x='1679.2999999999997' y='2624.6' style="" text-decoration="" font-family="'Noto Serif', 'Noto Serif JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', serif">Type</tspan>
53
+ </text>
54
+ <text white-space='pre' alignment-baseline='text-top' style='fill: #009E73; font-size: 64px;' x='1366.7999999999997' y='3179.0'><tspan x='1366.7999999999997' y='3179.0' style="" text-decoration="" font-family="'Noto Serif', 'Noto Serif JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', serif">Basic<tspan style='fill:none;'>■</tspan>Type<tspan style='fill:none;'>■</tspan>Specification</tspan>
55
+ <tspan x='1498.2999999999997' y='3355.0' style="" text-decoration="" font-family="'Noto Serif', 'Noto Serif JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', serif">Underived<tspan style='fill:none;'>■</tspan>Stem</tspan>
56
+ <tspan x='1565.2999999999997' y='3443.0' style="" text-decoration="" font-family="'Noto Serif', 'Noto Serif JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', serif">Plural<tspan style='fill:none;'>■</tspan>Stem</tspan>
57
+ <tspan x='1537.7999999999997' y='3531.0' style="" text-decoration="" font-family="'Noto Serif', 'Noto Serif JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', serif">Derived<tspan style='fill:none;'>■</tspan>Stem</tspan>
58
+ <tspan x='1491.7999999999997' y='3619.0' style="" text-decoration="" font-family="'Noto Serif', 'Noto Serif JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', serif">Compound<tspan style='fill:none;'>■</tspan>Stem</tspan>
59
+ </text>
60
+ <text white-space='pre' alignment-baseline='text-top' style='fill: #009E73; font-size: 64px;' x='2274.2' y='1630.1999999999998'><tspan x='2274.2' y='1630.1999999999998' style="" text-decoration="" font-family="'Noto Serif', 'Noto Serif JP', OpenMoji, 'OpenMoji Color', 'OpenMoji Black', serif">Modifier</tspan>
61
+ </text>
62
+ <line style='stroke:black; stroke-width:5; stroke-linecap:round;' x1='208.60000000000002' y1='367.4' x2='752.43125' y2='187.0' />
63
+ <line style='stroke:black; stroke-width:5; stroke-linecap:round;' x1='1296.2624999999998' y1='367.4' x2='752.43125' y2='187.0' />
64
+ <line style='stroke:black; stroke-width:5; stroke-linecap:round;' x1='675.9999999999999' y1='877.8' x2='1296.2624999999998' y2='620.4' />
65
+ <line style='stroke:black; stroke-width:5; stroke-linecap:round;' x1='1916.525' y1='877.8' x2='1296.2624999999998' y2='620.4' />
66
+ <line style='stroke:black; stroke-width:5; stroke-linecap:round;' x1='1426.85' y1='1520.1999999999998' x2='1916.525' y2='1218.8' />
67
+ <line style='stroke:black; stroke-width:5; stroke-linecap:round;' x1='2406.2' y1='1520.1999999999998' x2='1916.525' y2='1218.8' />
68
+ <line style='stroke:black; stroke-width:5; stroke-linecap:round;' x1='1100.3999999999999' y1='2162.6' x2='1426.85' y2='1861.1999999999998' />
69
+ <line style='stroke:black; stroke-width:5; stroke-linecap:round;' x1='1753.2999999999997' y1='2162.6' x2='1426.85' y2='1861.1999999999998' />
70
+ <line style='stroke:black; stroke-width:5; stroke-linecap:round;' x1='1753.2999999999997' y1='3069.0' x2='1753.2999999999997' y2='2679.6' />
71
+ <polygon style='stroke:#0072B2; stroke-width:5; fill:none; stroke-linejoin:round;'
72
+ points='604.13125,33.0 900.73125,33.0 900.73125,176.0 604.13125,176.0' />
73
+
74
+ <polygon style='stroke:#009E73; stroke-width:5; fill:none; stroke-linejoin:round;'
75
+ points='16.800000000000022,378.4 400.40000000000003,378.4 400.40000000000003,609.4 16.800000000000022,609.4' />
76
+
77
+ <polygon style='stroke:#0072B2; stroke-width:5; fill:none; stroke-linejoin:round;'
78
+ points='1116.9624999999999,378.4 1475.5625,378.4 1475.5625,609.4 1116.9624999999999,609.4' />
79
+
80
+ <polygon style='stroke:#009E73; stroke-width:5; fill:none; stroke-linejoin:round;'
81
+ points='501.1999999999999,888.8 850.8,888.8 850.8,1119.8 501.1999999999999,1119.8' />
82
+
83
+ <polygon style='stroke:#0072B2; stroke-width:8; fill:none; stroke-linejoin:round;'
84
+ points='1694.7250000000001,888.8 2138.3250000000003,888.8 2138.3250000000003,1207.8 1694.7250000000001,1207.8' />
85
+
86
+ <polygon style='stroke:#0072B2; stroke-width:8; fill:none; stroke-linejoin:round;'
87
+ points='1205.05,1531.1999999999998 1648.65,1531.1999999999998 1648.65,1850.1999999999998 1205.05,1850.1999999999998' />
88
+
89
+ <polygon style='stroke:#009E73; stroke-width:5; fill:none; stroke-linejoin:round;'
90
+ points='951.5999999999999,2173.6 1249.1999999999998,2173.6 1249.1999999999998,2316.6 951.5999999999999,2316.6' />
91
+
92
+ <line style="stroke:#0072B2; stroke-width:5; " x1="1569.2999999999997" y1="2338.6" x2="1937.2999999999997" y2="2338.6"></line>
93
+ <polygon style='stroke:#0072B2; stroke-width:8; fill:none; stroke-linejoin:round;'
94
+ points='1552.4999999999998,2173.6 1954.1,2173.6 1954.1,2668.6 1552.4999999999998,2668.6' />
95
+
96
+ <line style="stroke:#009E73; stroke-width:5; " x1="1366.7999999999997" y1="3245.0" x2="2139.7999999999997" y2="3245.0"></line>
97
+ <polygon style='stroke:#009E73; stroke-width:5; fill:none; stroke-linejoin:round;'
98
+ points='1349.9999999999998,3080.0 2156.6,3080.0 2156.6,3663.0 1349.9999999999998,3663.0' />
99
+
100
+ <polygon style='stroke:#009E73; stroke-width:8; fill:none; stroke-linejoin:round;'
101
+ points='2257.3999999999996,1531.1999999999998 2554.9999999999995,1531.1999999999998 2554.9999999999995,1674.1999999999998 2257.3999999999996,1674.1999999999998' />
102
+
103
+ <path d='M417.20000000000005,493.9 L758.68125,493.9 L1100.1625, 493.9' style='fill: none; stroke: #CC79A7; stroke-width:5; stroke-linecap:round;' marker-mid='url(#arrowBackward)' />
104
+ <path d='M867.5999999999999,1004.3 L1272.7625,1004.3 L1677.9250000000002, 1004.3' style='fill: none; stroke: #CC79A7; stroke-width:5; stroke-linecap:round;' marker-mid='url(#arrowBackward)' />
105
+ <path d='M1665.4499999999998,1602.6999999999998 L1953.0249999999999,1602.6999999999998 L2240.6, 1602.6999999999998' style='fill: none; stroke: #CC79A7; stroke-width:5; stroke-linecap:round;' marker-mid='url(#arrowForward)' />
106
+ <path d='M1265.9999999999998,2245.1 L1400.85,2245.1 L1535.6999999999998, 2245.1' style='fill: none; stroke: #CC79A7; stroke-width:5; stroke-linecap:round;' marker-mid='url(#arrowBackward)' />
107
+ <path d='M1753.2999999999997,3069.0 L1753.2999999999997,2874.3 L1753.2999999999997, 2679.6' style='fill: none; stroke: #CC79A7; stroke-width:5; stroke-linecap:round;' marker-mid='url(#arrowBackward)' /></svg>
@@ -115,7 +115,11 @@ Here, `---` represents `-` repeated three times or more consecutively.
115
115
 
116
116
  In `auto` mode, the triangle connector shape is applied when the terminal node contains words separated by whitespace. In `bar` and `none` modes, triangles are drawn for the nodes with `^` at the beginning of the leaf text, lie `[NP ^syntax-trees]`.
117
117
 
118
- If a `#` character is placed at the beginning of a label or leaf text (right after `^` if there is one), the text is enclosed in a pair of square brackets (e.g. `[#NP text]`, `[NP #text]`, `[NP ^#text]`). If `##` is placed at the beginning of the leaf text, a rectangle is drawn instead of brackets.
118
+ If a `#` character is placed at the beginning of a label or leaf text (right after `^` if there is one), the text is enclosed in a pair of square brackets (e.g. `[#NP text]`, `[NP #text]`, `[NP ^#text]`).
119
+
120
+ If `##` is placed at the beginning of the leaf text, a rectangle is drawn instead of brackets.
121
+
122
+ If `###` is placed at the beginning of the leaf text, a rectangle with thicker lines is drawn.
119
123
 
120
124
  ### Escape Special Characters
121
125
 
@@ -130,11 +134,10 @@ The backslash character `\` must be used to print certain characters used in the
130
134
  You can draw any number of paths of three different types:
131
135
 
132
136
  - Non-directional (rendered as dashed line `- - -`)
133
- - Directional (rendered as solid line `----->`)
134
- - Bidirectional (rendered as solid line `<----->`)
135
-
136
- Each path is distinguished by a unique ID number. The ID is specified by putting a plus sign and a number (e.g. `+7`) at the end of the node text. If a greater-than or less-than sign is placed between the plus sign and the number (e.g. `+>7` or `+<7`), an arrowhead will appear at the end of the path. Note that it makes no difference whether `+>` or `+<` is used. The arrow is always directed to the element with one of these ID symbols.
137
+ - Directional (rendered as solid line `----▶`)
138
+ - Bidirectional (rendered as solid line `◀----▶`)
137
139
 
140
+ Each path is distinguished by a unique ID number. The ID is specified by putting a plus sign and a number (e.g. `+7`) at the end of the node text. If a greater-than `>` or less-than `<` symbol is placed between the plus sign and the number (e.g. `+>7` or `+<7`), an arrowhead will appear at the end of the path. Note that it makes no difference whether `+>` or `+<` is used. The arrow is always directed to the element with one of these ID symbols.
138
141
 
139
142
  A node can have any number of IDs. The same ID must appear in the text of the *two* nodes between which the path is rendered. The same ID number cannot appear in more than two places.
140
143
 
@@ -146,7 +149,7 @@ You can also add extra connector between nodes in the same fasion as you draw pa
146
149
  - Directional (rendered as solid line `--▶--`)
147
150
  - Bidirectional (rendered as solid line `-◀-▶-`)
148
151
 
149
- Each additional connectors is distinguished by an ID number. The ID is specified by putting a a number after a sequence of a plus and a minus symbols (e.g. `+-8`) at the end of the node text. If a greater-than sign is placed between the minus sign and the number (e.g. `+->8`), an arrowhead will appear at the end of the connector. Note that it makes no difference whether `+->` or `+-<` is used. The arrow is always directed to the element with one of these ID symbols.
152
+ Each additional connectors is distinguished by an ID number. The ID is specified by putting a a number after a sequence of a plus and a minus symbols (e.g. `+-8`) at the end of the node text. If a greater-than `>` or less-than `<` symbol is placed between the minus sign and the number (e.g. `+->8`), an arrowhead will appear at the end of the connector. Note that it makes no difference whether `+->` or `+-<` is used. The arrow is always directed to the element with one of these ID symbols.
150
153
 
151
154
  A node can have any number of IDs. The same ID must appear in the text of the *two* nodes between which the additional connector is rendered. The same ID number cannot appear in more than two places.
152
155
 
@@ -123,7 +123,11 @@ SVG形式を用いる場合,期待通りの表示を得るためには,ご
123
123
 
124
124
  ### リーフを囲む括弧と矩形の描画
125
125
 
126
- ラベルまたはリーフとなるテキストの最初に(`^` が存在する場合はその直後に) `#` を付けると,そのテキスト全体を角括弧([ ])で囲みます(例:`[#NP text]`, `[NP #text]`, `[NP ^#text]`). テキストの最初に `##` を付けると,テキスト全体を矩形(ボックス)で囲みます.
126
+ ラベルまたはリーフとなるテキストの最初に(`^` が存在する場合はその直後に) `#` を付けると,そのテキスト全体を角括弧([ ])で囲みます(例:`[#NP text]`, `[NP #text]`, `[NP ^#text]`).
127
+
128
+ テキストの最初に `##` を付けると,テキスト全体を矩形(ボックス)で囲みます.
129
+
130
+ テキストの最初に `###` を付けると,テキスト全体を太い線の矩形(ボックス)で囲みます.
127
131
 
128
132
  ### 一部の文字を表示するためのエスケープ
129
133
 
@@ -140,11 +144,11 @@ SVG形式を用いる場合,期待通りの表示を得るためには,ご
140
144
  下の3種類の形式でノードからノードへのパスを表示することができます.
141
145
 
142
146
  - 方向(矢印)のないパス(`- - -`)
143
- - 方向(矢印)のあるパス(`----->`)
144
- - 両方向の矢印のあるパス(`<----->`)
147
+ - 方向(矢印)のあるパス(`----▶`)
148
+ - 両方向の矢印のあるパス(`◀---▶`)
145
149
 
146
150
  樹形図の中でパスを表示したいとき,パスの両端を数字のIDで指定します.数字をプラス(`+`)記号と共にノードのテキストの最後で指定してください(例:`+7`).
147
- プラス記号とID番号の間に `>` 記号を入れると(例:`+>7`),パスの終端に矢印が付きます.その際、`+>` と `+<` のどちらを用いるかで結果は変わりません。矢印の先は常にこれらのいずれかを用いたIDが指定された要素に向けられます。
151
+ プラス記号とID番号の間に `>` 記号または `<` 記号を入れると(例:`+>7`),パスの終端に矢印が付きます.その際、`+>` と `+<` のどちらを用いるかで結果は変わりません。矢印の先は常にこれらのいずれかを用いたIDが指定された要素に向けられます。
148
152
 
149
153
  IDにはどのような数字を用いても構いませんが,必ず **2箇所** で同じIDを指定することが必要です.同じIDを3箇所以上で指定することはできません.
150
154
 
@@ -152,7 +156,7 @@ IDにはどのような数字を用いても構いませんが,必ず **2箇
152
156
 
153
157
  パスの指定と類似した方式でノードからノードへのコネクターを追加することができます.追加的なコネクターは直線で描画されます(`polyline`にはなりません).追加的なコネクターを描画する際,デフォルトのコネクターを非表示(透明)にしたいときには `Hide default connectors`オプションをオンにすると良いでしょう.
154
158
 
155
- 追加のコネクターは数字のIDで指定します,プラスとマイナスを連続させた(`+-`)後にIDを指定してください(例:`+-8`).マイナス記号とID番号の間に `>` 記号を入れると(例:`+->8`),コネクターの終端に矢印が付きます.その際、`+->` と `+-<` のどちらを用いるかで結果は変わりません。矢印の先は常にこれらのいずれかを用いたIDが指定された要素に向けられます。
159
+ 追加のコネクターは数字のIDで指定します,プラスとマイナスを連続させた(`+-`)後にIDを指定してください(例:`+-8`).マイナス記号とID番号の間に `>` 記号または `<` 記号を入れると(例:`+->8`),コネクターの終端に矢印が付きます.その際、`+->` と `+-<` のどちらを用いるかで結果は変わりません。矢印の先は常にこれらのいずれかを用いたIDが指定された要素に向けられます。
156
160
 
157
161
  - 方向(矢印)のないコネクター(`-----`)
158
162
  - 方向(矢印)のあるコネクター(`--▶--`)
data/docs/examples.html CHANGED
@@ -36,6 +36,8 @@ layout: default
36
36
  <tbody>
37
37
  <tr><td>Category</td><td>{{ example.category}}</td></tr>
38
38
  <tr><td>Connector</td><td>{{ example.connector }}</td></tr>
39
+ <tr><td>Line Width</td><td>{{ example.linewidth }}</td></tr>
40
+ <tr><td>Hide Default Connectors</td><td>{{ example.hide_default_connectors }}</td></tr>
39
41
  <tr><td>Polyline</td><td>{{ example.polyline }}</td></tr>
40
42
  <tr><td>Color</td><td>{{ example.color }}</td></tr>
41
43
  <tr><td>Radical Symmetirization</td><td>{{ example.symmetrization }}</td></tr>
Binary file
Binary file
Binary file
@@ -19,12 +19,12 @@ module RSyntaxTree
19
19
  case params[:color]
20
20
  # Okabe-Ito Color
21
21
  when "modern"
22
- @col_node = "#0072B2" # blue
23
- @col_leaf = "#009E73" # bluishgreen
24
- @col_path = "#CC79A7" # reddishpurple
25
- @col_extra = "#D55E00" # vermillion
22
+ @col_node = "#0072B2" # blue
23
+ @col_leaf = "#009E73" # bluishgreen
24
+ @col_path = "#CC79A7" # reddishpurple
25
+ @col_extra = "#CC79A7" # orange
26
+ @col_emph = "#D55E00" # vermillion
26
27
  # "#000000" black
27
- # "#E69F00" orange
28
28
  # "#56B4E9" skyblue
29
29
  # "#F0E442" yellow
30
30
  # "#999999" grey
@@ -32,7 +32,8 @@ module RSyntaxTree
32
32
  @col_node = "blue"
33
33
  @col_leaf = "green"
34
34
  @col_path = "purple"
35
- @col_extra = "red"
35
+ @col_extra = "purple"
36
+ @col_emph = "red"
36
37
  else
37
38
  @col_node = "black"
38
39
  @col_leaf = "black"