@vue-flow/core
Advanced tools
Comparing version 1.33.5 to 1.33.6
import type { MaybeRefOrGetter } from 'vue' | ||
import type { KeyFilter } from '@vueuse/core' | ||
export interface UseKeyPressOptions { | ||
actInsideInputWithModifier?: MaybeRefOrGetter<boolean> | ||
} | ||
export declare function isInputDOMNode(event: KeyboardEvent): boolean | ||
@@ -16,2 +19,3 @@ /** | ||
onChange?: (keyPressed: boolean) => void, | ||
options?: UseKeyPressOptions, | ||
): import('vue').Ref<boolean> |
{ | ||
"name": "@vue-flow/core", | ||
"version": "1.33.5", | ||
"version": "1.33.6", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -85,20 +85,11 @@ # Vue Flow 🌊 | ||
const nodes = ref([ | ||
{ | ||
id: '1', | ||
label: 'node 1', | ||
position: {x: 100, y: 100}, | ||
}, | ||
{ | ||
id: '2', | ||
label: 'node 2', | ||
position: {x: 100, y: 200}, | ||
}, | ||
{ id: '1', type: 'input', label: 'Node 1', position: { x: 250, y: 5 } }, | ||
{ id: '2', label: 'Node 2', position: { x: 100, y: 100 } }, | ||
{ id: '3', label: 'Node 3', position: { x: 400, y: 100 } }, | ||
{ id: '4', label: 'Node 4', position: { x: 400, y: 200 } }, | ||
]) | ||
const edges = ref([ | ||
{ | ||
id: 'e1-2', | ||
target: '2', | ||
source: '1', | ||
}, | ||
{ id: 'e1-2', source: '1', target: '2', animated: true }, | ||
{ id: 'e1-3', source: '1', target: '3' }, | ||
]) | ||
@@ -108,3 +99,3 @@ </script> | ||
<template> | ||
<VueFlow :nodes="nodes" :edges="edges"></VueFlow> | ||
<VueFlow v-model:nodes="nodes" v-model:edges="edges"></VueFlow> | ||
</template> | ||
@@ -111,0 +102,0 @@ ``` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1198189
34309
178