@likec4/core 1.45.0 → 1.46.0

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 (61) hide show
  1. package/dist/builder/index.d.mts +8 -7
  2. package/dist/builder/index.mjs +6 -5
  3. package/dist/compute-view/index.d.mts +8 -7
  4. package/dist/compute-view/index.mjs +5 -5
  5. package/dist/compute-view/relationships-view/index.d.mts +8 -7
  6. package/dist/geometry/index.d.mts +109 -0
  7. package/dist/geometry/index.mjs +328 -0
  8. package/dist/index.d.mts +10 -8
  9. package/dist/index.mjs +9 -8
  10. package/dist/model/connection/deployment/index.d.mts +10 -9
  11. package/dist/model/connection/deployment/index.mjs +1 -1
  12. package/dist/model/connection/index.d.mts +11 -10
  13. package/dist/model/connection/index.mjs +1 -1
  14. package/dist/model/connection/model/index.d.mts +10 -9
  15. package/dist/model/index.d.mts +12 -11
  16. package/dist/model/index.mjs +2 -2
  17. package/dist/shared/{core.DnCLhN8C.d.mts → core.5gPDaaG5.d.mts} +5 -4
  18. package/dist/shared/{core.0zAQeenX.d.mts → core.9U0HL3oG.d.mts} +2 -2
  19. package/dist/shared/{core.M9ayqQZa.mjs → core.BK-tI3Q3.mjs} +2 -3
  20. package/dist/shared/{core.CpURdWRM.d.mts → core.BLG-ADpi.d.mts} +7 -6
  21. package/dist/shared/core.BPGOjone.d.mts +46 -0
  22. package/dist/shared/{core.DIE3F6sw.mjs → core.BYdtmqY5.mjs} +1 -2
  23. package/dist/shared/{core.B73yxfPi.d.mts → core.BkSYCfRg.d.mts} +1 -1
  24. package/dist/shared/{core.5ZQ-r3Oa.d.mts → core.BqtAzeAh.d.mts} +1 -1
  25. package/dist/shared/{core.DEieYfbG.mjs → core.BspBF3SJ.mjs} +22 -70
  26. package/dist/shared/{core.Cog93roC.d.mts → core.Byj60hH6.d.mts} +3 -3
  27. package/dist/shared/{core.CR3PmPzr.mjs → core.CBLX4mT8.mjs} +3811 -15032
  28. package/dist/shared/{core.DX-WYEPA.d.mts → core.CDdf8izT.d.mts} +4 -2
  29. package/dist/shared/core.CLSZtnFh.mjs +69 -0
  30. package/dist/shared/{core.t3qfsVvn.d.mts → core.CQYL_Z-_.d.mts} +3 -3
  31. package/dist/shared/{core.DrUt0Lbi.mjs → core.CmGY9blO.mjs} +198 -291
  32. package/dist/shared/{core.C_Ni6yHl.mjs → core.D0WZutNd.mjs} +3 -1
  33. package/dist/shared/{core.BGFjN3nv.d.mts → core.D4Y4U8Lp.d.mts} +3 -3
  34. package/dist/shared/{core.mUnpvHtA.d.mts → core.DE-g9oFF.d.mts} +19 -49
  35. package/dist/shared/{core.CWwSgOzF.mjs → core.DJpiszim.mjs} +48 -16
  36. package/dist/shared/{core.CRI1AjFj.mjs → core.DU8pv3Q6.mjs} +21 -19
  37. package/dist/shared/{core.D_f4F48-.mjs → core.DbQpDoJS.mjs} +2 -2
  38. package/dist/shared/{core.vzLtp8i3.mjs → core.Qv7vZIwZ.mjs} +1 -1
  39. package/dist/shared/{core.BuQZczj6.mjs → core.om36dXXW.mjs} +5 -2
  40. package/dist/shared/{core.Dvh1H0T2.d.mts → core.or6-EHsb.d.mts} +2 -2
  41. package/dist/shared/{core.DViDmiAu.mjs → core.xeuDd__E.mjs} +1 -2
  42. package/dist/styles/index.d.mts +7 -6
  43. package/dist/styles/index.mjs +1 -1
  44. package/dist/types/_aux.d.mts +2 -2
  45. package/dist/types/expression-model.d.mts +3 -3
  46. package/dist/types/expression.d.mts +3 -3
  47. package/dist/types/fqnRef.d.mts +2 -2
  48. package/dist/types/fqnRef.mjs +1 -1
  49. package/dist/types/index.d.mts +11 -9
  50. package/dist/types/index.mjs +6 -180
  51. package/dist/types/scalar.d.mts +1 -1
  52. package/dist/types/scalar.mjs +1 -1
  53. package/dist/utils/graphology/index.mjs +1 -1
  54. package/dist/utils/index.d.mts +3 -3
  55. package/dist/utils/index.mjs +5 -5
  56. package/dist/utils/iterable/index.d.mts +17 -1
  57. package/dist/utils/iterable/index.mjs +17 -1
  58. package/geometry/package.json +4 -0
  59. package/package.json +19 -11
  60. package/dist/shared/core.BR4zXDH-.mjs +0 -13
  61. package/dist/shared/core.BdPcbSkN.mjs +0 -118
