# vue-flow-editor **Repository Path**: poerlang/vue-flow-editor ## Basic Information - **Project Name**: vue-flow-editor - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 1 - **Created**: 2021-12-15 - **Last Updated**: 2025-12-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Vue Flow ๐ŸŒŠ [![vue flow](./src/assets/vue-flow.gif)](https://vueflow.dev/) ![top-language](https://img.shields.io/github/languages/top/bcakmakoglu/vue-flow) [![dependencies Status](https://status.david-dm.org/gh/bcakmakoglu/vue-flow.svg)](https://david-dm.org/bcakmakoglu/vue-flow) [![devDependencies Status](https://status.david-dm.org/gh/bcakmakoglu/vue-flow.svg?type=dev)](https://david-dm.org/bcakmakoglu/vue-flow?type=dev) ![vulnerabilities](https://img.shields.io/snyk/vulnerabilities/github/bcakmakoglu/vue-flow) ![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/bcakmakoglu/vue-flow) ![GitHub last commit](https://img.shields.io/github/last-commit/bcakmakoglu/vue-flow) ### __Vue Flow: A highly customizable Vue3 Flowchart component.__ With Vue Flow you can build your own, customized node-based applications like static diagrams or even more complex and interactive editors! You can find a detailed explanation on how to get started in the [documentation](https://vueflow.dev/docs) or check the [examples](https://vueflow.dev/examples). If you want to see how it's used with Nuxt3, check out the [docs repo](https://github.com/bcakmakoglu/vue-flow-docs)! ## โญ๏ธ Features - ๐Ÿ‘ถ Easy to use: Seamless zooming & panning behaviour and single and multi-selections of elements - ๐ŸŽจ Customizable: Different and edge types and support for custom nodes with multiple handles and custom edges - ๐Ÿš€ Fast rendering: Only nodes that have changed are re-rendered and only those that are in the viewport are displayed (optionally) - ๐Ÿงฒ Utils: Snap-to-grid and graph helper functions - ๐Ÿ“ฆ Additional Components: - ๐Ÿ–ผ Background - ๐Ÿงญ Minimap - ๐Ÿ•น Controls - ๐Ÿฆพ Fully written in TypeScript ## ๐Ÿ›  Setup ```bash $ npm i @braks/vue-flow # or $ yarn add @braks/vue-flow ``` ## ๐ŸŽฎ Quickstart A flow consists of **nodes** and **edges** (or just nodes). Together we call them **elements**. You can pass a set of elements as a prop to the Flow component. **Each element needs a unique id.** A node needs a position and a label and an edge needs a source (node id) and a target (node id). These are the most basic parameters for a flow. A simple setup could look like this: ```vue ``` **Make sure to import the necessary styles:** ```css /* main.css */ /* import the required styles */ @import "node_modules/@braks/vue-flow/dist/style.css"; /* import the default theme (optional) */ @import "node_modules/@braks/vue-flow/dist/theme-default.css"; ``` ### โ–ธ Vue 2 **_This library doesn't work with Vue2._** ## ๐Ÿงช Development ```bash # start (dev) $ yarn dev # build dist $ yarn build ``` ## ๐Ÿ’ Credit Thanks to [webkid](https://webkid.io/) for creating React Flow! Without their work this would've been impossible for me.