rsyntaxtree 1.2.7 → 1.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (145) hide show
  1. checksums.yaml +4 -4
  2. data/.tags +64 -0
  3. data/README.md +3 -2
  4. data/bin/rsyntaxtree +5 -5
  5. data/dev/generate_examples.rb +1 -13
  6. data/docs/_examples/000.md +1 -1
  7. data/docs/_examples/001.md +1 -1
  8. data/docs/_examples/002.md +1 -1
  9. data/docs/_examples/003.md +1 -1
  10. data/docs/_examples/004.md +1 -1
  11. data/docs/_examples/005.md +1 -1
  12. data/docs/_examples/006.md +1 -1
  13. data/docs/_examples/007.md +1 -1
  14. data/docs/_examples/008.md +1 -1
  15. data/docs/_examples/009.md +1 -1
  16. data/docs/_examples/010.md +1 -1
  17. data/docs/_examples/011.md +1 -1
  18. data/docs/_examples/012.md +1 -1
  19. data/docs/_examples/014.md +1 -1
  20. data/docs/_examples/015.md +1 -1
  21. data/docs/_examples/016.md +1 -1
  22. data/docs/_examples/019.md +1 -1
  23. data/docs/_examples/021.md +1 -1
  24. data/docs/_examples/024.md +1 -1
  25. data/docs/_examples/025.md +1 -1
  26. data/docs/_examples/026.md +1 -1
  27. data/docs/_examples/027.md +1 -1
  28. data/docs/_examples/030.md +1 -1
  29. data/docs/_examples/031.md +1 -1
  30. data/docs/_examples/032.md +1 -1
  31. data/docs/_examples/034.md +1 -1
  32. data/docs/_examples/035.md +2 -2
  33. data/docs/_examples/040.md +1 -1
  34. data/docs/_examples/042.md +1 -1
  35. data/docs/_examples/047.md +21 -0
  36. data/docs/_includes/box_and_circle_table.html +24 -0
  37. data/docs/assets/css/style.scss +6 -0
  38. data/docs/assets/img/000.png +0 -0
  39. data/docs/assets/img/001.png +0 -0
  40. data/docs/assets/img/002.png +0 -0
  41. data/docs/assets/img/003.png +0 -0
  42. data/docs/assets/img/004.png +0 -0
  43. data/docs/assets/img/005.png +0 -0
  44. data/docs/assets/img/006.png +0 -0
  45. data/docs/assets/img/007.png +0 -0
  46. data/docs/assets/img/008.png +0 -0
  47. data/docs/assets/img/009.png +0 -0
  48. data/docs/assets/img/010.png +0 -0
  49. data/docs/assets/img/011.png +0 -0
  50. data/docs/assets/img/012.png +0 -0
  51. data/docs/assets/img/013.png +0 -0
  52. data/docs/assets/img/014.png +0 -0
  53. data/docs/assets/img/015.png +0 -0
  54. data/docs/assets/img/016.png +0 -0
  55. data/docs/assets/img/017.png +0 -0
  56. data/docs/assets/img/018.png +0 -0
  57. data/docs/assets/img/019.png +0 -0
  58. data/docs/assets/img/020.png +0 -0
  59. data/docs/assets/img/021.png +0 -0
  60. data/docs/assets/img/022.png +0 -0
  61. data/docs/assets/img/023.png +0 -0
  62. data/docs/assets/img/024.png +0 -0
  63. data/docs/assets/img/025.png +0 -0
  64. data/docs/assets/img/026.png +0 -0
  65. data/docs/assets/img/027.png +0 -0
  66. data/docs/assets/img/028.png +0 -0
  67. data/docs/assets/img/029.png +0 -0
  68. data/docs/assets/img/030.png +0 -0
  69. data/docs/assets/img/031.png +0 -0
  70. data/docs/assets/img/032.png +0 -0
  71. data/docs/assets/img/033.png +0 -0
  72. data/docs/assets/img/034.png +0 -0
  73. data/docs/assets/img/035.png +0 -0
  74. data/docs/assets/img/036.png +0 -0
  75. data/docs/assets/img/037.png +0 -0
  76. data/docs/assets/img/038.png +0 -0
  77. data/docs/assets/img/040.png +0 -0
  78. data/docs/assets/img/041.png +0 -0
  79. data/docs/assets/img/042.png +0 -0
  80. data/docs/assets/img/043.png +0 -0
  81. data/docs/assets/img/044.png +0 -0
  82. data/docs/assets/img/045.png +0 -0
  83. data/docs/assets/img/047.png +0 -0
  84. data/docs/assets/img/elements/arrow_both.png +0 -0
  85. data/docs/assets/img/elements/arrow_both_bold.png +0 -0
  86. data/docs/assets/img/elements/arrow_left.png +0 -0
  87. data/docs/assets/img/elements/arrow_left_bold.png +0 -0
  88. data/docs/assets/img/elements/arrow_right.png +0 -0
  89. data/docs/assets/img/elements/arrow_right_bold.png +0 -0
  90. data/docs/assets/svg/000.svg +33 -33
  91. data/docs/assets/svg/001.svg +13 -13
  92. data/docs/assets/svg/002.svg +33 -33
  93. data/docs/assets/svg/003.svg +25 -25
  94. data/docs/assets/svg/004.svg +36 -36
  95. data/docs/assets/svg/005.svg +16 -16
  96. data/docs/assets/svg/006.svg +21 -21
  97. data/docs/assets/svg/007.svg +27 -27
  98. data/docs/assets/svg/008.svg +31 -31
  99. data/docs/assets/svg/009.svg +30 -30
  100. data/docs/assets/svg/010.svg +48 -48
  101. data/docs/assets/svg/011.svg +25 -25
  102. data/docs/assets/svg/012.svg +30 -30
  103. data/docs/assets/svg/013.svg +71 -71
  104. data/docs/assets/svg/014.svg +93 -93
  105. data/docs/assets/svg/015.svg +29 -29
  106. data/docs/assets/svg/016.svg +378 -378
  107. data/docs/assets/svg/017.svg +29 -29
  108. data/docs/assets/svg/018.svg +31 -31
  109. data/docs/assets/svg/019.svg +149 -149
  110. data/docs/assets/svg/020.svg +56 -56
  111. data/docs/assets/svg/021.svg +69 -69
  112. data/docs/assets/svg/022.svg +69 -69
  113. data/docs/assets/svg/023.svg +45 -45
  114. data/docs/assets/svg/024.svg +19 -19
  115. data/docs/assets/svg/025.svg +117 -117
  116. data/docs/assets/svg/026.svg +19 -19
  117. data/docs/assets/svg/027.svg +59 -59
  118. data/docs/assets/svg/028.svg +15 -15
  119. data/docs/assets/svg/029.svg +49 -49
  120. data/docs/assets/svg/030.svg +36 -36
  121. data/docs/assets/svg/031.svg +11 -11
  122. data/docs/assets/svg/032.svg +33 -33
  123. data/docs/assets/svg/033.svg +30 -30
  124. data/docs/assets/svg/034.svg +44 -44
  125. data/docs/assets/svg/035.svg +18 -18
  126. data/docs/assets/svg/036.svg +11 -11
  127. data/docs/assets/svg/037.svg +14 -14
  128. data/docs/assets/svg/038.svg +33 -33
  129. data/docs/assets/svg/039.svg +1 -1
  130. data/docs/assets/svg/040.svg +90 -90
  131. data/docs/assets/svg/041.svg +43 -43
  132. data/docs/assets/svg/042.svg +11 -11
  133. data/docs/assets/svg/043.svg +121 -121
  134. data/docs/assets/svg/044.svg +2 -2
  135. data/docs/assets/svg/045.svg +36 -36
  136. data/docs/assets/svg/046.svg +641 -641
  137. data/docs/assets/svg/047.svg +67 -0
  138. data/docs/documentation.md +1 -1
  139. data/docs/documentation_ja.md +1 -1
  140. data/docs/examples.html +5 -4
  141. data/lib/rsyntaxtree/svg_graph.rb +8 -7
  142. data/lib/rsyntaxtree/version.rb +1 -1
  143. data/lib/rsyntaxtree.rb +30 -23
  144. data/test/example_verify_test.rb +1 -13
  145. metadata +12 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b679ec5c348fa2cc07a1c11273578354db2418fc6817132d217d05618175bdae
