pareto-graphviz 0.2.40 → 0.2.41

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 (25) hide show
  1. package/dist/implementation/manual/transformers/attributes/fountain_pen.js +276 -276
  2. package/dist/implementation/manual/transformers/attributes/low_level.js +276 -276
  3. package/dist/implementation/manual/transformers/high_level/low_level.js +29 -29
  4. package/dist/implementation/manual/transformers/high_level_simple/low_level.js +4 -4
  5. package/dist/implementation/manual/transformers/low_level/fountain_pen.js +37 -37
  6. package/dist/implementation/manual/transformers/primitives/list_of_characters.js +2 -2
  7. package/dist/interface/generated/liana/schemas/attributes/signatures/refiners/astn_parse_tree.d.ts +1 -1
  8. package/dist/interface/generated/liana/schemas/attributes/signatures/refiners/list_of_characters.d.ts +1 -1
  9. package/dist/interface/generated/liana/schemas/file_structure/signatures/refiners/astn_parse_tree.d.ts +1 -1
  10. package/dist/interface/generated/liana/schemas/file_structure/signatures/refiners/list_of_characters.d.ts +1 -1
  11. package/dist/interface/generated/liana/schemas/high_level/signatures/refiners/astn_parse_tree.d.ts +1 -1
  12. package/dist/interface/generated/liana/schemas/high_level/signatures/refiners/list_of_characters.d.ts +1 -1
  13. package/dist/interface/generated/liana/schemas/high_level_simple/signatures/refiners/astn_parse_tree.d.ts +1 -1
  14. package/dist/interface/generated/liana/schemas/high_level_simple/signatures/refiners/list_of_characters.d.ts +1 -1
  15. package/dist/interface/generated/liana/schemas/html/signatures/refiners/astn_parse_tree.d.ts +1 -1
  16. package/dist/interface/generated/liana/schemas/html/signatures/refiners/list_of_characters.d.ts +1 -1
  17. package/dist/interface/generated/liana/schemas/low_level/signatures/refiners/astn_parse_tree.d.ts +1 -1
  18. package/dist/interface/generated/liana/schemas/low_level/signatures/refiners/list_of_characters.d.ts +1 -1
  19. package/dist/interface/generated/liana/schemas/xml/signatures/refiners/astn_parse_tree.d.ts +1 -1
  20. package/dist/interface/generated/liana/schemas/xml/signatures/refiners/list_of_characters.d.ts +1 -1
  21. package/dist/shorthands/high_level_simple.d.ts +4 -4
  22. package/dist/shorthands/high_level_simple.js +6 -6
  23. package/dist/shorthands/low_level.d.ts +5 -5
  24. package/dist/shorthands/low_level.js +8 -8
  25. package/package.json +1 -1
@@ -34,580 +34,580 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.Attributes = void 0;
37
- const pt = __importStar(require("pareto-core/dist/implementation/transformer"));
37
+ const p_ = __importStar(require("pareto-core/dist/implementation/transformer"));
38
38
  //dependencies
39
39
  const t_primitives_to_list_of_characters = __importStar(require("../primitives/list_of_characters"));
40
40
  //shorthands
41
41
  const sh = __importStar(require("pareto-fountain-pen/dist/shorthands/prose"));