@@ -1,176 +1,4 @@
1
1
  import { EventEmitter } from 'events';
2
- import { g as getDefaultExportFromCjs } from './core.B85MJLTf.mjs';
3
- import { r as requireIterator, a as requireSupport } from './core.BdPcbSkN.mjs';
4
-
5
- var iteratorExports = requireIterator();
6
- const Iterator = /*@__PURE__*/getDefaultExportFromCjs(iteratorExports);
7
-
8
- /**
9
- * Obliterator Iter Function
10
- * ==========================
11
- *
12
- * Function coercing values to an iterator. It can be quite useful when needing
13
- * to handle iterables and iterators the same way.
14
- */
15
-
16
- var iter;
17
- var hasRequiredIter;
18
-
19
- function requireIter () {
20
- if (hasRequiredIter) return iter;
21
- hasRequiredIter = 1;
22
- var Iterator = requireIterator();
23
- var support = requireSupport();
24
-
25
- var ARRAY_BUFFER_SUPPORT = support.ARRAY_BUFFER_SUPPORT;
26
- var SYMBOL_SUPPORT = support.SYMBOL_SUPPORT;
27
-
28
- function iterOrNull(target) {
29
- // Indexed sequence
30
- if (
31
- typeof target === 'string' ||
32
- Array.isArray(target) ||
33
- (ARRAY_BUFFER_SUPPORT && ArrayBuffer.isView(target))
34
- )
35
- return Iterator.fromSequence(target);
36
-
37
- // Invalid value
38
- if (typeof target !== 'object' || target === null) return null;
39
-
40
- // Iterable
41
- if (SYMBOL_SUPPORT && typeof target[Symbol.iterator] === 'function')
42
- return target[Symbol.iterator]();
43
-
44
- // Iterator duck-typing
45
- if (typeof target.next === 'function') return target;
46
-
47
- // Invalid object
48
- return null;
49
- }
50
-
51
- iter = function iter(target) {
52
- var iterator = iterOrNull(target);
53
-
54
- if (!iterator)
55
- throw new Error(
56
- 'obliterator: target is not iterable nor a valid iterator.'
57
- );
58
-
59
- return iterator;
60
- };
61
- return iter;
62
- }
63
-
64
- /* eslint no-constant-condition: 0 */
65
-
66
- var take$1;
67
- var hasRequiredTake;
68
-
69
- function requireTake () {
70
- if (hasRequiredTake) return take$1;
71
- hasRequiredTake = 1;
72
- /**
73
- * Obliterator Take Function
74
- * ==========================
75
- *
76
- * Function taking n or every value of the given iterator and returns them
77
- * into an array.
78
- */
79
- var iter = requireIter();
80
-
81
- /**
82
- * Take.
83
- *
84
- * @param {Iterable} iterable - Target iterable.
85
- * @param {number} [n] - Optional number of items to take.
86
- * @return {array}
87
- */
88
- take$1 = function take(iterable, n) {
89
- var l = arguments.length > 1 ? n : Infinity,
90
- array = l !== Infinity ? new Array(l) : [],
91
- step,
92
- i = 0;
93
-
94
- var iterator = iter(iterable);
95
-
96
- while (true) {
97
- if (i === l) return array;
98
-
99
- step = iterator.next();
100
-
101
- if (step.done) {
102
- if (i !== n) array.length = i;
103
-
104
- return array;
105
- }
106
-
107
- array[i++] = step.value;
108
- }
109
- };
110
- return take$1;
111
- }
112
-
113
- var takeExports = requireTake();
114
- const take = /*@__PURE__*/getDefaultExportFromCjs(takeExports);
115
-
116
- /**
117
- * Obliterator Chain Function
118
- * ===========================
119
- *
120
- * Variadic function combining the given iterables.
121
- */
122
-
123
- var chain$1;
124
- var hasRequiredChain;
125
-
126
- function requireChain () {
127
- if (hasRequiredChain) return chain$1;
128
- hasRequiredChain = 1;
129
- var Iterator = requireIterator();
130
- var iter = requireIter();
131
-
132
- /**
133
- * Chain.
134
- *
135
- * @param {...Iterator} iterables - Target iterables.
136
- * @return {Iterator}
137
- */
138
- chain$1 = function chain() {
139
- var iterables = arguments;
140
- var current = null;
141
- var i = -1;
142
-
143
- /* eslint-disable no-constant-condition */
144
- return new Iterator(function next() {
145
- var step = null;
146
-
147
- do {
148
- if (current === null) {
149
- i++;
150
-
151
- if (i >= iterables.length) return {done: true};
152
-
153
- current = iter(iterables[i]);
154
- }
155
-
156
- step = current.next();
157
-
158
- if (step.done === true) {
159
- current = null;
160
- continue;
161
- }
162
-
163
- break;
164
- } while (true);
165
-
166
- return step;
167
- });
168
- };
169
- return chain$1;
170
- }
171
-
172
- var chainExports = requireChain();
173
- const chain = /*@__PURE__*/getDefaultExportFromCjs(chainExports);
174
2
 
