pareto-graphviz 0.2.21 → 0.2.22

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 (38) hide show
  1. package/dist/implementation/generated/liana/schemas/attributes/transformers/astn_sealed_target.js +77 -41
  2. package/dist/implementation/generated/liana/schemas/file_structure/transformers/astn_sealed_target.js +1 -1
  3. package/dist/implementation/generated/liana/schemas/high_level/transformers/astn_sealed_target.js +1 -1
  4. package/dist/implementation/generated/liana/schemas/high_level_simple/transformers/astn_sealed_target.js +1 -1
  5. package/dist/implementation/generated/liana/schemas/html/transformers/astn_sealed_target.js +9 -10
  6. package/dist/implementation/generated/liana/schemas/low_level/transformers/astn_sealed_target.js +4 -6
  7. package/dist/implementation/generated/liana/schemas/xml/transformers/astn_sealed_target.js +1 -1
  8. package/package.json +4 -4
  9. package/dist/implementation/generated/liana/schemas/attributes/refiners/astn_parse_tree.d.ts +0 -2
  10. package/dist/implementation/generated/liana/schemas/attributes/refiners/astn_parse_tree.js +0 -663
  11. package/dist/implementation/generated/liana/schemas/attributes/refiners/list_of_characters.d.ts +0 -2
  12. package/dist/implementation/generated/liana/schemas/attributes/refiners/list_of_characters.js +0 -44
  13. package/dist/implementation/generated/liana/schemas/file_structure/refiners/astn_parse_tree.d.ts +0 -2
  14. package/dist/implementation/generated/liana/schemas/file_structure/refiners/astn_parse_tree.js +0 -55
  15. package/dist/implementation/generated/liana/schemas/file_structure/refiners/list_of_characters.d.ts +0 -2
  16. package/dist/implementation/generated/liana/schemas/file_structure/refiners/list_of_characters.js +0 -44
  17. package/dist/implementation/generated/liana/schemas/high_level/refiners/astn_parse_tree.d.ts +0 -4
  18. package/dist/implementation/generated/liana/schemas/high_level/refiners/astn_parse_tree.js +0 -152
  19. package/dist/implementation/generated/liana/schemas/high_level/refiners/list_of_characters.d.ts +0 -4
  20. package/dist/implementation/generated/liana/schemas/high_level/refiners/list_of_characters.js +0 -54
  21. package/dist/implementation/generated/liana/schemas/high_level_simple/refiners/astn_parse_tree.d.ts +0 -2
  22. package/dist/implementation/generated/liana/schemas/high_level_simple/refiners/astn_parse_tree.js +0 -70
  23. package/dist/implementation/generated/liana/schemas/high_level_simple/refiners/list_of_characters.d.ts +0 -2
  24. package/dist/implementation/generated/liana/schemas/high_level_simple/refiners/list_of_characters.js +0 -44
  25. package/dist/implementation/generated/liana/schemas/html/refiners/astn_parse_tree.d.ts +0 -6
  26. package/dist/implementation/generated/liana/schemas/html/refiners/astn_parse_tree.js +0 -237
  27. package/dist/implementation/generated/liana/schemas/html/refiners/list_of_characters.d.ts +0 -6
  28. package/dist/implementation/generated/liana/schemas/html/refiners/list_of_characters.js +0 -64
  29. package/dist/implementation/generated/liana/schemas/low_level/refiners/astn_parse_tree.d.ts +0 -8
  30. package/dist/implementation/generated/liana/schemas/low_level/refiners/astn_parse_tree.js +0 -190
  31. package/dist/implementation/generated/liana/schemas/low_level/refiners/list_of_characters.d.ts +0 -8
  32. package/dist/implementation/generated/liana/schemas/low_level/refiners/list_of_characters.js +0 -74
  33. package/dist/implementation/generated/liana/schemas/xml/refiners/astn_parse_tree.d.ts +0 -6
  34. package/dist/implementation/generated/liana/schemas/xml/refiners/astn_parse_tree.js +0 -129
  35. package/dist/implementation/generated/liana/schemas/xml/refiners/list_of_characters.d.ts +0 -6
  36. package/dist/implementation/generated/liana/schemas/xml/refiners/list_of_characters.js +0 -64
  37. package/dist/implementation/manual/transformers/high_level/fountain_pen_old.d.ts +0 -0
  38. package/dist/implementation/manual/transformers/high_level/fountain_pen_old.js +0 -158