4
- data.tar.gz: 628aa0b9bffedaed970e1018d02575d51d7ab04f566a4e677f777cf892e5f59f
3
+ metadata.gz: 8c29e6bfcf3348f9325a8d5c27e3cf76b6271ec94e3e05d5394ae4f1563542d2
4
+ data.tar.gz: e2ece3ab8e0b57efa41d45aec5c7ca6b3348a84b8b2714935bafde4af60dd674
5
5
  SHA512:
6
- metadata.gz: 4b5fc8a49be74d7ea75f98d3edc19461560d4ba783868a55c1e7e3a2815174519b1f08ee7bd4213889772a3bec49d0cbfd643d72388f92c9c5e65cb5f8c41051
7
- data.tar.gz: 00f6270d3dbacc1df455dfbfdca5e578d6fe793206fe38a8f4e6958426bd5df3f5aa290147f9dd70d5c023ee1f0bd4c925b177b505f3763347dce179f072e928
6
+ metadata.gz: 591e6eb81617ff1afbd4ad6de35a879950f64138724e599a93ab8376af1444cbf4222d19466894f66c4e89b62bf858610b6e623e0cee64e54525d9265ba605dc
7
+ data.tar.gz: 1dc73a526a78b778644dbf6a66a016eb22da280358ce648895998de299e4246bac6e8fcc8d37da2e9b7220cf0482a77d6ec27746e6ce2469996a8505c510c5a9
data/.tags CHANGED
@@ -228,6 +228,7 @@ Animal ontology docs/_site/examples.html /^ <h2 id="category-formal-concept-a
228
228
  Arithmetic parser docs/_site/examples.html /^ <div><a href="#examples">🔝<\/a><\/div><h3>Arithmetic parser<\/h3>$/;" j
229
229
  Author README.md /^## Author$/;" s
230
230
  BLINE_SCALING lib/rsyntaxtree.rb /^BLINE_SCALING = 5$/;" C
231
+ BaseGraph lib/rsyntaxtree/base_graph.rb /^ class BaseGraph$/;" c class:RSyntaxTree
231
232
  BaseGraph lib/rsyntaxtree/base_graph.rb /^ class BaseGraph$/;" c module:RSyntaxTree
232
233
  Basic Usage docs/_site/documentation.html /^<h3 id="basic-usage">Basic Usage<\/h3>$/;" j
233
234
  Basic Usage docs/documentation.md /^### Basic Usage$/;" S chapter:Documentation
@@ -253,7 +254,9 @@ Draw Paths between Nodes (experimental) docs/documentation.md /^### Draw Paths b
253
254
  ETYPE_LEAF lib/rsyntaxtree.rb /^ETYPE_LEAF = 2$/;" C
254
255
  ETYPE_LEAF lib/rsyntaxtree/base_graph.rb /^ ETYPE_LEAF == target.type && parent.children.size == 1$/;" C method:RSyntaxTree.BaseGraph.calculate_height
255
256
  ETYPE_NODE lib/rsyntaxtree.rb /^ETYPE_NODE = 1$/;" C
257
+ Element lib/rsyntaxtree/element.rb /^ class Element$/;" c class:RSyntaxTree
256
258
  Element lib/rsyntaxtree/element.rb /^ class Element$/;" c module:RSyntaxTree
259
+ ElementList lib/rsyntaxtree/elementlist.rb /^ class ElementList$/;" c class:RSyntaxTree
257
260
  ElementList lib/rsyntaxtree/elementlist.rb /^ class ElementList$/;" c module:RSyntaxTree
258
261
  Escape Special Characters docs/_site/documentation.html /^<h3 id="escape-special-characters">Escape Special Characters<\/h3>$/;" j
259
262
  Escape Special Characters docs/documentation.md /^### Escape Special Characters$/;" S chapter:Documentation
@@ -298,6 +301,7 @@ Phonology docs/_site/examples.html /^ <h2 id="category-phonology"><b>Phonolog
298
301
  Phonology sample docs/_site/examples.html /^ <h2 id="category-phonology"><b>Phonology<\/b><\/h2><h3>Phonology sample<\/h3>$/;" j
299
302
  Pragmatics docs/_site/examples.html /^ <h2 id="category-pragmatics"><b>Pragmatics<\/b><\/h2><h3>Types of meaning<\/h3>$/;" i
300
303
  Programming language parser docs/_site/examples.html /^ <h2 id="category-computer-science"><b>Computer Science<\/b><\/h2><h3>Programming language pa/;" j
304
+ RSGenerator lib/rsyntaxtree.rb /^ class RSGenerator$/;" c class:RSyntaxTree
301
305
  RSGenerator lib/rsyntaxtree.rb /^ class RSGenerator$/;" c module:RSyntaxTree
302
306
  RSTError lib/rsyntaxtree.rb /^class RSTError < StandardError$/;" c
303
307
  RSyntaxTree docs/_site/404.html /^ <\/h1>$/;" h
