Skip to content

Commit 3a6a5a6

Browse files
committed
OCIF update
1 parent 80cf3fd commit 3a6a5a6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

apps/vps-web/src/app/pages/ocwg.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@ import {
33
createJSXElement,
44
standardTheme,
55
} from '@devhelpr/visual-programming-system';
6-
import { RegisterNodeFactoryFunction } from '@devhelpr/web-flow-executor';
76

87
// Add Shoelace imports at the top
98
import '@shoelace-style/shoelace/dist/themes/light.css';
109
import '@shoelace-style/shoelace/dist/components/color-picker/color-picker.js';
11-
import { getMermaidNode, mermaidNodeName } from '../custom-nodes/mermaid';
1210
import { registerNodes } from '../custom-nodes/register-nodes';
1311

1412
export function ocwgPage() {

libs/app-canvas/src/app/exporters/export-ocwg.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ interface OCWGInfo {
1616
index: number;
1717
}
1818
const nodeInfoPropertyName = '@code-flow-canvas/node-properties';
19+
const connectionNodeInfoPropertyName =
20+
'@code-flow-canvas/connection-properties';
1921

2022
export class OCWGExporter extends BaseExporter<OCWGFile, OCWGInfo> {
2123
constructor(
@@ -120,7 +122,7 @@ export class OCWGExporter extends BaseExporter<OCWGFile, OCWGInfo> {
120122
data: [
121123
{
122124
...nodeInfo,
123-
type: nodeInfoPropertyName,
125+
type: connectionNodeInfoPropertyName,
124126
nodeType: nodeInfo.type,
125127
start: {
126128
connected_to: `shape:${node.startNode.id}`,
@@ -165,7 +167,7 @@ export class OCWGExporter extends BaseExporter<OCWGFile, OCWGInfo> {
165167
data: [
166168
{
167169
...nodeInfo,
168-
type: nodeInfoPropertyName,
170+
type: connectionNodeInfoPropertyName,
169171
nodeType: nodeInfo.type,
170172
start: {
171173
connected_to: `shape:${node.startNode.id}`,

0 commit comments

Comments
 (0)