175
3
  /**
176
4
  * Graphology Utilities
@@ -328,6 +156,55 @@ function incrementalIdStartingFromRandomByte() {
328
156
  };
329
157
  }
330
158
 
159
+ /**
160
+ * Chains multiple iterators into a single iterator.
161
+ *
162
+ * @param {...Iterator} iterables
163
+ * @returns {Iterator}
164
+ */
165
+ function chain() {
166
+ const iterables = arguments;
167
+ let current = null;
168
+ let i = -1;
169
+
170
+ return {
171
+ [Symbol.iterator]() {
172
+ return this;
173
+ },
174
+ next() {
175
+ let step = null;
176
+
177
+ do {
178
+ if (current === null) {
179
+ i++;
180
+ if (i >= iterables.length) return {done: true};
181
+ current = iterables[i][Symbol.iterator]();
182
+ }
183
+ step = current.next();
184
+ if (step.done) {
185
+ current = null;
186
+ continue;
187
+ }
188
+ break;
189
+ // eslint-disable-next-line no-constant-condition
190
+ } while (true);
191
+
192
+ return step;
193
+ }
194
+ };
195
+ }
196
+
197
+ function emptyIterator() {
198
+ return {
199
+ [Symbol.iterator]() {
200
+ return this;
201
+ },
202
+ next() {
203
+ return {done: true};
204
+ }
205
+ };
206
+ }
207
+
331
208
  /**
332
209
  * Graphology Custom Errors
333
210
  * =========================
@@ -1847,37 +1724,42 @@ function createIterator(object, avoid) {
1847
1724
  let edgeData;
1848
1725
  let i = 0;
1849
1726
 
1850
- return new Iterator(function next() {
1851
- do {
1852
- if (!edgeData) {
1853
- if (i >= l) return {done: true};
1727
+ return {
1728
+ [Symbol.iterator]() {
1729
+ return this;
1730
+ },
1731
+ next() {
1732
+ do {
1733
+ if (!edgeData) {
1734
+ if (i >= l) return {done: true};
1854
1735
 
1855
- const k = keys[i++];
1736
+ const k = keys[i++];
1856
1737
 
1857
- if (k === avoid) {
1858
- edgeData = undefined;
1859
- continue;
1860
- }
1738
+ if (k === avoid) {
1739
+ edgeData = undefined;
1740
+ continue;
1741
+ }
1861
1742
 
1862
- edgeData = object[k];
1863
- } else {
1864
- edgeData = edgeData.next;
1865
- }
1866
- } while (!edgeData);
1743
+ edgeData = object[k];
1744
+ } else {
1745
+ edgeData = edgeData.next;
1746
+ }
1747
+ } while (!edgeData);
1867
1748
 
1868
- return {
1869
- done: false,
1870
- value: {
1871
- edge: edgeData.key,
1872
- attributes: edgeData.attributes,
1873
- source: edgeData.source.key,
1874
- target: edgeData.target.key,
1875
- sourceAttributes: edgeData.source.attributes,
1876
- targetAttributes: edgeData.target.attributes,
1877
- undirected: edgeData.undirected
1878
- }
1879
- };
1880
- });
1749
+ return {
1750
+ done: false,
1751
+ value: {
1752
+ edge: edgeData.key,
1753
+ attributes: edgeData.attributes,
1754
+ source: edgeData.source.key,
1755
+ target: edgeData.target.key,
1756
+ sourceAttributes: edgeData.source.attributes,
1757
+ targetAttributes: edgeData.target.attributes,
1758
+ undirected: edgeData.undirected
1759
+ }
1760
+ };
1761
+ }
1762
+ };
1881
1763
  }
1882
1764
 
1883
1765
  /**
@@ -1948,37 +1830,55 @@ function createIteratorForKey(object, k) {
1948
1830
  let edgeData = object[k];
1949
1831
 
1950
1832
  if (edgeData.next !== undefined) {
1951
- return new Iterator(function () {
1952
- if (!edgeData) return {done: true};
1833
+ return {
1834
+ [Symbol.iterator]() {
1835
+ return this;
1836
+ },
1837
+ next() {
1838
+ if (!edgeData) return {done: true};
1839
+
1840
+ const value = {
1841
+ edge: edgeData.key,
1842
+ attributes: edgeData.attributes,
1843
+ source: edgeData.source.key,
1844
+ target: edgeData.target.key,
1845
+ sourceAttributes: edgeData.source.attributes,
1846
+ targetAttributes: edgeData.target.attributes,
1847
+ undirected: edgeData.undirected
1848
+ };
1953
1849
 
1954
- const value = {
1955
- edge: edgeData.key,
1956
- attributes: edgeData.attributes,
1957
- source: edgeData.source.key,
1958
- target: edgeData.target.key,
1959
- sourceAttributes: edgeData.source.attributes,
1960
- targetAttributes: edgeData.target.attributes,
1961
- undirected: edgeData.undirected
1962
- };
1850
+ edgeData = edgeData.next;
1963
1851
 
1964
- edgeData = edgeData.next;
1852
+ return {
1853
+ done: false,
1854
+ value
1855
+ };
1856
+ }
1857
+ };
1858
+ }
1965
1859
 
1860
+ let done = false;
1861
+ return {
1862
+ [Symbol.iterator]() {
1863
+ return this;
1864
+ },
1865
+ next() {
1866
+ if (done === true) return {done: true};
1867
+ done = true;
1966
1868
  return {
1967
1869
  done: false,
1968
- value
1870
+ value: {
1871
+ edge: edgeData.key,
1872
+ attributes: edgeData.attributes,
1873
+ source: edgeData.source.key,
1874
+ target: edgeData.target.key,
1875
+ sourceAttributes: edgeData.source.attributes,
1876
+ targetAttributes: edgeData.target.attributes,
1877
+ undirected: edgeData.undirected
1878
+ }
1969
1879
  };
1970
- });
1971
- }
1972
-
1973
- return Iterator.of({
1974
- edge: edgeData.key,
1975
- attributes: edgeData.attributes,
1976
- source: edgeData.source.key,
1977
- target: edgeData.target.key,
1978
- sourceAttributes: edgeData.source.attributes,
1979
- targetAttributes: edgeData.target.attributes,
1980
- undirected: edgeData.undirected
1981
- });
1880
+ }
1881
+ };
1982
1882
  }
1983
1883
 
1984
1884
  /**
@@ -1992,10 +1892,7 @@ function createEdgeArray(graph, type) {
1992
1892
  if (graph.size === 0) return [];
1993
1893
 
1994
1894
  if (type === 'mixed' || type === graph.type) {
1995
- if (typeof Array.from === 'function')
1996
- return Array.from(graph._edges.keys());
1997
-
1998
- return take(graph._edges.keys(), graph._edges.size);
1895
+ return Array.from(graph._edges.keys());
1999
1896
  }
2000
1897
 
2001
1898
  const size =
@@ -2067,41 +1964,46 @@ function forEachEdge(breakable, graph, type, callback) {
2067
1964
  * @return {Iterator}
2068
1965
  */
