@vue-flow/background
Vue Flow: Background Component
This is a background component for Vue Flow. It can be used to create a background in your canvas.
🛠 Setup
# install
$ yarn add @vue-flow/background
# or
$ npm i --save @vue-flow/background
🎮 Quickstart
<script setup>
import { VueFlow } from '@vue-flow/core'
import { Background } from '@vue-flow/background'
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">
<Background />
</VueFlow>
</template>
Related Packages
@vue-flow/core
16,735,981
6,922
@vue-flow/controls
This is a control component for Vue Flow. It can be used to control the canvas i...
9,862,020
6,922
@vue-flow/minimap
This is a minimap component for Vue Flow. It can be used to add a minimap to the...
8,118,301
6,922
@vue-flow/node-resizer
This is a resizer component for Vue Flow. It can be used to resize your nodes.
3,424,741
6,920
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.3.2 | ^3.3.0 | MIT | |
| 1.3.1 | ^3.3.0 | MIT | |
| 1.3.0 | ^3.3.0 | MIT | |
| 1.2.0 | ^3.2.25 | MIT | |
| 1.1.0 | ^3.2.25 | MIT | |
| 1.0.5 | ^3.2.25 | MIT | |
| 1.0.4 | ^3.2.37 | MIT | |
| 1.0.3 | ^3.2.37 | MIT | |
| 1.0.2 | ^3.2.37 | MIT | |
| 1.0.1 | ^3.2.37 | MIT | |
| 1.0.0 | ^3.2.37 | MIT |