From 846e5598927e74672f307c6be75bb867dc574e12 Mon Sep 17 00:00:00 2001 From: Thomas Moerkerken <1309462+moerketh@users.noreply.github.com> Date: Thu, 18 Apr 2024 18:10:09 +0200 Subject: [PATCH] Fix undo for edges --- td.vue/src/service/x6/shapes/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/td.vue/src/service/x6/shapes/index.js b/td.vue/src/service/x6/shapes/index.js index 582a54eba..708e372f5 100644 --- a/td.vue/src/service/x6/shapes/index.js +++ b/td.vue/src/service/x6/shapes/index.js @@ -14,12 +14,12 @@ import { TrustBoundaryCurveStencil } from './trust-boundary-curve-stencil.js'; Graph.registerNode('trust-broundary-curve', TrustBoundaryCurve); Graph.registerNode('actor', ActorShape); -Graph.registerNode('flow', Flow); +Graph.registerEdge('flow', Flow); Graph.registerNode('process', ProcessShape); Graph.registerNode('store', StoreShape); Graph.registerNode('td-text-block', TextBlock); Graph.registerNode('trust-boundary-box', TrustBoundaryBox); -Graph.registerNode('trust-boundary-curve', TrustBoundaryCurve); +Graph.registerEdge('trust-boundary-curve', TrustBoundaryCurve); export default { ActorShape,