update: no vue-2 compatability (doesn't work with current build)

* README.md
This commit is contained in:
Braks
2021-07-10 16:42:39 +02:00
parent 150438d08f
commit d50d74598b
34 changed files with 35 additions and 42 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import { computed, CSSProperties, defineComponent, PropType } from 'vue-demi';
import { computed, CSSProperties, defineComponent, PropType } from 'vue';
import EdgeText from './EdgeText';
+1 -1
View File
@@ -1,5 +1,5 @@
import { Position } from '../../types';
import { defineComponent, HTMLAttributes, PropType } from 'vue-demi';
import { defineComponent, HTMLAttributes, PropType } from 'vue';
const shiftX = (x: number, shift: number, position: Position): number => {
if (position === Position.Left) return x - shift;
+1 -1
View File
@@ -1,5 +1,5 @@
import { EdgeTextProps, Rect } from '../../types';
import { defineComponent, PropType, ref, watch } from 'vue-demi';
import { defineComponent, PropType, ref, watch } from 'vue';
const EdgeText = defineComponent({
props: {
+1 -1
View File
@@ -1,4 +1,4 @@
import { defineComponent } from 'vue-demi';
import { defineComponent } from 'vue';
import EdgeText from './EdgeText';
import { getMarkerEnd, getCenter } from './utils';
+1 -1
View File
@@ -1,4 +1,4 @@
import { defineComponent } from 'vue-demi';
import { defineComponent } from 'vue';
import { EdgeSmoothStepProps } from '../../types';
import SmoothStepEdge from './SmoothStepEdge';
+1 -1
View File
@@ -1,4 +1,4 @@
import { defineComponent } from 'vue-demi';
import { defineComponent } from 'vue';
import EdgeText from './EdgeText';
import { getMarkerEnd } from './utils';
+1 -1
View File
@@ -1,4 +1,4 @@
import { Component, computed, defineComponent, ref } from 'vue-demi';
import { Component, computed, defineComponent, ref } from 'vue';
import store from '../../store';
import { Edge, EdgeProps, Position, WrapEdgeProps } from '../../types';