2069
1966
  function createEdgeIterator(graph, type) {
2070
- if (graph.size === 0) return Iterator.empty();
1967
+ if (graph.size === 0) return emptyIterator();
2071
1968
 
2072
1969
  const shouldFilter = type !== 'mixed' && type !== graph.type;
2073
1970
  const mask = type === 'undirected';
2074
1971
 
2075
1972
  const iterator = graph._edges.values();
2076
1973
 
2077
- return new Iterator(function next() {
2078
- let step, data;
1974
+ return {
1975
+ [Symbol.iterator]() {
1976
+ return this;
1977
+ },
1978
+ next() {
1979
+ let step, data;
2079
1980
 
2080
- // eslint-disable-next-line no-constant-condition
2081
- while (true) {
2082
- step = iterator.next();
1981
+ // eslint-disable-next-line no-constant-condition
1982
+ while (true) {
1983
+ step = iterator.next();
2083
1984
 
2084
- if (step.done) return step;
1985
+ if (step.done) return step;
2085
1986
 
2086
- data = step.value;
1987
+ data = step.value;
2087
1988
 
2088
- if (shouldFilter && data.undirected !== mask) continue;
1989
+ if (shouldFilter && data.undirected !== mask) continue;
2089
1990
 
2090
- break;
2091
- }
1991
+ break;
1992
+ }
2092
1993
 
2093
- const value = {
2094
- edge: data.key,
2095
- attributes: data.attributes,
2096
- source: data.source.key,
2097
- target: data.target.key,
2098
- sourceAttributes: data.source.attributes,
2099
- targetAttributes: data.target.attributes,
2100
- undirected: data.undirected
2101
- };
1994
+ const value = {
1995
+ edge: data.key,
1996
+ attributes: data.attributes,
1997
+ source: data.source.key,
1998
+ target: data.target.key,
1999
+ sourceAttributes: data.source.attributes,
2000
+ targetAttributes: data.target.attributes,
2001
+ undirected: data.undirected
2002
+ };
2102
2003
 
2103
- return {value, done: false};
2104
- });
2004
+ return {value, done: false};
2005
+ }
2006
+ };
2105
2007
  }
