@bysages/workflow 0.1.0 → 0.2.1
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/dist/index.mjs +1 -1
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
|
@@ -479,7 +479,7 @@ function createWorkflowCanvas(container, source, options = {}) {
|
|
|
479
479
|
const direction = options?.direction ?? inferDirection();
|
|
480
480
|
const rankSep = options?.rankSep ?? 80;
|
|
481
481
|
const nodeSep = options?.nodeSep ?? 40;
|
|
482
|
-
elkLoader ??= import("elkjs").then(({ default: ELK }) => new ELK());
|
|
482
|
+
elkLoader ??= import("elkjs/lib/elk.bundled.js").then(({ default: ELK }) => new ELK());
|
|
483
483
|
const elk = await elkLoader;
|
|
484
484
|
const { nodes, edges } = store.getGraph();
|
|
485
485
|
const result = await elk.layout({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bysages/workflow",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "AI-ready workflow graphs for By Sages Elements — a headless graph protocol dressed in the paper-and-ink system, rendered by a swappable canvas engine",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -40,16 +40,16 @@
|
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@antv/x6": "3.1.8",
|
|
42
42
|
"elkjs": "0.12.0",
|
|
43
|
-
"@bysages/core": "0.1
|
|
43
|
+
"@bysages/core": "0.2.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/react": "19.3.0",
|
|
47
47
|
"@types/react-dom": "19.3.0",
|
|
48
48
|
"react": "19.3.0",
|
|
49
49
|
"react-dom": "19.3.0",
|
|
50
|
-
"vue": "3.5.
|
|
51
|
-
"@bysages/
|
|
52
|
-
"@bysages/
|
|
50
|
+
"vue": "3.5.43",
|
|
51
|
+
"@bysages/react": "0.2.1",
|
|
52
|
+
"@bysages/vue": "0.2.1"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"dev": "basis build --stub",
|