@@ -1,158 +0,0 @@
1
- "use strict";
2
- // import * as _p from 'pareto-core/dist/assign'
3
- // import * as _pdev from 'pareto-core-dev'
4
- // import * as _pi from 'pareto-core/dist/interface'
5
- // import * as d_in from "../../../../../interface/generated/liana/schemas/graphviz_high_level/resolved"
6
- // import * as d_out from "pareto-fountain-pen/dist/interface/generated/liana/schemas/block/unresolved"
7
- // import {
8
- // b, l, block,
9
- // } from "pareto-fountain-pen/dist/shorthands/prose"
10
- // import { impure, pure } from "pareto-standard-operations"
11
- // const op = {
12
- // 'enrich list elements with position information': impure.list['enrich with position information'],
13
- // 'dictionary to list, sorted by code point': impure.dictionary['to list, sorted by code point'],
14
- // 'add element': pure.list['extend with element'],
15
- // 'filter': pure.dictionary.filter,
16
- // 'serialize with quote delimiter': impure.text['serialize with quote delimiter'],
17
- // 'is equal to': pure.list['is equal to'],
18
- // 'is empty': impure.dictionary['is empty'],
19
- // }
20
- // export const Graph = ($: d_in.Graph): d_out.Block => {
21
- // return block([
22
- // sh.g.nested_block([
23
- // sh.ph.literal("strict "),
24
- // pa.sg($.type, ($) => {
25
- // switch ($[0]) {
26
- // case 'directed': return pa.ss($, () => sh.ph.literal("digraph "))
27
- // case 'undirected': return pa.ss($, () => sh.ph.literal("graph "))
28
- // default: return pa.au($[0])
29
- // }
30
- // }),
31
- // $.name.__decide(
32
- // ($) => sh.ph.composed([
33
- // sh.b.snippet(op['serialize with quote delimiter']($)),
34
- // sh.ph.literal(" "),
35
- // ]),
36
- // () => sh.ph.nothing()
37
- // ),
38
- // sh.ph.literal("{"),
39
- // sh.ph.indent([
40
- // Graph_Tree($['node tree'], {
41
- // 'nodes': $.nodes,
42
- // 'path': pa.list.literal([]),
43
- // }),
44
- // sh.g.sub(op['dictionary to list, sorted by code point']($.nodes).__d_map(($) => {
45
- // return sh.g.nested_block([
46
- // sh.b.snippet(op['serialize with quote delimiter']($.key)),
47
- // ])
48
- // })),
49
- // pa.sg($.type, ($) => {
50
- // switch ($[0]) {
51
- // case 'directed': return pa.ss($, ($) => sh.g.sub(op['dictionary to list, sorted by code point']($['edge specifications']['start nodes']).__d_map(($) => {
52
- // const key = $.key
53
- // return sh.g.sub($.value.edges.__d_map(($) => {
54
- // return sh.g.nested_block([
55
- // sh.b.snippet(op['serialize with quote delimiter'](key)),
56
- // sh.ph.literal(" -> "),
57
- // End_Point_Specification($.to),
58
- // Edge_Attributes($.attributes),
59
- // sh.ph.literal(";"),
60
- // ])
61
- // }))
62
- // })))
63
- // case 'undirected': return pa.ss($, ($) => sh.g.sub($.edges.__d_map(($) => {
64
- // return sh.g.nested_block([
65
- // End_Point_Specification($.yin),
66
- // sh.ph.literal(" -- "),
67
- // End_Point_Specification($.yang),
68
- // sh.ph.literal(";"),
69
- // ])
70
- // })),)
71
- // default: return pa.au($[0])
72
- // }
73
- // })
74
- // ]),
75
- // sh.ph.literal("}"),
76
- // ]),
77
- // ])
78
- // }
79
- // export const Edge_Attributes = ($: d_in.Edge_Attributes): d_out.Phrase => {
80
- // return op['is empty']($)
81
- // ? sh.ph.nothing()
82
- // : sh.ph.composed([
83
- // sh.ph.literal(" ["),
84
- // sh.ph.composed(op['dictionary to list, sorted by code point']($).__d_map(($) => {
85
- // return sh.ph.composed([
86
- // sh.ph.literal(" "),
87
- // sh.b.snippet(op['serialize with quote delimiter']($.key)),
88
- // sh.ph.literal("="),
89
- // Attribute_Value($.value),
90
- // ])
91
- // })),
92
- // sh.ph.literal(" ]"),
93
- // ])
94
- // }
95
- // export const Attribute_Value = ($: d_in.Attribute_Value): d_out.Phrase => {
96
- // return pa.sg($, ($) => {
97
- // switch ($[0]) {
98
- // case 'string': return pa.ss($, ($) => sh.b.snippet(op['serialize with quote delimiter']($)))
99
- // case 'number': return pa.ss($, ($) => sh.ph.literal("FIXME NUMBER"))
100
- // case 'html string': return pa.ss($, ($) => sh.b.snippet($))
101
- // default: return pa.au($[0])
102
- // }
103
- // })
104
- // }
105
- // export const End_Point_Specification = ($: d_in.End_Point_Specification): d_out.Phrase => {
106
- // return sh.ph.composed([
107
- // pa.sg($, ($) => {
108
- // switch ($[0]) {
109
- // case 'node': return pa.ss($, ($) => {
110
- // return sh.ph.composed([
111
- // sh.b.snippet(op['serialize with quote delimiter']($.node)),
112
- // $['port data'].__decide(
113
- // ($) => sh.ph.literal("FIXME"),
114
- // () => sh.ph.nothing()
115
- // )
116
- // ])
117
- // })
118
- // case 'subgraph': return pa.ss($, ($) => sh.b.snippet("subgraph " plus "FIXME"))
119
- // default: return pa.au($[0])
120
- // }
121
- // })
122
- // ])
123
- // }
124
- // export const Graph_Tree = (
125
- // $: d_in.Node_Tree,
126
- // $p: {
127
- // 'nodes': d_in.Graph.nodes,
128
- // 'path': pt.Array<string>
129
- // }
130
- // ): d_out.Group_Part => {
131
- // return sh.g.sub(op['dictionary to list, sorted by code point']($.subgraphs).__d_map(($) => {
132
- // return sh.g.nested_block([
133
- // sh.ph.literal("subgraph "),
134
- // sh.b.snippet($.key),
135
- // sh.ph.literal(" {"),
136
- // sh.ph.indent([
137
- // Graph_Tree($.value.tree, {
138
- // 'nodes': $p.nodes,
139
- // 'path': op['add element']($p.path, { element: $.key, where: ['end', null] }),
140
- // }),
141
- // sh.g.sub(op['dictionary to list, sorted by code point'](op.filter($p.nodes.__d_map(($) => {
142
- // return op['is equal to']($['subgraph path'], { 'other': $p.path })
143
- // ? pa.set($)
144
- // : pa.not_set()
145
- // }))).__d_map(($) => {
146
- // return sh.g.nested_block([
147
- // sh.b.snippet($.key),
148
- // sh.ph.literal(" ["),
149
- // sh.ph.literal("FIXME"), //FIXME: attributes
150
- // sh.ph.literal("];"),
151
- // ])
152
- // })),
153
- // ]),
154
- // sh.ph.literal("}"),
155
- // ])
156
- // }))
157
- // }
158
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm91bnRhaW5fcGVuX29sZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9pbXBsZW1lbnRhdGlvbi9tYW51YWwvdHJhbnNmb3JtZXJzL2hpZ2hfbGV2ZWwvZm91bnRhaW5fcGVuX29sZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQ0EsZ0RBQWdEO0FBQ2hELDJDQUEyQztBQUMzQyxvREFBb0Q7QUFFcEQsd0dBQXdHO0FBQ3hHLHVHQUF1RztBQUV2RyxXQUFXO0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