examples: add quasar example

This commit is contained in:
bcakmakoglu
2022-06-03 19:32:46 +02:00
committed by Braks
parent 8dd7c79700
commit 330d6d7eac
87 changed files with 2290 additions and 166 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
<script lang="ts" setup>
import type { Elements } from '../../packages/vue-flow'
import { Background, Controls, MiniMap, VueFlow, isNode, useVueFlow } from '../../packages/vue-flow'
import type { Elements } from '@braks/vue-flow'
import { Background, Controls, MiniMap, VueFlow, isNode, useVueFlow } from '@braks/vue-flow'
const elements = ref<Elements>([
{ id: '1', type: 'input', label: 'Node 1', position: { x: 250, y: 5 }, class: 'light' },
+2 -2
View File
@@ -1,6 +1,6 @@
<script lang="ts">
import type { Elements, FlowEvents, FlowInstance } from '../../packages/vue-flow'
import { Background, Controls, MiniMap, VueFlow, addEdge, isNode } from '../../packages/vue-flow'
import type { Elements, FlowEvents, FlowInstance } from '@braks/vue-flow'
import { Background, Controls, MiniMap, VueFlow, addEdge, isNode } from '@braks/vue-flow'
export default defineComponent({
name: 'BasicOptionsAPI',
+2 -2
View File
@@ -1,6 +1,6 @@
<script lang="ts" setup>
import type { Position, ValidConnectionFunc } from '../../packages/vue-flow'
import { Handle } from '../../packages/vue-flow'
import type { Position, ValidConnectionFunc } from '@braks/vue-flow'
import { Handle } from '@braks/vue-flow'
interface Props {
id: string