@@ -318,10 +322,12 @@ RSyntaxTree | Syntax tree generator made with Ruby docs/_site/documentation_ja.h
318
322
  RSyntaxTree | Syntax tree generator made with Ruby docs/_site/examples.html /^<title>RSyntaxTree | Syntax tree generator made with Ruby<\/title>$/;" j
319
323
  References README.md /^## References$/;" s
320
324
  SUBSCRIPT_CONST lib/rsyntaxtree.rb /^SUBSCRIPT_CONST = 0.7$/;" C
325
+ SVGGraph lib/rsyntaxtree/svg_graph.rb /^ class SVGGraph < BaseGraph$/;" c class:RSyntaxTree
321
326
  SVGGraph lib/rsyntaxtree/svg_graph.rb /^ class SVGGraph < BaseGraph$/;" c module:RSyntaxTree
322
327
  SVG形式を用いる場合 docs/_site/documentation_ja.html /^<h3 id="svg形式を用いる場合">SVG形式を用いる場合<\/h3>$/;" j
323
328
  SVG形式を用いる場合 docs/documentation_ja.md /^### SVG形式を用いる場合$/;" S chapter:ドキュメンテーション
324
329
  String lib/rsyntaxtree/utils.rb /^class String$/;" c
330
+ StringParser lib/rsyntaxtree/string_parser.rb /^ class StringParser$/;" c class:RSyntaxTree
325
331
  StringParser lib/rsyntaxtree/string_parser.rb /^ class StringParser$/;" c module:RSyntaxTree
326
332
  Subject-predicate construction docs/_site/examples.html /^ <div><a href="#examples">🔝<\/a><\/div><h3>Subject-predicate construction<\/h3>$/;" j
327
333
  Subscript and Superscript docs/documentation.md /^#### Subscript and Superscript$/;" t subsection:Documentation""Font Styles, Text Decoration, and Sub/Superscripts
@@ -355,6 +361,7 @@ a:hover docs/_site/assets/css/style.css /^a:active, a:hover { outline: 0; }$/;"
355
361
  a:hover docs/_site/assets/css/style.css /^a:hover { text-decoration: underline; }$/;" s
356
362
  abbr[title] docs/_site/assets/css/style.css /^abbr[title] { border-bottom: 1px dotted; }$/;" s
357
363
  add lib/rsyntaxtree/elementlist.rb /^ def add(element)$/;" f class:RSyntaxTree.ElementList
364
+ add_child lib/rsyntaxtree/element.rb /^ def add_child(child_id)$/;" f
358
365
  add_child lib/rsyntaxtree/element.rb /^ def add_child(child_id)$/;" f class:RSyntaxTree.Element
359
366
  all_emoji? lib/rsyntaxtree/utils.rb /^ def all_emoji?$/;" f class:String
360
367
  arrow docs/_site/assets/svg/000.svg /^ <marker id="arrow" markerUnits="strokeWidth" markerWidth="11.520000000000001" markerHeight="/;" d
@@ -818,9 +825,13 @@ button docs/_site/assets/css/style.css /^button, input, optgroup, select, textar
818
825
  button docs/_site/assets/css/style.css /^button, select { text-transform: none; }$/;" s
819
826
  button::-moz-focus-inner docs/_site/assets/css/style.css /^button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }$/;" s
820
827
  button[disabled] docs/_site/assets/css/style.css /^button[disabled], html input[disabled] { cursor: default; }$/;" s
828
+ calculate_height lib/rsyntaxtree/base_graph.rb /^ def calculate_height(id = 1)$/;" f
821
829
  calculate_height lib/rsyntaxtree/base_graph.rb /^ def calculate_height(id = 1)$/;" f class:RSyntaxTree.BaseGraph
830
+ calculate_indent lib/rsyntaxtree/base_graph.rb /^ def calculate_indent$/;" f
822
831
  calculate_indent lib/rsyntaxtree/base_graph.rb /^ def calculate_indent$/;" f class:RSyntaxTree.BaseGraph
832
+ calculate_level lib/rsyntaxtree/base_graph.rb /^ def calculate_level$/;" f class:RSyntaxTree
823
833
  calculate_level lib/rsyntaxtree/base_graph.rb /^ def calculate_level$/;" f class:RSyntaxTree.BaseGraph
834
+ calculate_width lib/rsyntaxtree/base_graph.rb /^ def calculate_width(id = 1)$/;" f class:RSyntaxTree
824
835
  calculate_width lib/rsyntaxtree/base_graph.rb /^ def calculate_width(id = 1)$/;" f class:RSyntaxTree.BaseGraph