2106
2008
 
2107
2009
  /**
@@ -2180,7 +2082,7 @@ function createEdgeArrayForNode(multi, type, direction, nodeData) {
2180
2082
  * @return {Iterator}
2181
2083
  */
2182
2084
  function createEdgeIteratorForNode(type, direction, nodeData) {
2183
- let iterator = Iterator.empty();
2085
+ let iterator = emptyIterator();
2184
2086
 
2185
2087
  if (type !== 'undirected') {
2186
2088
  if (direction !== 'out' && typeof nodeData.in !== 'undefined')
@@ -2290,7 +2192,7 @@ function createEdgeArrayForPath(type, multi, direction, sourceData, target) {
2290
2192
  * @param {function} callback - Function to call.
2291
2193
  */
2292
2194
  function createEdgeIteratorForPath(type, direction, sourceData, target) {
2293
- let iterator = Iterator.empty();
2195
+ let iterator = emptyIterator();
2294
2196
 
2295
2197
  if (type !== 'undirected') {
2296
2198
  if (
@@ -2873,7 +2775,7 @@ function attachEdgeIteratorCreator(Class, description) {
2873
2775
  Class.prototype[name] = function (source, target) {
2874
2776
  // Early termination
2875
2777
  if (type !== 'mixed' && this.type !== 'mixed' && type !== this.type)
2876
- return Iterator.empty();
2778
+ return emptyIterator();
2877
2779
 
2878
2780
  if (!arguments.length) return createEdgeIterator(this, type);
2879
2781
 
@@ -3135,33 +3037,38 @@ function createDedupedObjectIterator(visited, nodeData, object) {
3135
3037
 
3136
3038
  let i = 0;
3137
3039
 
3138
- return new Iterator(function next() {
3139
- let neighborData = null;
3040
+ return {
3041
+ [Symbol.iterator]() {
3042
+ return this;
3043
+ },
3044
+ next() {
3045
+ let neighborData = null;
3140
3046
 
3141
- do {
3142
- if (i >= l) {
3143
- if (visited) visited.wrap(object);
3144
- return {done: true};
3145
- }
3047
+ do {
3048
+ if (i >= l) {
3049
+ if (visited) visited.wrap(object);
3050
+ return {done: true};
3051
+ }
3146
3052
 
3147
- const edgeData = object[keys[i++]];
3053
+ const edgeData = object[keys[i++]];
3148
3054
 
3149
- const sourceData = edgeData.source;
3150
- const targetData = edgeData.target;
3055
+ const sourceData = edgeData.source;
3056
+ const targetData = edgeData.target;
3151
3057
 
3152
- neighborData = sourceData === nodeData ? targetData : sourceData;
3058
+ neighborData = sourceData === nodeData ? targetData : sourceData;
3153
3059
 
3154
- if (visited && visited.has(neighborData.key)) {
3155
- neighborData = null;
3156
- continue;
3157
- }
3158
- } while (neighborData === null);
3060
+ if (visited && visited.has(neighborData.key)) {
3061
+ neighborData = null;
3062
+ continue;
3063
+ }
3064
+ } while (neighborData === null);
3159
3065
 
3160
- return {
3161
- done: false,
3162
- value: {neighbor: neighborData.key, attributes: neighborData.attributes}
3163
- };
3164
- });
3066
+ return {
3067
+ done: false,
3068
+ value: {neighbor: neighborData.key, attributes: neighborData.attributes}
3069
+ };
3070
+ }
3071
+ };
3165
3072
  }
3166
3073
 
3167
3074
  function createNeighborIterator(type, direction, nodeData) {
@@ -3174,7 +3081,7 @@ function createNeighborIterator(type, direction, nodeData) {
3174
3081
  return createDedupedObjectIterator(null, nodeData, nodeData[direction]);
3175
3082
  }
3176
3083
 
3177
- let iterator = Iterator.empty();
3084
+ let iterator = emptyIterator();
3178
3085
 
3179
3086
  // Else we need to keep a set of neighbors not to return duplicates
3180
3087
  // We cheat by querying the other adjacencies
@@ -3466,7 +3373,7 @@ function attachNeighborIteratorCreator(Class, description) {
3466
3373
  Class.prototype[iteratorName] = function (node) {
3467
3374
  // Early termination
3468
3375
  if (type !== 'mixed' && this.type !== 'mixed' && type !== this.type)
3469
- return Iterator.empty();
3376
+ return emptyIterator();
3470
3377
 
3471
3378
  node = '' + node;
3472
3379
 
@@ -6035,9 +5942,7 @@ class Graph extends EventEmitter {
6035
5942
  * @return {array} - The nodes.
6036
5943
  */
6037
5944
  nodes() {
6038
- if (typeof Array.from === 'function') return Array.from(this._nodes.keys());
6039
-
6040
- return take(this._nodes.keys(), this._nodes.size);
5945
+ return Array.from(this._nodes.keys());
6041
5946
  }
6042
5947
 
6043
5948
  /**
@@ -6225,18 +6130,20 @@ class Graph extends EventEmitter {
6225
6130
  nodeEntries() {
6226
6131
  const iterator = this._nodes.values();
6227
6132
 
6228
- return new Iterator(() => {
6229
- const step = iterator.next();
6230
-
6231
- if (step.done) return step;
6232
-
6233
- const data = step.value;
6234
-
6235
- return {
6236
- value: {node: data.key, attributes: data.attributes},
6237
- done: false
6238
- };
6239
- });
6133
+ return {
6134
+ [Symbol.iterator]() {
6135
+ return this;
6136
+ },
6137
+ next() {
6138
+ const step = iterator.next();
6139
+ if (step.done) return step;
6140
+ const data = step.value;
6141
+ return {
6142
+ value: {node: data.key, attributes: data.attributes},
6143
+ done: false
6144
+ };
6145
+ }
6146
+ };
6240
6147
  }
6241
6148
 
6242
6149
  /**---------------------------------------------------------------------------
@@ -12,6 +12,7 @@ function flattenMarkdownOrString(value) {
12
12
  const content = e(value) ? value : value.txt ?? value.md;
13
13
  return e$1(content?.trim()) ? content : null;
14
14
  }
15
+ const NoneIcon = "none";
15
16
  function Fqn(name, parent) {
16
17
  return parent ? parent + "." + name : name;
17
18
  }
@@ -76,6 +77,7 @@ const scalar = {
76
77
  GlobalFqn: GlobalFqn,
77
78
  GroupElementKind: GroupElementKind,
78
79
  NodeId: NodeId,
80
+ NoneIcon: NoneIcon,
79
81
  ProjectId: ProjectId,
80
82
  RelationId: RelationId,
81
83
  StepEdgeKind: StepEdgeKind,
@@ -89,4 +91,4 @@ const scalar = {
89
91
  stepEdgeId: stepEdgeId
90
92
  };
91
93
 
92
- export { DeploymentFqn as D, EdgeId as E, Fqn as F, GroupElementKind as G, NodeId as N, ProjectId as P, RelationId as R, StepEdgeKind as S, ViewId as V, GlobalFqn as a, isGlobalFqn as b, splitGlobalFqn as c, stepEdgeId as d, isStepEdgeId as e, flattenMarkdownOrString as f, extractStep as g, isGroupElementKind as i, scalar as s };
94
+ export { DeploymentFqn as D, EdgeId as E, Fqn as F, GroupElementKind as G, NoneIcon as N, ProjectId as P, RelationId as R, StepEdgeKind as S, ViewId as V, GlobalFqn as a, isGlobalFqn as b, splitGlobalFqn as c, NodeId as d, stepEdgeId as e, flattenMarkdownOrString as f, isStepEdgeId as g, extractStep as h, isGroupElementKind as i, scalar as s };
@@ -1,6 +1,6 @@
1
- import { C as Connection, c as customInspectSymbol } from './core.Cog93roC.mjs';
2
- import { E as ElementModel, R as RelationshipModel } from './core.CpURdWRM.mjs';
3
- import { A as Any, U as Unknown, z as EdgeId } from './core.B73yxfPi.mjs';
1
+ import { C as Connection, c as customInspectSymbol } from './core.Byj60hH6.mjs';
2
+ import { E as ElementModel, R as RelationshipModel } from './core.BLG-ADpi.mjs';
3
+ import { A as Any, U as Unknown, z as EdgeId } from './core.BkSYCfRg.mjs';
4
4
 
5
5
  /**
6
6
  * Connection refers to any relationships between two elements,