Implemented 2D visualization for notes using Vue Flow

This commit is contained in:
Atharva Sawant
2024-03-08 11:23:47 +05:30
parent ffb5eeddf2
commit ce53a54dc5
488 changed files with 123675 additions and 20 deletions

38
node_modules/@vue-flow/controls/README.md generated vendored Normal file
View File

@@ -0,0 +1,38 @@
# Vue Flow: Controls Component
This is a control component for Vue Flow.
It can be used to control the canvas interactions, like zooming in, zooming out, fitting the view and locking interactions.
## 🛠 Setup
```bash
# install
$ yarn add @vue-flow/controls
# or
$ npm i --save @vue-flow/controls
```
## 🎮 Quickstart
```vue
<script setup>
import { VueFlow } from '@vue-flow/core'
import { Controls } from '@vue-flow/controls'
// import default controls styles
import '@vue-flow/controls/dist/style.css'
import initialElements from './initial-elements'
// some nodes and edges
const elements = ref(initialElements)
</script>
<template>
<VueFlow v-model="elements" fit-view-on-init class="vue-flow-basic-example">
<Controls />
</VueFlow>
</template>
```