@pyreon/flow 0.10.0 → 0.11.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.
- package/lib/analysis/index.js.html +1 -1
- package/lib/{elk.bundled-B9dPTHTZ.js → elk.bundled-wgxWJMYd.js} +2 -2
- package/lib/elk.bundled-wgxWJMYd.js.map +1 -0
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/lib/types/index.d.ts +13 -13
- package/lib/types/index.d.ts.map +1 -1
- package/package.json +14 -7
- package/src/components/background.tsx +9 -14
- package/src/components/controls.tsx +11 -18
- package/src/components/flow-component.tsx +57 -109
- package/src/components/handle.tsx +8 -8
- package/src/components/minimap.tsx +10 -27
- package/src/components/node-resizer.tsx +25 -25
- package/src/components/node-toolbar.tsx +12 -21
- package/src/components/panel.tsx +9 -9
- package/src/edges.ts +16 -47
- package/src/flow.ts +32 -88
- package/src/index.ts +17 -17
- package/src/layout.ts +23 -31
- package/src/tests/flow-advanced.test.ts +191 -200
- package/src/tests/flow.test.ts +418 -468
- package/src/types.ts +28 -42
- package/lib/elk.bundled-B9dPTHTZ.js.map +0 -1
|
@@ -5386,7 +5386,7 @@ var drawChart = (function (exports) {
|
|
|
5386
5386
|
</script>
|
|
5387
5387
|
<script>
|
|
5388
5388
|
/*<!--*/
|
|
5389
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.js","children":[{"name":"home/runner/work/
|
|
5389
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.js","children":[{"name":"home/runner/work/pyreon/pyreon/packages/core/core/lib/jsx-runtime.js","uid":"c66e2728-1"},{"name":"src","children":[{"name":"components","children":[{"uid":"c66e2728-3","name":"background.tsx"},{"uid":"c66e2728-5","name":"controls.tsx"},{"uid":"c66e2728-11","name":"flow-component.tsx"},{"uid":"c66e2728-13","name":"handle.tsx"},{"uid":"c66e2728-15","name":"minimap.tsx"},{"uid":"c66e2728-17","name":"node-resizer.tsx"},{"uid":"c66e2728-19","name":"node-toolbar.tsx"},{"uid":"c66e2728-21","name":"panel.tsx"}]},{"uid":"c66e2728-7","name":"types.ts"},{"uid":"c66e2728-9","name":"edges.ts"},{"uid":"c66e2728-23","name":"layout.ts"},{"uid":"c66e2728-25","name":"flow.ts"},{"uid":"c66e2728-27","name":"styles.ts"},{"uid":"c66e2728-29","name":"index.ts"}]}]},{"name":"chunk-C8JhGJ3N.js","children":[{"name":"\u0000rolldown/runtime.js","uid":"c66e2728-31"}]},{"name":"elk.bundled-wgxWJMYd.js","children":[{"name":"home/runner/work/pyreon/pyreon/node_modules/.bun/elkjs@0.9.3/node_modules/elkjs/lib/elk.bundled.js","uid":"c66e2728-33"}]}],"isRoot":true},"nodeParts":{"c66e2728-1":{"renderedLength":1723,"gzipLength":868,"brotliLength":0,"metaUid":"c66e2728-0"},"c66e2728-3":{"renderedLength":3012,"gzipLength":718,"brotliLength":0,"metaUid":"c66e2728-2"},"c66e2728-5":{"renderedLength":4163,"gzipLength":1237,"brotliLength":0,"metaUid":"c66e2728-4"},"c66e2728-7":{"renderedLength":229,"gzipLength":166,"brotliLength":0,"metaUid":"c66e2728-6"},"c66e2728-9":{"renderedLength":7630,"gzipLength":1900,"brotliLength":0,"metaUid":"c66e2728-8"},"c66e2728-11":{"renderedLength":19265,"gzipLength":5006,"brotliLength":0,"metaUid":"c66e2728-10"},"c66e2728-13":{"renderedLength":1279,"gzipLength":655,"brotliLength":0,"metaUid":"c66e2728-12"},"c66e2728-15":{"renderedLength":3420,"gzipLength":1311,"brotliLength":0,"metaUid":"c66e2728-14"},"c66e2728-17":{"renderedLength":3784,"gzipLength":1412,"brotliLength":0,"metaUid":"c66e2728-16"},"c66e2728-19":{"renderedLength":1591,"gzipLength":775,"brotliLength":0,"metaUid":"c66e2728-18"},"c66e2728-21":{"renderedLength":788,"gzipLength":441,"brotliLength":0,"metaUid":"c66e2728-20"},"c66e2728-23":{"renderedLength":2455,"gzipLength":1081,"brotliLength":0,"metaUid":"c66e2728-22"},"c66e2728-25":{"renderedLength":23912,"gzipLength":5732,"brotliLength":0,"metaUid":"c66e2728-24"},"c66e2728-27":{"renderedLength":3591,"gzipLength":872,"brotliLength":0,"metaUid":"c66e2728-26"},"c66e2728-29":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"c66e2728-28"},"c66e2728-31":{"renderedLength":1611,"gzipLength":789,"brotliLength":0,"metaUid":"c66e2728-30"},"c66e2728-33":{"renderedLength":2547654,"gzipLength":525810,"brotliLength":0,"metaUid":"c66e2728-32"}},"nodeMetas":{"c66e2728-0":{"id":"/home/runner/work/pyreon/pyreon/packages/core/core/lib/jsx-runtime.js","moduleParts":{"index.js":"c66e2728-1"},"imported":[],"importedBy":[{"uid":"c66e2728-2"},{"uid":"c66e2728-4"},{"uid":"c66e2728-10"},{"uid":"c66e2728-12"},{"uid":"c66e2728-14"},{"uid":"c66e2728-16"},{"uid":"c66e2728-18"},{"uid":"c66e2728-20"}]},"c66e2728-2":{"id":"/src/components/background.tsx","moduleParts":{"index.js":"c66e2728-3"},"imported":[{"uid":"c66e2728-0"}],"importedBy":[{"uid":"c66e2728-28"}]},"c66e2728-4":{"id":"/src/components/controls.tsx","moduleParts":{"index.js":"c66e2728-5"},"imported":[{"uid":"c66e2728-0"}],"importedBy":[{"uid":"c66e2728-28"}]},"c66e2728-6":{"id":"/src/types.ts","moduleParts":{"index.js":"c66e2728-7"},"imported":[],"importedBy":[{"uid":"c66e2728-28"},{"uid":"c66e2728-10"},{"uid":"c66e2728-8"}]},"c66e2728-8":{"id":"/src/edges.ts","moduleParts":{"index.js":"c66e2728-9"},"imported":[{"uid":"c66e2728-6"}],"importedBy":[{"uid":"c66e2728-28"},{"uid":"c66e2728-10"}]},"c66e2728-10":{"id":"/src/components/flow-component.tsx","moduleParts":{"index.js":"c66e2728-11"},"imported":[{"uid":"c66e2728-34"},{"uid":"c66e2728-8"},{"uid":"c66e2728-6"},{"uid":"c66e2728-0"}],"importedBy":[{"uid":"c66e2728-28"}]},"c66e2728-12":{"id":"/src/components/handle.tsx","moduleParts":{"index.js":"c66e2728-13"},"imported":[{"uid":"c66e2728-0"}],"importedBy":[{"uid":"c66e2728-28"}]},"c66e2728-14":{"id":"/src/components/minimap.tsx","moduleParts":{"index.js":"c66e2728-15"},"imported":[{"uid":"c66e2728-0"}],"importedBy":[{"uid":"c66e2728-28"}]},"c66e2728-16":{"id":"/src/components/node-resizer.tsx","moduleParts":{"index.js":"c66e2728-17"},"imported":[{"uid":"c66e2728-0"}],"importedBy":[{"uid":"c66e2728-28"}]},"c66e2728-18":{"id":"/src/components/node-toolbar.tsx","moduleParts":{"index.js":"c66e2728-19"},"imported":[{"uid":"c66e2728-0"}],"importedBy":[{"uid":"c66e2728-28"}]},"c66e2728-20":{"id":"/src/components/panel.tsx","moduleParts":{"index.js":"c66e2728-21"},"imported":[{"uid":"c66e2728-0"}],"importedBy":[{"uid":"c66e2728-28"}]},"c66e2728-22":{"id":"/src/layout.ts","moduleParts":{"index.js":"c66e2728-23"},"imported":[{"uid":"c66e2728-32","dynamic":true}],"importedBy":[{"uid":"c66e2728-28"},{"uid":"c66e2728-24"}]},"c66e2728-24":{"id":"/src/flow.ts","moduleParts":{"index.js":"c66e2728-25"},"imported":[{"uid":"c66e2728-34"},{"uid":"c66e2728-22"}],"importedBy":[{"uid":"c66e2728-28"}]},"c66e2728-26":{"id":"/src/styles.ts","moduleParts":{"index.js":"c66e2728-27"},"imported":[],"importedBy":[{"uid":"c66e2728-28"}]},"c66e2728-28":{"id":"/src/index.ts","moduleParts":{"index.js":"c66e2728-29"},"imported":[{"uid":"c66e2728-2"},{"uid":"c66e2728-4"},{"uid":"c66e2728-10"},{"uid":"c66e2728-12"},{"uid":"c66e2728-14"},{"uid":"c66e2728-16"},{"uid":"c66e2728-18"},{"uid":"c66e2728-20"},{"uid":"c66e2728-8"},{"uid":"c66e2728-24"},{"uid":"c66e2728-22"},{"uid":"c66e2728-26"},{"uid":"c66e2728-6"}],"importedBy":[],"isEntry":true},"c66e2728-30":{"id":"\u0000rolldown/runtime.js","moduleParts":{"chunk-C8JhGJ3N.js":"c66e2728-31"},"imported":[],"importedBy":[]},"c66e2728-32":{"id":"/home/runner/work/pyreon/pyreon/node_modules/.bun/elkjs@0.9.3/node_modules/elkjs/lib/elk.bundled.js","moduleParts":{"elk.bundled-wgxWJMYd.js":"c66e2728-33"},"imported":[],"importedBy":[{"uid":"c66e2728-22"}]},"c66e2728-34":{"id":"@pyreon/reactivity","moduleParts":{},"imported":[],"importedBy":[{"uid":"c66e2728-10"},{"uid":"c66e2728-24"}]}},"env":{"rollup":"4.23.0"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
5390
5390
|
|
|
5391
5391
|
const run = () => {
|
|
5392
5392
|
const width = window.innerWidth;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as __require, t as __commonJSMin } from "./chunk-C8JhGJ3N.js";
|
|
2
2
|
|
|
3
|
-
//#region
|
|
3
|
+
//#region ../../../node_modules/.bun/elkjs@0.9.3/node_modules/elkjs/lib/elk.bundled.js
|
|
4
4
|
var require_elk_bundled = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
5
5
|
(function(f) {
|
|
6
6
|
if (typeof exports === "object" && typeof module !== "undefined") module.exports = f();
|
|
@@ -88588,4 +88588,4 @@ var require_elk_bundled = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
88588
88588
|
//#endregion
|
|
88589
88589
|
export default require_elk_bundled();
|
|
88590
88590
|
|
|
88591
|
-
//# sourceMappingURL=elk.bundled-
|
|
88591
|
+
//# sourceMappingURL=elk.bundled-wgxWJMYd.js.map
|