refactor(core): use vue-flow__marker on marker defs el
This commit is contained in:
@@ -72,9 +72,7 @@ export default {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<template v-if="dimensions.width && dimensions.height">
|
<template v-if="dimensions.width && dimensions.height">
|
||||||
<svg class="vue-flow__edges vue-flow__container">
|
|
||||||
<MarkerDefinitions />
|
<MarkerDefinitions />
|
||||||
</svg>
|
|
||||||
|
|
||||||
<svg
|
<svg
|
||||||
v-for="edge of getEdges"
|
v-for="edge of getEdges"
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
<svg class="vue-flow__marker">
|
||||||
<defs>
|
<defs>
|
||||||
<MarkerSymbols
|
<MarkerSymbols
|
||||||
v-for="marker of markers"
|
v-for="marker of markers"
|
||||||
@@ -64,4 +65,5 @@ export default {
|
|||||||
:orient="marker.orient"
|
:orient="marker.orient"
|
||||||
/>
|
/>
|
||||||
</defs>
|
</defs>
|
||||||
|
</svg>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { MarkerType } from '../../types/edge'
|
import { MarkerType } from '../../types'
|
||||||
import type { MarkerProps } from '../../types/edge'
|
import type { MarkerProps } from '../../types'
|
||||||
|
|
||||||
const {
|
const {
|
||||||
id,
|
id,
|
||||||
|
|||||||
Reference in New Issue
Block a user