Skip to content

Commit 0f10ce4

Browse files
committed
fix export connections
1 parent 4d2418a commit 0f10ce4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,14 @@ export class OCIFExporter extends BaseExporter<OCIFFile, OCIFInfo> {
335335
position: [node.x, node.y],
336336
size: [node.width ?? 0, node.height ?? 0],
337337
data: [
338+
{
339+
type: ocifArrow,
340+
start: [node.x, node.y],
341+
end: [node.endX ?? node.x, node.endY ?? 0],
342+
startMarker: 'none',
343+
endMarker: 'arrowhead',
344+
relation: `${node.id}-edge`,
345+
},
338346
{
339347
...nodeInfo,
340348
type: connectionNodeInfoPropertyName,

0 commit comments

Comments
 (0)