42
42
  const Attributes = ($) => sh.pg.sentences($.__l_map(($) => sh.sentence([
43
- pt.decide.state($, ($) => {
43
+ p_.decide.state($, ($) => {
44
44
  switch ($[0]) {
45
- case 'freeform': return pt.ss($, ($) => sh.ph.composed([
45
+ case 'freeform': return p_.ss($, ($) => sh.ph.composed([
46
46
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($.key)),
47
47
  sh.ph.literal("="),
48
48
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($.value))
49
49
  ]));
50
- case 'color': return pt.ss($, ($) => sh.ph.composed([
50
+ case 'color': return p_.ss($, ($) => sh.ph.composed([
51
51
  sh.ph.literal("color="),
52
52
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
53
53
  ]));
54
- case 'fillcolor': return pt.ss($, ($) => sh.ph.composed([
54
+ case 'fillcolor': return p_.ss($, ($) => sh.ph.composed([
55
55
  sh.ph.literal("fillcolor="),
56
56
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
57
57
  ]));
58
- case 'penwidth': return pt.ss($, ($) => sh.ph.composed([
58
+ case 'penwidth': return p_.ss($, ($) => sh.ph.composed([
59
59
  sh.ph.literal("penwidth="),
60
60
  sh.ph.serialize(t_primitives_to_list_of_characters.decimal($))
61
61
  ]));
62
- case 'label': return pt.ss($, ($) => sh.ph.composed([
62
+ case 'label': return p_.ss($, ($) => sh.ph.composed([
63
63
  sh.ph.literal("label="),
64
64
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
65
65
  ]));
66
- case 'fontcolor': return pt.ss($, ($) => sh.ph.composed([
66
+ case 'fontcolor': return p_.ss($, ($) => sh.ph.composed([
67
67
  sh.ph.literal("fontcolor="),
68
68
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
69
69
  ]));
70
- case 'fontname': return pt.ss($, ($) => sh.ph.composed([
70
+ case 'fontname': return p_.ss($, ($) => sh.ph.composed([
71
71
  sh.ph.literal("fontname="),
72
72
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
73
73
  ]));
74
- case 'fontsize': return pt.ss($, ($) => sh.ph.composed([
74
+ case 'fontsize': return p_.ss($, ($) => sh.ph.composed([
75
75
  sh.ph.literal("fontsize="),
76
76
  sh.ph.serialize(t_primitives_to_list_of_characters.decimal($))
77
77
  ]));
78
- case 'URL': return pt.ss($, ($) => sh.ph.composed([
78
+ case 'URL': return p_.ss($, ($) => sh.ph.composed([
79
79
  sh.ph.literal("URL="),
80
80
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
81
81
  ]));
82
- case 'href': return pt.ss($, ($) => sh.ph.composed([
82
+ case 'href': return p_.ss($, ($) => sh.ph.composed([
83
83
  sh.ph.literal("href="),
84
84
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
85
85
  ]));
86
- case 'target': return pt.ss($, ($) => sh.ph.composed([
86
+ case 'target': return p_.ss($, ($) => sh.ph.composed([
87
87
  sh.ph.literal("target="),
88
88
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
89
89
  ]));
90
- case 'tooltip': return pt.ss($, ($) => sh.ph.composed([
90
+ case 'tooltip': return p_.ss($, ($) => sh.ph.composed([
91
91
  sh.ph.literal("tooltip="),
92
92
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
93
93
  ]));
94
- case 'id': return pt.ss($, ($) => sh.ph.composed([
94
+ case 'id': return p_.ss($, ($) => sh.ph.composed([
95
95
  sh.ph.literal("id="),
96
96
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
97
97
  ]));
98
- case 'class': return pt.ss($, ($) => sh.ph.composed([
98
+ case 'class': return p_.ss($, ($) => sh.ph.composed([
99
99
  sh.ph.literal("class="),
100
100
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
101
101
  ]));
102
- case 'comment': return pt.ss($, ($) => sh.ph.composed([
102
+ case 'comment': return p_.ss($, ($) => sh.ph.composed([
103
103
  sh.ph.literal("comment="),
104
104
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
105
105
  ]));
106
- case 'style': return pt.ss($, ($) => pt.decide.state($, ($) => {
106
+ case 'style': return p_.ss($, ($) => p_.decide.state($, ($) => {
107
107
  switch ($[0]) {
108
- case 'filled': return pt.ss($, ($) => sh.ph.literal("style=filled"));
109
- case 'rounded': return pt.ss($, ($) => sh.ph.literal("style=rounded"));
110
- case 'bold': return pt.ss($, ($) => sh.ph.literal("style=bold"));
111
- case 'solid': return pt.ss($, ($) => sh.ph.literal("style=solid"));
112
- case 'dashed': return pt.ss($, ($) => sh.ph.literal("style=dashed"));
113
- case 'dotted': return pt.ss($, ($) => sh.ph.literal("style=dotted"));
114
- case 'striped': return pt.ss($, ($) => sh.ph.literal("style=striped"));
115
- case 'wedged': return pt.ss($, ($) => sh.ph.literal("style=wedged"));
116
- case 'diagonals': return pt.ss($, ($) => sh.ph.literal("style=diagonals"));
117
- case 'invis': return pt.ss($, ($) => sh.ph.literal("style=invis"));
118
- case 'tapered': return pt.ss($, ($) => sh.ph.literal("style=tapered"));
119
- case 'custom': return pt.ss($, ($) => sh.ph.composed([
108
+ case 'filled': return p_.ss($, ($) => sh.ph.literal("style=filled"));
109
+ case 'rounded': return p_.ss($, ($) => sh.ph.literal("style=rounded"));
110
+ case 'bold': return p_.ss($, ($) => sh.ph.literal("style=bold"));
111
+ case 'solid': return p_.ss($, ($) => sh.ph.literal("style=solid"));
112
+ case 'dashed': return p_.ss($, ($) => sh.ph.literal("style=dashed"));
113
+ case 'dotted': return p_.ss($, ($) => sh.ph.literal("style=dotted"));
114
+ case 'striped': return p_.ss($, ($) => sh.ph.literal("style=striped"));
115
+ case 'wedged': return p_.ss($, ($) => sh.ph.literal("style=wedged"));
116
+ case 'diagonals': return p_.ss($, ($) => sh.ph.literal("style=diagonals"));
117
+ case 'invis': return p_.ss($, ($) => sh.ph.literal("style=invis"));
118
+ case 'tapered': return p_.ss($, ($) => sh.ph.literal("style=tapered"));
119
+ case 'custom': return p_.ss($, ($) => sh.ph.composed([
120
120
  sh.ph.literal("style="),
121
121
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
122
122
  ]));
123
- default: return pt.au($[0]);
123
+ default: return p_.au($[0]);
124
124
  }
125
125
  }));
126
- case 'layout': return pt.ss($, ($) => pt.decide.state($, ($) => {
126
+ case 'layout': return p_.ss($, ($) => p_.decide.state($, ($) => {
127
127
  switch ($[0]) {
128
- case 'dot': return pt.ss($, ($) => sh.ph.literal("layout=dot"));
129
- case 'neato': return pt.ss($, ($) => sh.ph.literal("layout=neato"));
130
- case 'fdp': return pt.ss($, ($) => sh.ph.literal("layout=fdp"));
131
- case 'sfdp': return pt.ss($, ($) => sh.ph.literal("layout=sfdp"));
132
- case 'twopi': return pt.ss($, ($) => sh.ph.literal("layout=twopi"));
133
- case 'circo': return pt.ss($, ($) => sh.ph.literal("layout=circo"));
134
- case 'custom': return pt.ss($, ($) => sh.ph.composed([
128
+ case 'dot': return p_.ss($, ($) => sh.ph.literal("layout=dot"));
129
+ case 'neato': return p_.ss($, ($) => sh.ph.literal("layout=neato"));
130
+ case 'fdp': return p_.ss($, ($) => sh.ph.literal("layout=fdp"));
131
+ case 'sfdp': return p_.ss($, ($) => sh.ph.literal("layout=sfdp"));
132
+ case 'twopi': return p_.ss($, ($) => sh.ph.literal("layout=twopi"));
133
+ case 'circo': return p_.ss($, ($) => sh.ph.literal("layout=circo"));
134
+ case 'custom': return p_.ss($, ($) => sh.ph.composed([
135
135
  sh.ph.literal("layout="),
136
136
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
137
137
  ]));
138
- default: return pt.au($[0]);
138
+ default: return p_.au($[0]);
139
139
  }
140
140
  }));
141
- case 'rankdir': return pt.ss($, ($) => pt.decide.state($, ($) => {
141
+ case 'rankdir': return p_.ss($, ($) => p_.decide.state($, ($) => {
142
142
  switch ($[0]) {
143
- case 'TB': return pt.ss($, ($) => sh.ph.literal("rankdir=TB"));
144
- case 'BT': return pt.ss($, ($) => sh.ph.literal("rankdir=BT"));
145
- case 'LR': return pt.ss($, ($) => sh.ph.literal("rankdir=LR"));
146
- case 'RL': return pt.ss($, ($) => sh.ph.literal("rankdir=RL"));
147
- default: return pt.au($[0]);
143
+ case 'TB': return p_.ss($, ($) => sh.ph.literal("rankdir=TB"));
144
+ case 'BT': return p_.ss($, ($) => sh.ph.literal("rankdir=BT"));
145
+ case 'LR': return p_.ss($, ($) => sh.ph.literal("rankdir=LR"));
146
+ case 'RL': return p_.ss($, ($) => sh.ph.literal("rankdir=RL"));
147
+ default: return p_.au($[0]);
148
148
  }
149
149
  }));
150
- case 'bgcolor': return pt.ss($, ($) => sh.ph.composed([
150
+ case 'bgcolor': return p_.ss($, ($) => sh.ph.composed([
151
151
  sh.ph.literal("bgcolor="),
152
152
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
153
153
  ]));
154
- case 'labelloc': return pt.ss($, ($) => pt.decide.state($, ($) => {
154
+ case 'labelloc': return p_.ss($, ($) => p_.decide.state($, ($) => {
155
155
  switch ($[0]) {
156
- case 't': return pt.ss($, ($) => sh.ph.literal("labelloc=t"));
157
- case 'b': return pt.ss($, ($) => sh.ph.literal("labelloc=b"));
158
- default: return pt.au($[0]);
156
+ case 't': return p_.ss($, ($) => sh.ph.literal("labelloc=t"));
157
+ case 'b': return p_.ss($, ($) => sh.ph.literal("labelloc=b"));
158
+ default: return p_.au($[0]);
159
159
  }
160
160
  }));
161
- case 'labeljust': return pt.ss($, ($) => pt.decide.state($, ($) => {
161
+ case 'labeljust': return p_.ss($, ($) => p_.decide.state($, ($) => {
162
162
  switch ($[0]) {
163
- case 'l': return pt.ss($, ($) => sh.ph.literal("labeljust=l"));
164
- case 'c': return pt.ss($, ($) => sh.ph.literal("labeljust=c"));
165
- case 'r': return pt.ss($, ($) => sh.ph.literal("labeljust=r"));
166
- default: return pt.au($[0]);
163
+ case 'l': return p_.ss($, ($) => sh.ph.literal("labeljust=l"));
164
+ case 'c': return p_.ss($, ($) => sh.ph.literal("labeljust=c"));
165
+ case 'r': return p_.ss($, ($) => sh.ph.literal("labeljust=r"));
166
+ default: return p_.au($[0]);
167
167
  }
168
168
  }));
169
- case 'size': return pt.ss($, ($) => sh.ph.composed([
169
+ case 'size': return p_.ss($, ($) => sh.ph.composed([
170
170
  sh.ph.literal("size="),
171
171
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
172
172
  ]));
173
- case 'ratio': return pt.ss($, ($) => sh.ph.composed([
173
+ case 'ratio': return p_.ss($, ($) => sh.ph.composed([
174
174
  sh.ph.literal("ratio="),
175
175
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
176
176
  ]));
177
- case 'pad': return pt.ss($, ($) => sh.ph.composed([
177
+ case 'pad': return p_.ss($, ($) => sh.ph.composed([
178
178
  sh.ph.literal("pad="),
179
179
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
180
180
  ]));
181
- case 'nodesep': return pt.ss($, ($) => sh.ph.composed([
181
+ case 'nodesep': return p_.ss($, ($) => sh.ph.composed([
182
182
  sh.ph.literal("nodesep="),
183
183
  sh.ph.serialize(t_primitives_to_list_of_characters.decimal($))
184
184
  ]));
185
- case 'ranksep': return pt.ss($, ($) => sh.ph.composed([
185
+ case 'ranksep': return p_.ss($, ($) => sh.ph.composed([
186
186
  sh.ph.literal("ranksep="),
187
187
  sh.ph.serialize(t_primitives_to_list_of_characters.decimal($))
188
188
  ]));
189
- case 'dpi': return pt.ss($, ($) => sh.ph.composed([
189
+ case 'dpi': return p_.ss($, ($) => sh.ph.composed([
190
190
  sh.ph.literal("dpi="),
191
191
  sh.ph.serialize(t_primitives_to_list_of_characters.decimal($))
192
192
  ]));
193
- case 'overlap': return pt.ss($, ($) => pt.decide.state($, ($) => {
193
+ case 'overlap': return p_.ss($, ($) => p_.decide.state($, ($) => {
194
194
  switch ($[0]) {
195
- case 'true': return pt.ss($, ($) => sh.ph.literal("overlap=true"));
196
- case 'false': return pt.ss($, ($) => sh.ph.literal("overlap=false"));
197
- case 'scale': return pt.ss($, ($) => sh.ph.literal("overlap=scale"));
198
- case 'scalexy': return pt.ss($, ($) => sh.ph.literal("overlap=scalexy"));
199
- case 'orthoxy': return pt.ss($, ($) => sh.ph.literal("overlap=orthoxy"));
200
- case 'orthoyx': return pt.ss($, ($) => sh.ph.literal("overlap=orthoyx"));
201
- case 'compress': return pt.ss($, ($) => sh.ph.literal("overlap=compress"));
202
- case 'vpsc': return pt.ss($, ($) => sh.ph.literal("overlap=vpsc"));
203
- case 'ipsep': return pt.ss($, ($) => sh.ph.literal("overlap=ipsep"));
204
- case 'prism': return pt.ss($, ($) => sh.ph.literal("overlap=prism"));
205
- default: return pt.au($[0]);
195
+ case 'true': return p_.ss($, ($) => sh.ph.literal("overlap=true"));
196
+ case 'false': return p_.ss($, ($) => sh.ph.literal("overlap=false"));
197
+ case 'scale': return p_.ss($, ($) => sh.ph.literal("overlap=scale"));
198
+ case 'scalexy': return p_.ss($, ($) => sh.ph.literal("overlap=scalexy"));
199
+ case 'orthoxy': return p_.ss($, ($) => sh.ph.literal("overlap=orthoxy"));
200
+ case 'orthoyx': return p_.ss($, ($) => sh.ph.literal("overlap=orthoyx"));
201
+ case 'compress': return p_.ss($, ($) => sh.ph.literal("overlap=compress"));
202
+ case 'vpsc': return p_.ss($, ($) => sh.ph.literal("overlap=vpsc"));
203
+ case 'ipsep': return p_.ss($, ($) => sh.ph.literal("overlap=ipsep"));
204
+ case 'prism': return p_.ss($, ($) => sh.ph.literal("overlap=prism"));
205
+ default: return p_.au($[0]);
206
206
  }
207
207
  }));
208
- case 'pack': return pt.ss($, ($) => pt.decide.state($, ($) => {
208
+ case 'pack': return p_.ss($, ($) => p_.decide.state($, ($) => {
209
209
  switch ($[0]) {
210
- case 'true': return pt.ss($, ($) => sh.ph.literal("pack=true"));
211
- case 'false': return pt.ss($, ($) => sh.ph.literal("pack=false"));
212
- case 'custom': return pt.ss($, ($) => sh.ph.composed([
210
+ case 'true': return p_.ss($, ($) => sh.ph.literal("pack=true"));
211
+ case 'false': return p_.ss($, ($) => sh.ph.literal("pack=false"));
212
+ case 'custom': return p_.ss($, ($) => sh.ph.composed([
213
213
  sh.ph.literal("pack="),
214
214
  sh.ph.serialize(t_primitives_to_list_of_characters.decimal($))
215
215
  ]));
216
- default: return pt.au($[0]);
216
+ default: return p_.au($[0]);
217
217
  }
218
218
  }));
219
- case 'packmode': return pt.ss($, ($) => pt.decide.state($, ($) => {
219
+ case 'packmode': return p_.ss($, ($) => p_.decide.state($, ($) => {
220
220
  switch ($[0]) {
221
- case 'node': return pt.ss($, ($) => sh.ph.literal("packmode=node"));
222
- case 'clust': return pt.ss($, ($) => sh.ph.literal("packmode=clust"));
223
- case 'graph': return pt.ss($, ($) => sh.ph.literal("packmode=graph"));
224
- default: return pt.au($[0]);
221
+ case 'node': return p_.ss($, ($) => sh.ph.literal("packmode=node"));
222
+ case 'clust': return p_.ss($, ($) => sh.ph.literal("packmode=clust"));
223
+ case 'graph': return p_.ss($, ($) => sh.ph.literal("packmode=graph"));
224
+ default: return p_.au($[0]);
225
225
  }
226
226
  }));
227
- case 'concentrate': return pt.ss($, ($) => sh.ph.literal($ ? "concentrate=true" : "concentrate=false"));
228
- case 'compound': return pt.ss($, ($) => sh.ph.literal($ ? "compound=true" : "compound=false"));
229
- case 'center': return pt.ss($, ($) => sh.ph.literal($ ? "center=true" : "center=false"));
230
- case 'normalize': return pt.ss($, ($) => sh.ph.literal($ ? "normalize=true" : "normalize=false"));
231
- case 'landscape': return pt.ss($, ($) => sh.ph.literal($ ? "landscape=true" : "landscape=false"));
232
- case 'outputorder': return pt.ss($, ($) => pt.decide.state($, ($) => {
227
+ case 'concentrate': return p_.ss($, ($) => sh.ph.literal($ ? "concentrate=true" : "concentrate=false"));
228
+ case 'compound': return p_.ss($, ($) => sh.ph.literal($ ? "compound=true" : "compound=false"));
229
+ case 'center': return p_.ss($, ($) => sh.ph.literal($ ? "center=true" : "center=false"));
230
+ case 'normalize': return p_.ss($, ($) => sh.ph.literal($ ? "normalize=true" : "normalize=false"));
231
+ case 'landscape': return p_.ss($, ($) => sh.ph.literal($ ? "landscape=true" : "landscape=false"));
232
+ case 'outputorder': return p_.ss($, ($) => p_.decide.state($, ($) => {
233
233
  switch ($[0]) {
234
- case 'breadthfirst': return pt.ss($, ($) => sh.ph.literal("outputorder=breadthfirst"));
235
- case 'nodesfirst': return pt.ss($, ($) => sh.ph.literal("outputorder=nodesfirst"));
236
- case 'edgesfirst': return pt.ss($, ($) => sh.ph.literal("outputorder=edgesfirst"));
237
- default: return pt.au($[0]);
234
+ case 'breadthfirst': return p_.ss($, ($) => sh.ph.literal("outputorder=breadthfirst"));
235
+ case 'nodesfirst': return p_.ss($, ($) => sh.ph.literal("outputorder=nodesfirst"));
236
+ case 'edgesfirst': return p_.ss($, ($) => sh.ph.literal("outputorder=edgesfirst"));
237
+ default: return p_.au($[0]);
238
238
  }
239
239
  }));
240
- case 'charset': return pt.ss($, ($) => sh.ph.composed([
240
+ case 'charset': return p_.ss($, ($) => sh.ph.composed([
241
241
  sh.ph.literal("charset="),
242
242
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
243
243
  ]));
244
- case 'clusterrank': return pt.ss($, ($) => pt.decide.state($, ($) => {
244
+ case 'clusterrank': return p_.ss($, ($) => p_.decide.state($, ($) => {
245
245
  switch ($[0]) {
246
- case 'local': return pt.ss($, ($) => sh.ph.literal("clusterrank=local"));
247
- case 'global': return pt.ss($, ($) => sh.ph.literal("clusterrank=global"));
248
- case 'none': return pt.ss($, ($) => sh.ph.literal("clusterrank=none"));
249
- default: return pt.au($[0]);
246
+ case 'local': return p_.ss($, ($) => sh.ph.literal("clusterrank=local"));
247
+ case 'global': return p_.ss($, ($) => sh.ph.literal("clusterrank=global"));
248
+ case 'none': return p_.ss($, ($) => sh.ph.literal("clusterrank=none"));
249
+ default: return p_.au($[0]);
250
250
  }
251
251
  }));
252
- case 'shape': return pt.ss($, ($) => pt.decide.state($, ($) => {
252
+ case 'shape': return p_.ss($, ($) => p_.decide.state($, ($) => {
253
253
  switch ($[0]) {
254
- case 'box': return pt.ss($, ($) => sh.ph.literal("shape=box"));
255
- case 'circle': return pt.ss($, ($) => sh.ph.literal("shape=circle"));
256
- case 'ellipse': return pt.ss($, ($) => sh.ph.literal("shape=ellipse"));
257
- case 'oval': return pt.ss($, ($) => sh.ph.literal("shape=oval"));
258
- case 'point': return pt.ss($, ($) => sh.ph.literal("shape=point"));
259
- case 'egg': return pt.ss($, ($) => sh.ph.literal("shape=egg"));
260
- case 'triangle': return pt.ss($, ($) => sh.ph.literal("shape=triangle"));
261
- case 'plaintext': return pt.ss($, ($) => sh.ph.literal("shape=plaintext"));
262
- case 'plain': return pt.ss($, ($) => sh.ph.literal("shape=plain"));
263
- case 'diamond': return pt.ss($, ($) => sh.ph.literal("shape=diamond"));
264
- case 'trapezium': return pt.ss($, ($) => sh.ph.literal("shape=trapezium"));
265
- case 'parallelogram': return pt.ss($, ($) => sh.ph.literal("shape=parallelogram"));
266
- case 'house': return pt.ss($, ($) => sh.ph.literal("shape=house"));
267
- case 'pentagon': return pt.ss($, ($) => sh.ph.literal("shape=pentagon"));
268
- case 'hexagon': return pt.ss($, ($) => sh.ph.literal("shape=hexagon"));
269
- case 'septagon': return pt.ss($, ($) => sh.ph.literal("shape=septagon"));
270
- case 'octagon': return pt.ss($, ($) => sh.ph.literal("shape=octagon"));
271
- case 'polygon': return pt.ss($, ($) => sh.ph.literal("shape=polygon"));
272
- case 'record': return pt.ss($, ($) => sh.ph.literal("shape=record"));
273
- case 'Mrecord': return pt.ss($, ($) => sh.ph.literal("shape=Mrecord"));
274
- case 'custom': return pt.ss($, ($) => sh.ph.composed([
254
+ case 'box': return p_.ss($, ($) => sh.ph.literal("shape=box"));
255
+ case 'circle': return p_.ss($, ($) => sh.ph.literal("shape=circle"));
256
+ case 'ellipse': return p_.ss($, ($) => sh.ph.literal("shape=ellipse"));
257
+ case 'oval': return p_.ss($, ($) => sh.ph.literal("shape=oval"));
258
+ case 'point': return p_.ss($, ($) => sh.ph.literal("shape=point"));
259
+ case 'egg': return p_.ss($, ($) => sh.ph.literal("shape=egg"));
260
+ case 'triangle': return p_.ss($, ($) => sh.ph.literal("shape=triangle"));
261
+ case 'plaintext': return p_.ss($, ($) => sh.ph.literal("shape=plaintext"));
262
+ case 'plain': return p_.ss($, ($) => sh.ph.literal("shape=plain"));
263
+ case 'diamond': return p_.ss($, ($) => sh.ph.literal("shape=diamond"));
264
+ case 'trapezium': return p_.ss($, ($) => sh.ph.literal("shape=trapezium"));
265
+ case 'parallelogram': return p_.ss($, ($) => sh.ph.literal("shape=parallelogram"));
266
+ case 'house': return p_.ss($, ($) => sh.ph.literal("shape=house"));
267
+ case 'pentagon': return p_.ss($, ($) => sh.ph.literal("shape=pentagon"));
268
+ case 'hexagon': return p_.ss($, ($) => sh.ph.literal("shape=hexagon"));
269
+ case 'septagon': return p_.ss($, ($) => sh.ph.literal("shape=septagon"));
270
+ case 'octagon': return p_.ss($, ($) => sh.ph.literal("shape=octagon"));
271
+ case 'polygon': return p_.ss($, ($) => sh.ph.literal("shape=polygon"));
272
+ case 'record': return p_.ss($, ($) => sh.ph.literal("shape=record"));
273
+ case 'Mrecord': return p_.ss($, ($) => sh.ph.literal("shape=Mrecord"));
274
+ case 'custom': return p_.ss($, ($) => sh.ph.composed([
275
275
  sh.ph.literal("shape="),
276
276
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
277
277
  ]));
278
- default: return pt.au($[0]);
278
+ default: return p_.au($[0]);
279
279
  }
280
280
  }));
281
- case 'width': return pt.ss($, ($) => sh.ph.composed([
281
+ case 'width': return p_.ss($, ($) => sh.ph.composed([
282
282
  sh.ph.literal("width="),
283
283
  sh.ph.serialize(t_primitives_to_list_of_characters.decimal($))
284
284
  ]));
285
- case 'height': return pt.ss($, ($) => sh.ph.composed([
285
+ case 'height': return p_.ss($, ($) => sh.ph.composed([
286
286
  sh.ph.literal("height="),
287
287
  sh.ph.serialize(t_primitives_to_list_of_characters.decimal($))
288
288
  ]));
289
- case 'fixedsize': return pt.ss($, ($) => sh.ph.literal($ ? "fixedsize=true" : "fixedsize=false"));
290
- case 'regular': return pt.ss($, ($) => sh.ph.literal($ ? "regular=true" : "regular=false"));
291
- case 'sides': return pt.ss($, ($) => sh.ph.composed([
289
+ case 'fixedsize': return p_.ss($, ($) => sh.ph.literal($ ? "fixedsize=true" : "fixedsize=false"));
290
+ case 'regular': return p_.ss($, ($) => sh.ph.literal($ ? "regular=true" : "regular=false"));
291
+ case 'sides': return p_.ss($, ($) => sh.ph.composed([
292
292
  sh.ph.literal("sides="),
293
293
  sh.ph.serialize(t_primitives_to_list_of_characters.decimal($))
294
294
  ]));
295
- case 'skew': return pt.ss($, ($) => sh.ph.composed([
295
+ case 'skew': return p_.ss($, ($) => sh.ph.composed([
296
296
  sh.ph.literal("skew="),
297
297
  sh.ph.serialize(t_primitives_to_list_of_characters.decimal($))
298
298
  ]));
299
- case 'distortion': return pt.ss($, ($) => sh.ph.composed([
299
+ case 'distortion': return p_.ss($, ($) => sh.ph.composed([
300
300
  sh.ph.literal("distortion="),
301
301
  sh.ph.serialize(t_primitives_to_list_of_characters.decimal($))
302
302
  ]));
303
- case 'orientation': return pt.ss($, ($) => sh.ph.composed([
303
+ case 'orientation': return p_.ss($, ($) => sh.ph.composed([
304
304
  sh.ph.literal("orientation="),
305
305
  sh.ph.serialize(t_primitives_to_list_of_characters.decimal($))
306
306
  ]));
307
- case 'peripheries': return pt.ss($, ($) => sh.ph.composed([
307
+ case 'peripheries': return p_.ss($, ($) => sh.ph.composed([
308
308
  sh.ph.literal("peripheries="),
309
309
  sh.ph.serialize(t_primitives_to_list_of_characters.decimal($))
310
310
  ]));
311
- case 'pin': return pt.ss($, ($) => sh.ph.literal($ ? "pin=true" : "pin=false"));
312
- case 'image': return pt.ss($, ($) => sh.ph.composed([
311
+ case 'pin': return p_.ss($, ($) => sh.ph.literal($ ? "pin=true" : "pin=false"));
312
+ case 'image': return p_.ss($, ($) => sh.ph.composed([
313
313
  sh.ph.literal("image="),
314
314
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
315
315
  ]));
316
- case 'imagepos': return pt.ss($, ($) => pt.decide.state($, ($) => {
316
+ case 'imagepos': return p_.ss($, ($) => p_.decide.state($, ($) => {
317
317
  switch ($[0]) {
318
- case 'tl': return pt.ss($, ($) => sh.ph.literal("imagepos=tl"));
319
- case 'tc': return pt.ss($, ($) => sh.ph.literal("imagepos=tc"));
320
- case 'tr': return pt.ss($, ($) => sh.ph.literal("imagepos=tr"));
321
- case 'ml': return pt.ss($, ($) => sh.ph.literal("imagepos=ml"));
322
- case 'mc': return pt.ss($, ($) => sh.ph.literal("imagepos=mc"));
323
- case 'mr': return pt.ss($, ($) => sh.ph.literal("imagepos=mr"));
324
- case 'bl': return pt.ss($, ($) => sh.ph.literal("imagepos=bl"));
325
- case 'bc': return pt.ss($, ($) => sh.ph.literal("imagepos=bc"));
326
- case 'br': return pt.ss($, ($) => sh.ph.literal("imagepos=br"));
327
- default: return pt.au($[0]);
318
+ case 'tl': return p_.ss($, ($) => sh.ph.literal("imagepos=tl"));
319
+ case 'tc': return p_.ss($, ($) => sh.ph.literal("imagepos=tc"));
320
+ case 'tr': return p_.ss($, ($) => sh.ph.literal("imagepos=tr"));
321
+ case 'ml': return p_.ss($, ($) => sh.ph.literal("imagepos=ml"));
322
+ case 'mc': return p_.ss($, ($) => sh.ph.literal("imagepos=mc"));
323
+ case 'mr': return p_.ss($, ($) => sh.ph.literal("imagepos=mr"));
324
+ case 'bl': return p_.ss($, ($) => sh.ph.literal("imagepos=bl"));
325
+ case 'bc': return p_.ss($, ($) => sh.ph.literal("imagepos=bc"));
326
+ case 'br': return p_.ss($, ($) => sh.ph.literal("imagepos=br"));
327
+ default: return p_.au($[0]);
328
328
  }
329
329
  }));
330
- case 'imagescale': return pt.ss($, ($) => pt.decide.state($, ($) => {
330
+ case 'imagescale': return p_.ss($, ($) => p_.decide.state($, ($) => {
331
331
  switch ($[0]) {
332
- case 'false': return pt.ss($, ($) => sh.ph.literal("imagescale=false"));
333
- case 'true': return pt.ss($, ($) => sh.ph.literal("imagescale=true"));
334
- case 'width': return pt.ss($, ($) => sh.ph.literal("imagescale=width"));
335
- case 'height': return pt.ss($, ($) => sh.ph.literal("imagescale=height"));
336
- case 'both': return pt.ss($, ($) => sh.ph.literal("imagescale=both"));
337
- default: return pt.au($[0]);
332
+ case 'false': return p_.ss($, ($) => sh.ph.literal("imagescale=false"));
333
+ case 'true': return p_.ss($, ($) => sh.ph.literal("imagescale=true"));
334
+ case 'width': return p_.ss($, ($) => sh.ph.literal("imagescale=width"));
335
+ case 'height': return p_.ss($, ($) => sh.ph.literal("imagescale=height"));
336
+ case 'both': return p_.ss($, ($) => sh.ph.literal("imagescale=both"));
337
+ default: return p_.au($[0]);
338
338
  }
339
339
  }));
340
- case 'group': return pt.ss($, ($) => sh.ph.composed([
340
+ case 'group': return p_.ss($, ($) => sh.ph.composed([
341
341
  sh.ph.literal("group="),
342
342
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
343
343
  ]));
344
- case 'sortv': return pt.ss($, ($) => sh.ph.composed([
344
+ case 'sortv': return p_.ss($, ($) => sh.ph.composed([
345
345
  sh.ph.literal("sortv="),
346
346
  sh.ph.serialize(t_primitives_to_list_of_characters.decimal($))
347
347
  ]));
348
- case 'area': return pt.ss($, ($) => sh.ph.composed([
348
+ case 'area': return p_.ss($, ($) => sh.ph.composed([
349
349
  sh.ph.literal("area="),
350
350
  sh.ph.serialize(t_primitives_to_list_of_characters.decimal($))
351
351
  ]));
352
- case 'z': return pt.ss($, ($) => sh.ph.composed([
352
+ case 'z': return p_.ss($, ($) => sh.ph.composed([
353
353
  sh.ph.literal("z="),
354
354
  sh.ph.serialize(t_primitives_to_list_of_characters.decimal($))
355
355
  ]));
356
- case 'margin': return pt.ss($, ($) => sh.ph.composed([
356
+ case 'margin': return p_.ss($, ($) => sh.ph.composed([
357
357
  sh.ph.literal("margin="),
358
358
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
359
359
  ]));
360
- case 'arrowhead': return pt.ss($, ($) => pt.decide.state($, ($) => {
360
+ case 'arrowhead': return p_.ss($, ($) => p_.decide.state($, ($) => {
361
361
  switch ($[0]) {
362
- case 'normal': return pt.ss($, ($) => sh.ph.literal("arrowhead=normal"));
363
- case 'box': return pt.ss($, ($) => sh.ph.literal("arrowhead=box"));
364
- case 'crow': return pt.ss($, ($) => sh.ph.literal("arrowhead=crow"));
365
- case 'diamond': return pt.ss($, ($) => sh.ph.literal("arrowhead=diamond"));
366
- case 'dot': return pt.ss($, ($) => sh.ph.literal("arrowhead=dot"));
367
- case 'inv': return pt.ss($, ($) => sh.ph.literal("arrowhead=inv"));
368
- case 'none': return pt.ss($, ($) => sh.ph.literal("arrowhead=none"));
369
- case 'tee': return pt.ss($, ($) => sh.ph.literal("arrowhead=tee"));
370
- case 'vee': return pt.ss($, ($) => sh.ph.literal("arrowhead=vee"));
371
- case 'open': return pt.ss($, ($) => sh.ph.literal("arrowhead=open"));
372
- case 'halfopen': return pt.ss($, ($) => sh.ph.literal("arrowhead=halfopen"));
373
- case 'empty': return pt.ss($, ($) => sh.ph.literal("arrowhead=empty"));
374
- case 'invempty': return pt.ss($, ($) => sh.ph.literal("arrowhead=invempty"));
375
- case 'odiamond': return pt.ss($, ($) => sh.ph.literal("arrowhead=odiamond"));
376
- case 'odot': return pt.ss($, ($) => sh.ph.literal("arrowhead=odot"));
377
- case 'obox': return pt.ss($, ($) => sh.ph.literal("arrowhead=obox"));
378
- case 'custom': return pt.ss($, ($) => sh.ph.composed([
362
+ case 'normal': return p_.ss($, ($) => sh.ph.literal("arrowhead=normal"));
363
+ case 'box': return p_.ss($, ($) => sh.ph.literal("arrowhead=box"));
364
+ case 'crow': return p_.ss($, ($) => sh.ph.literal("arrowhead=crow"));
365
+ case 'diamond': return p_.ss($, ($) => sh.ph.literal("arrowhead=diamond"));
366
+ case 'dot': return p_.ss($, ($) => sh.ph.literal("arrowhead=dot"));
367
+ case 'inv': return p_.ss($, ($) => sh.ph.literal("arrowhead=inv"));
368
+ case 'none': return p_.ss($, ($) => sh.ph.literal("arrowhead=none"));
369
+ case 'tee': return p_.ss($, ($) => sh.ph.literal("arrowhead=tee"));
370
+ case 'vee': return p_.ss($, ($) => sh.ph.literal("arrowhead=vee"));
371
+ case 'open': return p_.ss($, ($) => sh.ph.literal("arrowhead=open"));
372
+ case 'halfopen': return p_.ss($, ($) => sh.ph.literal("arrowhead=halfopen"));
373
+ case 'empty': return p_.ss($, ($) => sh.ph.literal("arrowhead=empty"));
374
+ case 'invempty': return p_.ss($, ($) => sh.ph.literal("arrowhead=invempty"));
375
+ case 'odiamond': return p_.ss($, ($) => sh.ph.literal("arrowhead=odiamond"));
376
+ case 'odot': return p_.ss($, ($) => sh.ph.literal("arrowhead=odot"));
377
+ case 'obox': return p_.ss($, ($) => sh.ph.literal("arrowhead=obox"));
378
+ case 'custom': return p_.ss($, ($) => sh.ph.composed([
379
379
  sh.ph.literal("arrowhead="),
380
380
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
381
381
  ]));
382
- default: return pt.au($[0]);
382
+ default: return p_.au($[0]);
383
383
  }
384
384
  }));
385
- case 'arrowtail': return pt.ss($, ($) => pt.decide.state($, ($) => {
385
+ case 'arrowtail': return p_.ss($, ($) => p_.decide.state($, ($) => {
386
386
  switch ($[0]) {
387
- case 'normal': return pt.ss($, ($) => sh.ph.literal("arrowtail=normal"));
388
- case 'box': return pt.ss($, ($) => sh.ph.literal("arrowtail=box"));
389
- case 'crow': return pt.ss($, ($) => sh.ph.literal("arrowtail=crow"));
390
- case 'diamond': return pt.ss($, ($) => sh.ph.literal("arrowtail=diamond"));
391
- case 'dot': return pt.ss($, ($) => sh.ph.literal("arrowtail=dot"));
392
- case 'inv': return pt.ss($, ($) => sh.ph.literal("arrowtail=inv"));
393
- case 'none': return pt.ss($, ($) => sh.ph.literal("arrowtail=none"));
394
- case 'tee': return pt.ss($, ($) => sh.ph.literal("arrowtail=tee"));
395
- case 'vee': return pt.ss($, ($) => sh.ph.literal("arrowtail=vee"));
396
- case 'open': return pt.ss($, ($) => sh.ph.literal("arrowtail=open"));
397
- case 'halfopen': return pt.ss($, ($) => sh.ph.literal("arrowtail=halfopen"));
398
- case 'empty': return pt.ss($, ($) => sh.ph.literal("arrowtail=empty"));
399
- case 'invempty': return pt.ss($, ($) => sh.ph.literal("arrowtail=invempty"));
400
- case 'odiamond': return pt.ss($, ($) => sh.ph.literal("arrowtail=odiamond"));
401
- case 'odot': return pt.ss($, ($) => sh.ph.literal("arrowtail=odot"));
402
- case 'obox': return pt.ss($, ($) => sh.ph.literal("arrowtail=obox"));
403
- case 'custom': return pt.ss($, ($) => sh.ph.composed([
387
+ case 'normal': return p_.ss($, ($) => sh.ph.literal("arrowtail=normal"));
388
+ case 'box': return p_.ss($, ($) => sh.ph.literal("arrowtail=box"));
389
+ case 'crow': return p_.ss($, ($) => sh.ph.literal("arrowtail=crow"));
390
+ case 'diamond': return p_.ss($, ($) => sh.ph.literal("arrowtail=diamond"));
391
+ case 'dot': return p_.ss($, ($) => sh.ph.literal("arrowtail=dot"));
392
+ case 'inv': return p_.ss($, ($) => sh.ph.literal("arrowtail=inv"));
393
+ case 'none': return p_.ss($, ($) => sh.ph.literal("arrowtail=none"));
394
+ case 'tee': return p_.ss($, ($) => sh.ph.literal("arrowtail=tee"));
395
+ case 'vee': return p_.ss($, ($) => sh.ph.literal("arrowtail=vee"));
396
+ case 'open': return p_.ss($, ($) => sh.ph.literal("arrowtail=open"));
397
+ case 'halfopen': return p_.ss($, ($) => sh.ph.literal("arrowtail=halfopen"));
398
+ case 'empty': return p_.ss($, ($) => sh.ph.literal("arrowtail=empty"));
399
+ case 'invempty': return p_.ss($, ($) => sh.ph.literal("arrowtail=invempty"));
400
+ case 'odiamond': return p_.ss($, ($) => sh.ph.literal("arrowtail=odiamond"));
401
+ case 'odot': return p_.ss($, ($) => sh.ph.literal("arrowtail=odot"));
402
+ case 'obox': return p_.ss($, ($) => sh.ph.literal("arrowtail=obox"));
403
+ case 'custom': return p_.ss($, ($) => sh.ph.composed([
404
404
  sh.ph.literal("arrowtail="),
405
405
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
406
406
  ]));
407
- default: return pt.au($[0]);
407
+ default: return p_.au($[0]);
408
408
  }
409
409
  }));
410
- case 'arrowsize': return pt.ss($, ($) => sh.ph.composed([
410
+ case 'arrowsize': return p_.ss($, ($) => sh.ph.composed([
411
411
  sh.ph.literal("arrowsize="),
412
412
  sh.ph.serialize(t_primitives_to_list_of_characters.decimal($))
413
413
  ]));
414
- case 'dir': return pt.ss($, ($) => pt.decide.state($, ($) => {
414
+ case 'dir': return p_.ss($, ($) => p_.decide.state($, ($) => {
415
415
  switch ($[0]) {
416
- case 'forward': return pt.ss($, ($) => sh.ph.literal("dir=forward"));
417
- case 'back': return pt.ss($, ($) => sh.ph.literal("dir=back"));
418
- case 'both': return pt.ss($, ($) => sh.ph.literal("dir=both"));
419
- case 'none': return pt.ss($, ($) => sh.ph.literal("dir=none"));
420
- default: return pt.au($[0]);
416
+ case 'forward': return p_.ss($, ($) => sh.ph.literal("dir=forward"));
417
+ case 'back': return p_.ss($, ($) => sh.ph.literal("dir=back"));
418
+ case 'both': return p_.ss($, ($) => sh.ph.literal("dir=both"));
419
+ case 'none': return p_.ss($, ($) => sh.ph.literal("dir=none"));
420
+ default: return p_.au($[0]);
421
421
  }
422
422
  }));
423
- case 'headlabel': return pt.ss($, ($) => sh.ph.composed([
423
+ case 'headlabel': return p_.ss($, ($) => sh.ph.composed([
424
424
  sh.ph.literal("headlabel="),
425
425
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
426
426
  ]));
427
- case 'taillabel': return pt.ss($, ($) => sh.ph.composed([
427
+ case 'taillabel': return p_.ss($, ($) => sh.ph.composed([
428
428
  sh.ph.literal("taillabel="),
429
429
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
430
430
  ]));
431
- case 'labelfontcolor': return pt.ss($, ($) => sh.ph.composed([
431
+ case 'labelfontcolor': return p_.ss($, ($) => sh.ph.composed([
432
432
  sh.ph.literal("labelfontcolor="),
433
433
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
434
434
  ]));
435
- case 'labelfontname': return pt.ss($, ($) => sh.ph.composed([
435
+ case 'labelfontname': return p_.ss($, ($) => sh.ph.composed([
436
436
  sh.ph.literal("labelfontname="),
437
437
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
438
438
  ]));
439
- case 'labelfontsize': return pt.ss($, ($) => sh.ph.composed([
439
+ case 'labelfontsize': return p_.ss($, ($) => sh.ph.composed([
440
440
  sh.ph.literal("labelfontsize="),
441
441
  sh.ph.serialize(t_primitives_to_list_of_characters.decimal($))
442
442
  ]));
443
- case 'labelangle': return pt.ss($, ($) => sh.ph.composed([
443
+ case 'labelangle': return p_.ss($, ($) => sh.ph.composed([
444
444
  sh.ph.literal("labelangle="),
445
445
  sh.ph.serialize(t_primitives_to_list_of_characters.decimal($))
446
446
  ]));
447
- case 'labeldistance': return pt.ss($, ($) => sh.ph.composed([
447
+ case 'labeldistance': return p_.ss($, ($) => sh.ph.composed([
448
448
  sh.ph.literal("labeldistance="),
449
449
  sh.ph.serialize(t_primitives_to_list_of_characters.decimal($))
450
450
  ]));
451
- case 'labelfloat': return pt.ss($, ($) => sh.ph.literal($ ? "labelfloat=true" : "labelfloat=false"));
452
- case 'weight': return pt.ss($, ($) => sh.ph.composed([
451
+ case 'labelfloat': return p_.ss($, ($) => sh.ph.literal($ ? "labelfloat=true" : "labelfloat=false"));
452
+ case 'weight': return p_.ss($, ($) => sh.ph.composed([
453
453
  sh.ph.literal("weight="),
454
454
  sh.ph.serialize(t_primitives_to_list_of_characters.decimal($))
455
455
  ]));
456
- case 'len': return pt.ss($, ($) => sh.ph.composed([
456
+ case 'len': return p_.ss($, ($) => sh.ph.composed([
457
457
  sh.ph.literal("len="),
458
458
  sh.ph.serialize(t_primitives_to_list_of_characters.decimal($))
459
459
  ]));
460
- case 'minlen': return pt.ss($, ($) => sh.ph.composed([
460
+ case 'minlen': return p_.ss($, ($) => sh.ph.composed([
461
461
  sh.ph.literal("minlen="),
462
462
  sh.ph.serialize(t_primitives_to_list_of_characters.decimal($))
463
463
  ]));
464
- case 'constraint': return pt.ss($, ($) => sh.ph.literal($ ? "constraint=true" : "constraint=false"));
465
- case 'decorate': return pt.ss($, ($) => sh.ph.literal($ ? "decorate=true" : "decorate=false"));
466
- case 'headport': return pt.ss($, ($) => pt.decide.state($, ($) => {
464
+ case 'constraint': return p_.ss($, ($) => sh.ph.literal($ ? "constraint=true" : "constraint=false"));
465
+ case 'decorate': return p_.ss($, ($) => sh.ph.literal($ ? "decorate=true" : "decorate=false"));
466
+ case 'headport': return p_.ss($, ($) => p_.decide.state($, ($) => {
467
467
  switch ($[0]) {
468
- case 'center': return pt.ss($, ($) => sh.ph.literal("headport=center"));
469
- case 'n': return pt.ss($, ($) => sh.ph.literal("headport=n"));
470
- case 'ne': return pt.ss($, ($) => sh.ph.literal("headport=ne"));
471
- case 'e': return pt.ss($, ($) => sh.ph.literal("headport=e"));
472
- case 'se': return pt.ss($, ($) => sh.ph.literal("headport=se"));
473
- case 's': return pt.ss($, ($) => sh.ph.literal("headport=s"));
474
- case 'sw': return pt.ss($, ($) => sh.ph.literal("headport=sw"));
475
- case 'w': return pt.ss($, ($) => sh.ph.literal("headport=w"));
476
- case 'nw': return pt.ss($, ($) => sh.ph.literal("headport=nw"));
477
- case 'custom': return pt.ss($, ($) => sh.ph.composed([
468
+ case 'center': return p_.ss($, ($) => sh.ph.literal("headport=center"));
469
+ case 'n': return p_.ss($, ($) => sh.ph.literal("headport=n"));
470
+ case 'ne': return p_.ss($, ($) => sh.ph.literal("headport=ne"));
471
+ case 'e': return p_.ss($, ($) => sh.ph.literal("headport=e"));
472
+ case 'se': return p_.ss($, ($) => sh.ph.literal("headport=se"));
473
+ case 's': return p_.ss($, ($) => sh.ph.literal("headport=s"));
474
+ case 'sw': return p_.ss($, ($) => sh.ph.literal("headport=sw"));
475
+ case 'w': return p_.ss($, ($) => sh.ph.literal("headport=w"));
476
+ case 'nw': return p_.ss($, ($) => sh.ph.literal("headport=nw"));
477
+ case 'custom': return p_.ss($, ($) => sh.ph.composed([
478
478
  sh.ph.literal("headport="),
479
479
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
480
480
  ]));
481
- default: return pt.au($[0]);
481
+ default: return p_.au($[0]);
482
482
  }
483
483
  }));
484
- case 'tailport': return pt.ss($, ($) => pt.decide.state($, ($) => {
484
+ case 'tailport': return p_.ss($, ($) => p_.decide.state($, ($) => {
485
485
  switch ($[0]) {
486
- case 'center': return pt.ss($, ($) => sh.ph.literal("tailport=center"));
487
- case 'n': return pt.ss($, ($) => sh.ph.literal("tailport=n"));
488
- case 'ne': return pt.ss($, ($) => sh.ph.literal("tailport=ne"));
489
- case 'e': return pt.ss($, ($) => sh.ph.literal("tailport=e"));
490
- case 'se': return pt.ss($, ($) => sh.ph.literal("tailport=se"));
491
- case 's': return pt.ss($, ($) => sh.ph.literal("tailport=s"));
492
- case 'sw': return pt.ss($, ($) => sh.ph.literal("tailport=sw"));
493
- case 'w': return pt.ss($, ($) => sh.ph.literal("tailport=w"));
494
- case 'nw': return pt.ss($, ($) => sh.ph.literal("tailport=nw"));
495
- case 'custom': return pt.ss($, ($) => sh.ph.composed([
486
+ case 'center': return p_.ss($, ($) => sh.ph.literal("tailport=center"));
487
+ case 'n': return p_.ss($, ($) => sh.ph.literal("tailport=n"));
488
+ case 'ne': return p_.ss($, ($) => sh.ph.literal("tailport=ne"));
489
+ case 'e': return p_.ss($, ($) => sh.ph.literal("tailport=e"));
490
+ case 'se': return p_.ss($, ($) => sh.ph.literal("tailport=se"));
491
+ case 's': return p_.ss($, ($) => sh.ph.literal("tailport=s"));
492
+ case 'sw': return p_.ss($, ($) => sh.ph.literal("tailport=sw"));
493
+ case 'w': return p_.ss($, ($) => sh.ph.literal("tailport=w"));
494
+ case 'nw': return p_.ss($, ($) => sh.ph.literal("tailport=nw"));
495
+ case 'custom': return p_.ss($, ($) => sh.ph.composed([
496
496
  sh.ph.literal("tailport="),
497
497
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
498
498
  ]));
499
- default: return pt.au($[0]);
499
+ default: return p_.au($[0]);
500
500
  }
501
501
  }));
502
- case 'headclip': return pt.ss($, ($) => sh.ph.literal($ ? "headclip=true" : "headclip=false"));
503
- case 'tailclip': return pt.ss($, ($) => sh.ph.literal($ ? "tailclip=true" : "tailclip=false"));
504
- case 'lhead': return pt.ss($, ($) => sh.ph.composed([
502
+ case 'headclip': return p_.ss($, ($) => sh.ph.literal($ ? "headclip=true" : "headclip=false"));
503
+ case 'tailclip': return p_.ss($, ($) => sh.ph.literal($ ? "tailclip=true" : "tailclip=false"));
504
+ case 'lhead': return p_.ss($, ($) => sh.ph.composed([
505
505
  sh.ph.literal("lhead="),
506
506
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
507
507
  ]));
508
- case 'ltail': return pt.ss($, ($) => sh.ph.composed([
508
+ case 'ltail': return p_.ss($, ($) => sh.ph.composed([
509
509
  sh.ph.literal("ltail="),
510
510
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
511
511
  ]));
512
- case 'samehead': return pt.ss($, ($) => sh.ph.composed([
512
+ case 'samehead': return p_.ss($, ($) => sh.ph.composed([
513
513
  sh.ph.literal("samehead="),
514
514
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
515
515
  ]));
516
- case 'sametail': return pt.ss($, ($) => sh.ph.composed([
516
+ case 'sametail': return p_.ss($, ($) => sh.ph.composed([
517
517
  sh.ph.literal("sametail="),
518
518
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
519
519
  ]));
520
- case 'edgeURL': return pt.ss($, ($) => sh.ph.composed([
520
+ case 'edgeURL': return p_.ss($, ($) => sh.ph.composed([
521
521
  sh.ph.literal("edgeURL="),
522
522
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
523
523
  ]));
524
- case 'headURL': return pt.ss($, ($) => sh.ph.composed([
524
+ case 'headURL': return p_.ss($, ($) => sh.ph.composed([
525
525
  sh.ph.literal("headURL="),
526
526
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
527
527
  ]));
528
- case 'tailURL': return pt.ss($, ($) => sh.ph.composed([
528
+ case 'tailURL': return p_.ss($, ($) => sh.ph.composed([
529
529
  sh.ph.literal("tailURL="),
530
530
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
531
531
  ]));
532
- case 'labelURL': return pt.ss($, ($) => sh.ph.composed([
532
+ case 'labelURL': return p_.ss($, ($) => sh.ph.composed([
533
533
  sh.ph.literal("labelURL="),
534
534
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
535
535
  ]));
536
- case 'edgehref': return pt.ss($, ($) => sh.ph.composed([
536
+ case 'edgehref': return p_.ss($, ($) => sh.ph.composed([
537
537
  sh.ph.literal("edgehref="),
538
538
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
539
539
  ]));
540
- case 'headhref': return pt.ss($, ($) => sh.ph.composed([
540
+ case 'headhref': return p_.ss($, ($) => sh.ph.composed([
541
541
  sh.ph.literal("headhref="),
542
542
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
543
543
  ]));
544
- case 'tailhref': return pt.ss($, ($) => sh.ph.composed([
544
+ case 'tailhref': return p_.ss($, ($) => sh.ph.composed([
545
545
  sh.ph.literal("tailhref="),
546
546
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
547
547
  ]));
548
- case 'labelhref': return pt.ss($, ($) => sh.ph.composed([
548
+ case 'labelhref': return p_.ss($, ($) => sh.ph.composed([
549
549
  sh.ph.literal("labelhref="),
550
550
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
551
551
  ]));
552
- case 'edgetarget': return pt.ss($, ($) => sh.ph.composed([
552
+ case 'edgetarget': return p_.ss($, ($) => sh.ph.composed([
553
553
  sh.ph.literal("edgetarget="),
554
554
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
555
555
  ]));
556
- case 'headtarget': return pt.ss($, ($) => sh.ph.composed([
556
+ case 'headtarget': return p_.ss($, ($) => sh.ph.composed([
557
557
  sh.ph.literal("headtarget="),
558
558
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
559
559
  ]));
560
- case 'tailtarget': return pt.ss($, ($) => sh.ph.composed([
560
+ case 'tailtarget': return p_.ss($, ($) => sh.ph.composed([
561
561
  sh.ph.literal("tailtarget="),
562
562
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
563
563
  ]));
564
- case 'edgetooltip': return pt.ss($, ($) => sh.ph.composed([
564
+ case 'edgetooltip': return p_.ss($, ($) => sh.ph.composed([
565
565
  sh.ph.literal("edgetooltip="),
566
566
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
567
567
  ]));
568
- case 'headtooltip': return pt.ss($, ($) => sh.ph.composed([
568
+ case 'headtooltip': return p_.ss($, ($) => sh.ph.composed([
569
569
  sh.ph.literal("headtooltip="),
570
570
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
571
571
  ]));
572
- case 'tailtooltip': return pt.ss($, ($) => sh.ph.composed([
572
+ case 'tailtooltip': return p_.ss($, ($) => sh.ph.composed([
573
573
  sh.ph.literal("tailtooltip="),
574
574
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
575
575
  ]));
576
- case 'labeltooltip': return pt.ss($, ($) => sh.ph.composed([
576
+ case 'labeltooltip': return p_.ss($, ($) => sh.ph.composed([
577
577
  sh.ph.literal("labeltooltip="),
578
578
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
579
579
  ]));
580
- case 'radius': return pt.ss($, ($) => sh.ph.composed([
580
+ case 'radius': return p_.ss($, ($) => sh.ph.composed([
581
581
  sh.ph.literal("radius="),
582
582
  sh.ph.serialize(t_primitives_to_list_of_characters.decimal($))
583
583
  ]));
584
- case 'splines': return pt.ss($, ($) => pt.decide.state($, ($) => {
584
+ case 'splines': return p_.ss($, ($) => p_.decide.state($, ($) => {
585
585
  switch ($[0]) {
586
- case 'true': return pt.ss($, ($) => sh.ph.literal("splines=true"));
587
- case 'false': return pt.ss($, ($) => sh.ph.literal("splines=false"));
588
- case 'none': return pt.ss($, ($) => sh.ph.literal("splines=none"));
589
- case 'line': return pt.ss($, ($) => sh.ph.literal("splines=line"));
590
- case 'spline': return pt.ss($, ($) => sh.ph.literal("splines=spline"));
591
- case 'polyline': return pt.ss($, ($) => sh.ph.literal("splines=polyline"));
592
- case 'ortho': return pt.ss($, ($) => sh.ph.literal("splines=ortho"));
593
- case 'curved': return pt.ss($, ($) => sh.ph.literal("splines=curved"));
594
- case 'compound': return pt.ss($, ($) => sh.ph.literal("splines=compound"));
595
- default: return pt.au($[0]);
586
+ case 'true': return p_.ss($, ($) => sh.ph.literal("splines=true"));
587
+ case 'false': return p_.ss($, ($) => sh.ph.literal("splines=false"));
588
+ case 'none': return p_.ss($, ($) => sh.ph.literal("splines=none"));
589
+ case 'line': return p_.ss($, ($) => sh.ph.literal("splines=line"));
590
+ case 'spline': return p_.ss($, ($) => sh.ph.literal("splines=spline"));
591
+ case 'polyline': return p_.ss($, ($) => sh.ph.literal("splines=polyline"));
592
+ case 'ortho': return p_.ss($, ($) => sh.ph.literal("splines=ortho"));
593
+ case 'curved': return p_.ss($, ($) => sh.ph.literal("splines=curved"));
594
+ case 'compound': return p_.ss($, ($) => sh.ph.literal("splines=compound"));
595
+ default: return p_.au($[0]);
596
596
  }
597
597
  }));
598
- case 'pos': return pt.ss($, ($) => sh.ph.composed([
598
+ case 'pos': return p_.ss($, ($) => sh.ph.composed([
599
599
  sh.ph.literal("pos="),
600
600
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
601
601
  ]));
602
- case 'xlabel': return pt.ss($, ($) => sh.ph.composed([
602
+ case 'xlabel': return p_.ss($, ($) => sh.ph.composed([
603
603
  sh.ph.literal("xlabel="),
604
604
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
605
605
  ]));
606
- case 'layer': return pt.ss($, ($) => sh.ph.composed([
606
+ case 'layer': return p_.ss($, ($) => sh.ph.composed([
607
607
  sh.ph.literal("layer="),
608
608
  sh.ph.serialize(t_primitives_to_list_of_characters.quoted($))
609
609
  ]));
610
- default: return pt.au($[0]);
610
+ default: return p_.au($[0]);
611
611
  }
612
612
  })
613
613
  ])));