refactor: change pkg scope to vue-flow

This commit is contained in:
braks
2022-10-08 23:25:34 +02:00
committed by Braks
parent eb507c8e76
commit 8567e3733b
163 changed files with 288 additions and 288 deletions
+5 -5
View File
@@ -15,7 +15,7 @@ Generally you create edges by adding them to the model-value or the edges prop o
```vue
<script>
import { VueFlow } from '@braks/vue-flow'
import { VueFlow } from '@vue-flow/core'
export default defineComponent({
components: { VueFlow },
@@ -61,7 +61,7 @@ directly to the state.
```vue
<script setup>
import { VueFlow, useVueFlow } from '@braks/vue-flow'
import { VueFlow, useVueFlow } from '@vue-flow/core'
const initialNodes = ref([
{
@@ -197,7 +197,7 @@ will expect a slot to have the name `edge-custom`.
```vue{18,26}
<script setup>
import { VueFlow } from '@braks/vue-flow'
import { VueFlow } from '@vue-flow/core'
import CustomEdge from './CustomEdge.vue'
const elements = ref([
@@ -360,7 +360,7 @@ to your edge components.
```vue{19-26}
<script setup>
import { VueFlow } from '@braks/vue-flow'
import { VueFlow } from '@vue-flow/core'
const elements = ref([
{
@@ -397,7 +397,7 @@ triggered when the edge is clicked.
```vue
<script lang="ts" setup>
import type { EdgeProps, EdgeEventsOn } from '@braks/vue-flow'
import type { EdgeProps, EdgeEventsOn } from '@vue-flow/core'
// define your events
interface CustomEdgeEvents {