From c3dee740748a03e40a117f8eed217d7a6354b64d Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Fri, 14 Oct 2022 16:14:36 +0200 Subject: [PATCH] feat(nc-gui): set edge marker type for skeleton mode --- packages/nc-gui/components/erd/RelationEdge.vue | 3 +++ packages/nc-gui/components/erd/utils.ts | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/nc-gui/components/erd/RelationEdge.vue b/packages/nc-gui/components/erd/RelationEdge.vue index 8f32cd14f1..0805bc5529 100644 --- a/packages/nc-gui/components/erd/RelationEdge.vue +++ b/packages/nc-gui/components/erd/RelationEdge.vue @@ -20,6 +20,7 @@ interface RelationEdgeProps extends EdgeProps { style: CSSProperties selected?: boolean showSkeleton: boolean + markerEnd: string } const props = defineProps() @@ -70,6 +71,7 @@ export default { :stroke-width="2" fill="none" :d="edgePath[0]" + :marker-end="showSkeleton ? markerEnd : ''" /> , props: MaybeRef, props: MaybeRef