825
836
  canvas docs/_site/assets/css/style.css /^audio, canvas, progress, video { display: inline-block; \/* 1 *\/ vertical-align: baseline; \/* /;" s
826
837
  category-cognitive-grammar docs/_site/examples.html /^ <h2 id="category-cognitive-grammar"><b>Cognitive Grammar<\/b><\/h2><h3>Cognitive Grammar sam/;" I
@@ -836,6 +847,7 @@ category-miscellaneous docs/_site/examples.html /^ <h2 id="category-miscellan
836
847
  category-phonology docs/_site/examples.html /^ <h2 id="category-phonology"><b>Phonology<\/b><\/h2><h3>Phonology sample<\/h3>$/;" I
837
848
  category-pragmatics docs/_site/examples.html /^ <h2 id="category-pragmatics"><b>Pragmatics<\/b><\/h2><h3>Types of meaning<\/h3>$/;" I
838
849
  category-{{category.name | slugify }} docs/examples.html /^ <h2 id="category-{{category.name | slugify }}"><b>{{ category.name }}<\/b><\/h2>$/;" I
850
+ check_data lib/rsyntaxtree.rb /^ def self.check_data(text)$/;" F class:RSyntaxTree
839
851
  check_data lib/rsyntaxtree.rb /^ def self.check_data(text)$/;" S module:RSyntaxTree
840
852
  children lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
841
853
  children= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
@@ -855,6 +867,10 @@ content_height lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :typ
855
867
  content_height= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
856
868
  content_width lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
857
869
  content_width= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
870
+ copyToClipBoard docs/_site/documentation.html /^ function copyToClipBoard(id){$/;" f
871
+ copyToClipBoard docs/_site/documentation_ja.html /^ function copyToClipBoard(id){$/;" f
872
+ copyToClipBoard docs/_site/examples.html /^ function copyToClipBoard(id){$/;" f
873
+ copyToClipBoard docs/examples.html /^ function copyToClipBoard(id){$/;" f
858
874
  data lib/rsyntaxtree/string_parser.rb /^ attr_accessor :data, :elist, :pos, :id, :level$/;" A class:RSyntaxTree.StringParser
859
875
  data= lib/rsyntaxtree/string_parser.rb /^ attr_accessor :data, :elist, :pos, :id, :level$/;" A class:RSyntaxTree.StringParser
860
876
  details docs/_site/assets/css/style.css /^article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, s/;" s
@@ -867,14 +883,28 @@ documentation docs/_site/documentation.html /^ <h1 class="no_toc" id="docum
867
883
  draw-extra-connectors-between-nodes-experimental docs/_site/documentation.html /^<h3 id="draw-extra-connectors-between-nodes-experimental">Draw Extra Connectors between Nodes (e/;" I
868
884
  draw-paths-between-nodes-experimental docs/_site/documentation.html /^<h3 id="draw-paths-between-nodes-experimental">Draw Paths between Nodes (experimental)<\/h3>$/;" I
869
885
  draw_a_path lib/rsyntaxtree/svg_graph.rb /^ def draw_a_path(s_x, s_y, t_x, t_y, target_arrow = :none)$/;" f class:RSyntaxTree.SVGGraph
886
+ draw_bracket lib/rsyntaxtree/svg_graph.rb /^ def draw_bracket(x1, y1, width, height, col, bline = false)$/;" f
870
887
  draw_bracket lib/rsyntaxtree/svg_graph.rb /^ def draw_bracket(x1, y1, width, height, col, bline = false)$/;" f class:RSyntaxTree.SVGGraph
888
+ draw_connector lib/rsyntaxtree/base_graph.rb /^ def draw_connector(id = 1)$/;" f
871
889
  draw_connector lib/rsyntaxtree/base_graph.rb /^ def draw_connector(id = 1)$/;" f class:RSyntaxTree.BaseGraph
890
+ draw_element lib/rsyntaxtree/svg_graph.rb /^ def draw_element(element)$/;" f class:RSyntaxTree
872
891
  draw_element lib/rsyntaxtree/svg_graph.rb /^ def draw_element(element)$/;" f class:RSyntaxTree.SVGGraph
892
+ draw_elements lib/rsyntaxtree/base_graph.rb /^ def draw_elements$/;" f
873
893
  draw_elements lib/rsyntaxtree/base_graph.rb /^ def draw_elements$/;" f class:RSyntaxTree.BaseGraph
894
+ draw_paths lib/rsyntaxtree/svg_graph.rb /^ def draw_paths$/;" f
874
895
  draw_paths lib/rsyntaxtree/svg_graph.rb /^ def draw_paths$/;" f class:RSyntaxTree.SVGGraph
896
+ draw_pdf lib/rsyntaxtree.rb /^ def draw_pdf()$/;" f class:RSyntaxTree
897
+ draw_pdf lib/rsyntaxtree.rb /^ def draw_pdf(binary = false)$/;" f class:RSyntaxTree
898
+ draw_pdf lib/rsyntaxtree.rb /^ def draw_pdf(filename)$/;" f class:RSyntaxTree
899
+ draw_png lib/rsyntaxtree.rb /^ def draw_png(binary = false)$/;" f class:RSyntaxTree
875
900
  draw_png lib/rsyntaxtree.rb /^ def draw_png(binary = false)$/;" f module:RSyntaxTree
901
+ draw_rectangle lib/rsyntaxtree/svg_graph.rb /^ def draw_rectangle(x1, y1, width, height, col, bline = false)$/;" f
876
902
  draw_rectangle lib/rsyntaxtree/svg_graph.rb /^ def draw_rectangle(x1, y1, width, height, col, bline = false)$/;" f class:RSyntaxTree.SVGGraph
903
+ draw_svg lib/rsyntaxtree.rb /^ def draw_svg$/;" f class:RSyntaxTree
877
904
  draw_svg lib/rsyntaxtree.rb /^ def draw_svg$/;" f module:RSyntaxTree
905
+ draw_svg lib/rsyntaxtree.rb /^ def draw_svg(filename)$/;" f class:RSyntaxTree
906
+ draw_tree lib/rsyntaxtree.rb /^ def draw_tree # currently not used$/;" f class:RSyntaxTree
907
+ draw_tree lib/rsyntaxtree.rb /^ def draw_tree$/;" f class:RSyntaxTree
878
908
  draw_tree lib/rsyntaxtree.rb /^ def draw_tree$/;" f module:RSyntaxTree
879
909
  elements lib/rsyntaxtree/elementlist.rb /^ attr_accessor :elements, :iterator$/;" A class:RSyntaxTree.ElementList
880
910
  elements= lib/rsyntaxtree/elementlist.rb /^ attr_accessor :elements, :iterator$/;" A class:RSyntaxTree.ElementList
@@ -899,20 +929,27 @@ fontsize= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :l
899
929
  footer docs/_site/assets/css/style.css /^article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, s/;" s
900
930
  generate Rakefile /^task :generate do$/;" t
901
931
  generate_connectors lib/rsyntaxtree/svg_graph.rb /^ def generate_connectors(x1, y1, x2, y2, col, dashed = false, s_arrow = false, t_arrow = fals/;" f class:RSyntaxTree.SVGGraph
932
+ generate_connectors lib/rsyntaxtree/svg_graph.rb /^ def generate_connectors(x1, y1, x2, y2, col, dashed = false, s_arrow = false, t_arrow = false, bline = false)$/;" f
933
+ generate_line lib/rsyntaxtree/svg_graph.rb /^ def generate_line(x1, y1, x2, y2, col, dashed = false, arrow = false, bline = false)$/;" f
902
934
  generate_line lib/rsyntaxtree/svg_graph.rb /^ def generate_line(x1, y1, x2, y2, col, dashed = false, arrow = false, bline = false)$/;" f class:RSyntaxTree.SVGGraph
903
935
  get_child_count lib/rsyntaxtree/elementlist.rb /^ def get_child_count(id)$/;" f class:RSyntaxTree.ElementList
904
936
  get_children lib/rsyntaxtree/elementlist.rb /^ def get_children(id)$/;" f class:RSyntaxTree.ElementList
905
937
  get_element_width lib/rsyntaxtree/elementlist.rb /^ def get_element_width(id)$/;" f class:RSyntaxTree.ElementList
938
+ get_elementlist lib/rsyntaxtree/string_parser.rb /^ def get_elementlist$/;" f
906
939
  get_elementlist lib/rsyntaxtree/string_parser.rb /^ def get_elementlist$/;" f class:RSyntaxTree.StringParser
907
940
  get_elements lib/rsyntaxtree/elementlist.rb /^ def get_elements$/;" f class:RSyntaxTree.ElementList
908
941
  get_first lib/rsyntaxtree/elementlist.rb /^ def get_first$/;" f class:RSyntaxTree.ElementList
909
942
  get_id lib/rsyntaxtree/elementlist.rb /^ def get_id(id)$/;" f class:RSyntaxTree.ElementList
910
943
  get_indent lib/rsyntaxtree/elementlist.rb /^ def get_indent(id)$/;" f class:RSyntaxTree.ElementList
944
+ get_leftmost lib/rsyntaxtree/base_graph.rb /^ def get_leftmost(id = 1)$/;" f
911
945
  get_leftmost lib/rsyntaxtree/base_graph.rb /^ def get_leftmost(id = 1)$/;" f class:RSyntaxTree.BaseGraph
912
946
  get_level_height lib/rsyntaxtree/elementlist.rb /^ def get_level_height$/;" f class:RSyntaxTree.ElementList
947
+ get_metrics lib/rsyntaxtree/utils.rb /^ def get_metrics(text, font, fontsize, font_style, font_weight)$/;" f class:FontMetrics
913
948
  get_metrics lib/rsyntaxtree/utils.rb /^ def get_metrics(text, font, fontsize, font_style, font_weight)$/;" f module:FontMetrics
914
949
  get_next lib/rsyntaxtree/elementlist.rb /^ def get_next$/;" f class:RSyntaxTree.ElementList
950
+ get_next_token lib/rsyntaxtree/string_parser.rb /^ def get_next_token$/;" f
915
951
  get_next_token lib/rsyntaxtree/string_parser.rb /^ def get_next_token$/;" f class:RSyntaxTree.StringParser
952
+ get_rightmost lib/rsyntaxtree/base_graph.rb /^ def get_rightmost(id = 1)$/;" f
916
953
  get_rightmost lib/rsyntaxtree/base_graph.rb /^ def get_rightmost(id = 1)$/;" f class:RSyntaxTree.BaseGraph
917
954
  grid docs/assets/css/style.scss /^ div.grid {$/;" c
918
955
  grid docs/assets/css/style.scss /^div.grid {$/;" c
@@ -1451,9 +1488,12 @@ level lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level
1451
1488
  level lib/rsyntaxtree/string_parser.rb /^ attr_accessor :data, :elist, :pos, :id, :level$/;" A class:RSyntaxTree.StringParser
1452
1489
  level= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
1453
1490
  level= lib/rsyntaxtree/string_parser.rb /^ attr_accessor :data, :elist, :pos, :id, :level$/;" A class:RSyntaxTree.StringParser
1491
+ line_to_parent lib/rsyntaxtree/svg_graph.rb /^ def line_to_parent(parent, child)$/;" f
1454
1492
  line_to_parent lib/rsyntaxtree/svg_graph.rb /^ def line_to_parent(parent, child)$/;" f class:RSyntaxTree.SVGGraph
1455
1493
  main docs/_site/assets/css/style.css /^article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, s/;" s
1494
+ make_balance lib/rsyntaxtree/base_graph.rb /^ def make_balance(id = 1)$/;" f
1456
1495
  make_balance lib/rsyntaxtree/base_graph.rb /^ def make_balance(id = 1)$/;" f class:RSyntaxTree.BaseGraph
1496
+ make_tree lib/rsyntaxtree/string_parser.rb /^ def make_tree(parent)$/;" f
1457
1497
  make_tree lib/rsyntaxtree/string_parser.rb /^ def make_tree(parent)$/;" f class:RSyntaxTree.StringParser
1458
1498
  mark docs/_site/assets/css/style.css /^mark { background: #ff0; color: #000; }$/;" s
1459
1499
  markdown-toc docs/_site/documentation.html /^<ol id="markdown-toc">$/;" I
@@ -1494,6 +1534,7 @@ markdown-toc-水平線 docs/_site/documentation_ja.html /^ <li><a href="#
1494
1534
  menu docs/_site/assets/css/style.css /^article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, s/;" s
1495
1535
  nav docs/_site/assets/css/style.css /^article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, s/;" s
1496
1536
  newline docs/_site/documentation.html /^<h4 id="newline">Newline<\/h4>$/;" I
1537
+ node_centering lib/rsyntaxtree/base_graph.rb /^ def node_centering$/;" f
1497
1538
  node_centering lib/rsyntaxtree/base_graph.rb /^ def node_centering$/;" f class:RSyntaxTree.BaseGraph
1498
1539
  ns1d8799cc0101 docs/assets/svg/000.svg /^ <svg width="1768.4000000000003" height="1430.0" viewBox="0, 0, 1783.6000000000004, 1452.0" ver/;" n uri:http://www.w3.org/2000/svg
1499
1540
  ns1d99b24d0101 docs/assets/svg/001.svg /^ <svg width="624.6" height="673.2" viewBox="0, 0, 641.4, 695.2" version="1.1" xmlns="http:\/\/w/;" n uri:http://www.w3.org/2000/svg
@@ -1582,8 +1623,11 @@ optgroup docs/_site/assets/css/style.css /^button, input, optgroup, select, text
1582
1623
  optgroup docs/_site/assets/css/style.css /^optgroup { font-weight: bold; }$/;" s
1583
1624
  parent lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
1584
1625
  parent= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
1626
+ parse lib/rsyntaxtree/markup_parser.rb /^ def parse(txt)$/;" f class:Markup
1585
1627
  parse lib/rsyntaxtree/markup_parser.rb /^ def parse(txt)$/;" f module:Markup
1628
+ parse lib/rsyntaxtree/string_parser.rb /^ def parse$/;" f
1586
1629
  parse lib/rsyntaxtree/string_parser.rb /^ def parse$/;" f class:RSyntaxTree.StringParser
1630
+ parse_list lib/rsyntaxtree/base_graph.rb /^ def parse_list$/;" f
1587
1631
  parse_list lib/rsyntaxtree/base_graph.rb /^ def parse_list$/;" f class:RSyntaxTree.BaseGraph
1588
1632
  path lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
1589
1633
  path= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
@@ -1601,7 +1645,9 @@ select docs/_site/assets/css/style.css /^button, select { text-transform: none;
1601
1645
  set_element_width lib/rsyntaxtree/elementlist.rb /^ def set_element_width(id, width)$/;" f class:RSyntaxTree.ElementList
1602
1646
  set_hierarchy lib/rsyntaxtree/elementlist.rb /^ def set_hierarchy$/;" f class:RSyntaxTree.ElementList
1603
1647
  set_indent lib/rsyntaxtree/elementlist.rb /^ def set_indent(id, indent)$/;" f class:RSyntaxTree.ElementList
1648
+ set_tspan lib/rsyntaxtree/svg_graph.rb /^ def set_tspan(this_x, this_y, style, decoration, fontstyle, text)$/;" f
1604
1649
  set_tspan lib/rsyntaxtree/svg_graph.rb /^ def set_tspan(this_x, this_y, style, decoration, fontstyle, text)$/;" f class:RSyntaxTree.SVGGraph
1650
+ setup lib/rsyntaxtree/element.rb /^ def setup$/;" f class:RSyntaxTree
1605
1651
  setup lib/rsyntaxtree/element.rb /^ def setup$/;" f class:RSyntaxTree.Element
1606
1652
  setup test/markup_parser_test.rb /^ def setup$/;" f class:MarkupParserTest
1607
1653
  skip-to-content docs/_layouts/default.html /^ <a id="skip-to-content" href="#content">Skip to the content.<\/a>$/;" I
@@ -1630,26 +1676,42 @@ table docs/_site/assets/css/style.css /^table { border-collapse: collapse; borde
1630
1676
  table-of-contents docs/_site/documentation.html /^<h3 class="no_toc" id="table-of-contents">Table of Contents<\/h3>$/;" I
1631
1677
  td docs/_site/assets/css/style.css /^td, th { padding: 0; }$/;" s
1632
1678
  template docs/_site/assets/css/style.css /^[hidden], template { display: none; }$/;" s
1679
+ test_evaluator test/markup_parser_test.rb /^ def test_evaluator$/;" f
1633
1680
  test_evaluator test/markup_parser_test.rb /^ def test_evaluator$/;" f class:MarkupParserTest
1681
+ test_rule_bold test/markup_parser_test.rb /^ def test_rule_bold$/;" f
1634
1682
  test_rule_bold test/markup_parser_test.rb /^ def test_rule_bold$/;" f class:MarkupParserTest
1683
+ test_rule_bolditalic test/markup_parser_test.rb /^ def test_rule_bolditalic$/;" f
1635
1684
  test_rule_bolditalic test/markup_parser_test.rb /^ def test_rule_bolditalic$/;" f class:MarkupParserTest
1685
+ test_rule_border test/markup_parser_test.rb /^ def test_rule_border$/;" f
1636
1686
  test_rule_border test/markup_parser_test.rb /^ def test_rule_border$/;" f class:MarkupParserTest
1687
+ test_rule_box test/markup_parser_test.rb /^ def test_rule_box$/;" f
1637
1688
  test_rule_box test/markup_parser_test.rb /^ def test_rule_box$/;" f class:MarkupParserTest
1638
1689
  test_rule_brackets test/markup_parser_test.rb /^ def test_rule_brackets$/;" f class:MarkupParserTest
1639
1690
  test_rule_cr test/markup_parser_test.rb /^ def test_rule_cr$/;" f class:MarkupParserTest
1640
1691
  test_rule_escaped test/markup_parser_test.rb /^ def test_rule_escaped$/;" f class:MarkupParserTest
1692
+ test_rule_italic test/markup_parser_test.rb /^ def test_rule_italic$/;" f
1641
1693
  test_rule_italic test/markup_parser_test.rb /^ def test_rule_italic$/;" f class:MarkupParserTest
1694
+ test_rule_line test/markup_parser_test.rb /^ def test_rule_line$/;" f
1642
1695
  test_rule_line test/markup_parser_test.rb /^ def test_rule_line$/;" f class:MarkupParserTest
1696
+ test_rule_lines test/markup_parser_test.rb /^ def test_rule_lines$/;" f
1643
1697
  test_rule_lines test/markup_parser_test.rb /^ def test_rule_lines$/;" f class:MarkupParserTest
1698
+ test_rule_linethrough test/markup_parser_test.rb /^ def test_rule_linethrough$/;" f
1644
1699
  test_rule_linethrough test/markup_parser_test.rb /^ def test_rule_linethrough$/;" f class:MarkupParserTest
1700
+ test_rule_markup test/markup_parser_test.rb /^ def test_rule_markup$/;" f
1645
1701
  test_rule_markup test/markup_parser_test.rb /^ def test_rule_markup$/;" f class:MarkupParserTest
1702
+ test_rule_non_escaped test/markup_parser_test.rb /^ def test_rule_non_escaped$/;" f
1646
1703
  test_rule_non_escaped test/markup_parser_test.rb /^ def test_rule_non_escaped$/;" f class:MarkupParserTest
1704
+ test_rule_overline test/markup_parser_test.rb /^ def test_rule_overline$/;" f
1647
1705
  test_rule_overline test/markup_parser_test.rb /^ def test_rule_overline$/;" f class:MarkupParserTest
1648
1706
  test_rule_path test/markup_parser_test.rb /^ def test_rule_path$/;" f class:MarkupParserTest
1707
+ test_rule_subscript test/markup_parser_test.rb /^ def test_rule_subscript$/;" f
1649
1708
  test_rule_subscript test/markup_parser_test.rb /^ def test_rule_subscript$/;" f class:MarkupParserTest
1709
+ test_rule_superscript test/markup_parser_test.rb /^ def test_rule_superscript$/;" f
1650
1710
  test_rule_superscript test/markup_parser_test.rb /^ def test_rule_superscript$/;" f class:MarkupParserTest
1711
+ test_rule_text test/markup_parser_test.rb /^ def test_rule_text$/;" f
1651
1712
  test_rule_text test/markup_parser_test.rb /^ def test_rule_text$/;" f class:MarkupParserTest
1652
1713
  test_rule_triangle test/markup_parser_test.rb /^ def test_rule_triangle$/;" f class:MarkupParserTest
1714
+ test_rule_underline test/markup_parser_test.rb /^ def test_rule_underline$/;" f
1653
1715
  test_rule_underline test/markup_parser_test.rb /^ def test_rule_underline$/;" f class:MarkupParserTest
1654
1716
  text-000 docs/_site/examples.html /^ <div id="text-000" style='max-height: 600px; overflow-y: auto; margin-bottom: 20px;'/;" I
1655
1717
  text-001 docs/_site/examples.html /^ <div id="text-001" style='max-height: 600px; overflow-y: auto; margin-bottom: 20px;'/;" I
@@ -1691,10 +1753,12 @@ th docs/_site/assets/css/style.css /^td, th { padding: 0; }$/;" s
1691
1753
  triangle lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
1692
1754
  triangle-square-brackets-rectangle docs/_site/documentation.html /^<h3 id="triangle-square-brackets-rectangle">Triangle, Square Brackets, Rectangle<\/h3>$/;" I
1693
1755
  triangle= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
1756
+ triangle_to_parent lib/rsyntaxtree/svg_graph.rb /^ def triangle_to_parent(parent, child)$/;" f
1694
1757
  triangle_to_parent lib/rsyntaxtree/svg_graph.rb /^ def triangle_to_parent(parent, child)$/;" f class:RSyntaxTree.SVGGraph
1695
1758
  type lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
1696
1759
  type= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
1697
1760
  vP-shell (Japanese) docs/_site/examples.html /^ <div><a href="#examples">🔝<\/a><\/div><h3>vP-shell (Japanese)<\/h3>$/;" j
1761
+ valid lib/rsyntaxtree/string_parser.rb /^ def self.valid?(data)$/;" F class:RSyntaxTree
1698
1762
  valid? lib/rsyntaxtree/string_parser.rb /^ def self.valid?(data)$/;" S class:RSyntaxTree.StringParser
1699
1763
  vertical_indent lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
1700
1764
  vertical_indent= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
data/README.md CHANGED
@@ -29,6 +29,7 @@ See [RSyntaxTree Example Gallery](https://yohasebe.github.io/rsyntaxtree/example
29
29
  - Construction Grammar
30
30
  - Pragmatics
31
31
  - Phonology
32
+ - etc.
32
33
 
33
34
  **NOTE**: Some tree structures in the example gallery are experimental in the sense that they are not drawn according to conventions of the field.
34
35
 
@@ -82,9 +83,9 @@ where [options] are:
82
83
  -y, --symmetrize=<s> Generate radically symmetrical, balanced tree: on or off (default: off)
83
84
  -r, --transparent=<s> Make background transparent: on or off (default: off)
84
85
  -p, --polyline=<s> draw polyline connectors: on or off (default: off)
85
- -h, --hide-default-connectors=<s> make default connectors transparent: on or off (default: off)
86
+ -d, --hide-default-connectors=<s> make default connectors transparent: on or off (default: off)
87
+ -h, --help This is a custom help message
86
88
  -e, --version Print version and exit
87
- --help Show this message
88
89
  ```
89
90
 
90
91
  See the [documentation](https://yohasebe.github.io/rsyntaxtree/documentation) for more detailed info about the syntax.
data/bin/rsyntaxtree CHANGED
@@ -17,7 +17,7 @@ opts = Optimist.options do
17
17
  BANNER
18
18
 
19
19
  opt :outdir, "Output directory", default: "./"
20
- opt :format, "Output format: png, gif, jpg, pdf, or svg", default: "png"
20
+ opt :format, "Output format: png, pdf, or svg", default: "png"
21
21
  opt :leafstyle, "visual style of tree leaves: auto, triangle, bar, or nothing", default: "auto"
22
22
  opt :fontstyle, "Font style (available when ttf font is specified): sans, serif, cjk, mono", default: "sans"
23
23
  opt :font, "Path to a ttf font used to generate tree (optional)", type: String
@@ -33,7 +33,7 @@ opts = Optimist.options do
33
33
  end
34
34
 
35
35
  Optimist.die :outdir, "must be an exsting directory path" unless FileTest.directory?(opts[:outdir])
36
- Optimist.die :format, "must be png, jpg, gif, or svg" unless /\A(png|jpg|gif|pdf|svg)\z/ =~ opts[:format]
36
+ Optimist.die :format, "must be png, pdf, or svg" unless /\A(png|jpg|gif|pdf|svg)\z/ =~ opts[:format]
37
37
  Optimist.die :leafstyle, "must be auto, triangle, bar, or nothing" unless /\A(auto|triangle|bar|nothing)\z/ =~ opts[:leafstyle]
38
38
  Optimist.die :fontstyle, "must be sans, serif, cjk, or mono" unless /\A(sans|serif|cjk|mono)\z/ =~ opts[:fontstyle]
39
39
  Optimist.die :font, "must be path to an existing ttf font" if opts[:font] && !File.exist?(opts[:font])
@@ -70,11 +70,11 @@ begin
70
70
  ext = string_opts[:format]
71
71
  filepath = File.expand_path(string_opts[:outdir]) + "/syntree." + ext
72
72
  case ext
73
- when "jpg", "gif", "pdf"
74
- rsg.draw_tree.write(filepath)
73
+ when "pdf"
74
+ rsg.draw_pdf(filepath)
75
75
  when "png"
76
76
  outfile = File.new(filepath, "wb")
77
- outfile.write rsg.draw_tree
77
+ outfile.write rsg.draw_png
78
78
  outfile.close
79
79
  when "svg"
80
80
  outfile = File.new(filepath, "wb")
@@ -24,19 +24,7 @@ Dir.glob("*.md", base: examples_dir).map do |md|
24
24
  logfile.puts "Error detected in #{md}"
25
25
  end
26
26
 
27
- opts = {
28
- format: "png",
29
- leafstyle: "auto",
30
- fontstyle: "sans",
31
- fontsize: 16,
32
- linewidth: 1,
33
- vheight: 2.0,
34
- color: "modern",
35
- symmetrize: "on",
36
- transparent: "off",
37
- polyline: "off",
38
- hide_default_connectors: "off"
39
- }
27
+ opts = DEFAULT_OPTS.dup
40
28
  name = nil
41
29
  config.each do |key, value|
42
30
  next if value.to_s == ""
@@ -6,7 +6,7 @@ category: "General"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "auto"
9
- connector_height: "1.5"
9
+ connector_height: "2"
10
10
  linewidth: "1"
11
11
  hide_default_connectors: "off"
12
12
  font: "Noto Sans"
@@ -6,7 +6,7 @@ category: "General"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "auto"
9
- connector_height: "1.0"
9
+ connector_height: "1"
10
10
  linewidth: "1"
11
11
  hide_default_connectors: "off"
12
12
  font: "Noto Serif"
@@ -6,7 +6,7 @@ category: "Generative Grammar"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "auto"
9
- connector_height: "1"
9
+ connector_height: "2"
10
10
  linewidth: "1"
11
11
  hide_default_connectors: "off"
12
12
  font: "Noto Serif"
@@ -6,7 +6,7 @@ category: "Generative Grammar"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "auto"
9
- connector_height: "1"
9
+ connector_height: "2"
10
10
  linewidth: "1"
11
11
  hide_default_connectors: "off"
12
12
  font: "Noto Serif"
@@ -6,7 +6,7 @@ category: "Generative Grammar"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "auto"
9
- connector_height: "1"
9
+ connector_height: "2"
10
10
  linewidth: "1"
11
11
  hide_default_connectors: "off"
12
12
  font: "Noto Serif"
@@ -6,7 +6,7 @@ category: "Generative Grammar"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "none"
9
- connector_height: "1"
9
+ connector_height: "1.5"
10
10
  linewidth: "1"
11
11
  hide_default_connectors: "off"
12
12
  font: "Noto Serif"
@@ -6,7 +6,7 @@ category: "Generative Grammar"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "none"
9
- connector_height: "1"
9
+ connector_height: "1.5"
10
10
  linewidth: "1"
11
11
  hide_default_connectors: "off"
12
12
  font: "Noto Serif"
@@ -6,7 +6,7 @@ category: "Generative Grammar"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "bar"
9
- connector_height: "1"
9
+ connector_height: "2"
10
10
  linewidth: "1"
11
11
  hide_default_connectors: "off"
12
12
  font: "Noto Serif"
@@ -6,7 +6,7 @@ category: "Generative Grammar"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "auto"
9
- connector_height: "1"
9
+ connector_height: "2"
10
10
  linewidth: "1"
11
11
  hide_default_connectors: "off"
12
12
  font: "Noto Serif"
@@ -6,7 +6,7 @@ category: "Generative Grammar"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "auto"
9
- connector_height: "1"
9
+ connector_height: "2"
10
10
  linewidth: "1"
11
11
  hide_default_connectors: "off"
12
12
  font: "Noto Serif"
@@ -5,7 +5,7 @@ polyline: "off"
5
5
  color: "modern"
6
6
  symmetrization: "off"
7
7
  connector: "none"
8
- connector_height: "1"
8
+ connector_height: "1.5"
9
9
  linewidth: "1"
10
10
  hide_default_connectors: "off"
11
11
  font: "Noto Serif"
@@ -6,7 +6,7 @@ category: "Combinatory Categorial Grammar"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "none"
9
- connector_height: "1"
9
+ connector_height: "2"
10
10
  linewidth: "1"
11
11
  hide_default_connectors: "off"
12
12
  font: "Noto Serif"
@@ -6,7 +6,7 @@ category: "Combinatory Categorial Grammar"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "none"
9
- connector_height: "1"
9
+ connector_height: "2"
10
10
  linewidth: "1"
11
11
  hide_default_connectors: "off"
12
12
  font: "Noto Serif"
@@ -6,7 +6,7 @@ category: "Cognitive Grammar"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "auto"
9
- connector_height: "1.5"
9
+ connector_height: "1"
10
10
  linewidth: "1"
11
11
  hide_default_connectors: "off"
12
12
  font: "Noto Serif"
@@ -6,7 +6,7 @@ category: "Phonology"
6
6
  polyline: "off"
7
7
  symmetrization: "on"
8
8
  connector: "auto"
9
- connector_height: "1"
9
+ connector_height: "2"
10
10
  linewidth: "1"
11
11
  hide_default_connectors: "off"
12
12
  font: "WQY Zen Hei"
@@ -6,7 +6,7 @@ category: "Miscellaneous"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "bar"
9
- connector_height: "1"
9
+ connector_height: "2"
10
10
  linewidth: "1"
11
11
  hide_default_connectors: "off"
12
12
  font: "WQY Zen Hei"
@@ -6,7 +6,7 @@ category: "Computer Science"
6
6
  polyline: "on"
7
7
  symmetrization: "off"
8
8
  connector: "bar"
9
- connector_height: "1"
9
+ connector_height: "2"
10
10
  linewidth: "1"
11
11
  hide_default_connectors: "off"
12
12
  font: "Noto Sans Mono"
@@ -6,7 +6,7 @@ category: "Pragmatics"
6
6
  polyline: "on"
7
7
  symmetrization: "off"
8
8
  connector: "bar"
9
- connector_height: "1"
9
+ connector_height: "1.5"
10
10
  linewidth: "1"
11
11
  hide_default_connectors: "off"
12
12
  font: "Noto Serif"
@@ -6,7 +6,7 @@ category: "Generative Grammar"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "none"
9
- connector_height: "1"
9
+ connector_height: "1.5"
10
10
  linewidth: "1"
11
11
  hide_default_connectors: "off"
12
12
  font: "Noto Serif"
@@ -6,7 +6,7 @@ category: "Construction Grammar"
6
6
  polyline: "on"
7
7
  symmetrization: "off"
8
8
  connector: "bar"
9
- connector_height: "2"
9
+ connector_height: "3"
10
10
  linewidth: "1"
11
11
  hide_default_connectors: "off"
12
12
  font: "Noto Serif"
@@ -6,7 +6,7 @@ category: "Functional Grammar"
6
6
  polyline: "on"
7
7
  symmetrization: "off"
8
8
  connector: "bar"
9
- connector_height: "1"
9
+ connector_height: "1.5"
10
10
  linewidth: "1"
11
11
  hide_default_connectors: "off"
12
12
  font: "Noto Serif"
@@ -6,7 +6,7 @@ category: "Functional Grammar"
6
6
  polyline: "on"
7
7
  symmetrization: "off"
8
8
  connector: "bar"
9
- connector_height: "2"
9
+ connector_height: "3"
10
10
  linewidth: "1"
11
11
  hide_default_connectors: "off"
12
12
  font: "Noto Serif"
@@ -6,7 +6,7 @@ category: "Construction Grammar"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "auto"
9
- connector_height: "2"
9
+ connector_height: "3"
10
10
  linewidth: "1"
11
11
  hide_default_connectors: "off"
12
12
  font: "Noto Serif"
@@ -6,7 +6,7 @@ category: "Formal Semantics"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "auto"
9
- connector_height: "1"
9
+ connector_height: "1.5"
10
10
  linewidth: "1"
11
11
  hide_default_connectors: "off"
12
12
  font: "Noto Sans Mono"
@@ -7,7 +7,7 @@ color: "modern"
7
7
  symmetrization: "off"
8
8
  connector: "none"
9
9
  connector_height: "2"
10
- linewidth: "5"
10
+ linewidth: "1"
11
11
  hide_default_connectors: "off"
12
12
  font: "Noto Sans Mono"
13
13
  reference: ""
@@ -6,7 +6,7 @@ category: "Construction Grammar"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "auto"
9
- connector_height: "2"
9
+ connector_height: "2.5"
10
10
  linewidth: "1"
11
11
  hide_default_connectors: "off"
12
12
  font: "Noto Serif"
@@ -6,8 +6,8 @@ category: "Construction Grammar"
6
6
  polyline: "off"
7
7
  symmetrization: "on"
8
8
  connector: "auto"
9
- connector_height: "2"
10
- linewidth: "1"
9
+ $onnector_height: "3"
10
+ linewidth: "2"
11
11
  hide_default_connectors: "on"
12
12
  font: "Noto Serif"
13
13
  reference: "Goldberg 1995: 109"