From 4f42fd0e6ba44d05ea79df063d97c3fa174d0ec1 Mon Sep 17 00:00:00 2001
From: bcakmakoglu <78412429+bcakmakoglu@users.noreply.github.com>
Date: Tue, 8 Mar 2022 15:35:24 +0100
Subject: [PATCH] fix(edges): edge text not aligning to center
* use scaling to properly align edge labels and bg width
* remove getMarkerEnd util, replaced by getMarkerId or just using the actual prop markerEnd/markerStart
Signed-off-by: bcakmakoglu <78412429+bcakmakoglu@users.noreply.github.com>
---
src/components/Edges/EdgeText.vue | 10 ++++++----
src/components/Edges/utils.ts | 7 +------
2 files changed, 7 insertions(+), 10 deletions(-)
diff --git a/src/components/Edges/EdgeText.vue b/src/components/Edges/EdgeText.vue
index abe476e0..79ec44c5 100644
--- a/src/components/Edges/EdgeText.vue
+++ b/src/components/Edges/EdgeText.vue
@@ -1,5 +1,6 @@