
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
@braks/vue-flow
Advanced tools
[](https://vueflow.dev/)    more to come...
๐ฆพ Reliable: Fully written in TypeScript
$ npm i @braks/vue-flow
# or
$ yarn add @braks/vue-flow
A flow consists of nodes and edges (or just nodes). Together they are called elements.
Each element needs a unique id.
A node also needs an XY position. An edge needs a source (node id) and a target (node id).
A basic setup looks like this:
<!-- Flowchart.vue -->
<script setup>
import { VueFlow } from '@braks/vue-flow'
const elements = ref([
{
id: '1',
label: 'node 1',
position: { x: 100, y: 100 },
},
{
id: '2',
label: 'node 2',
position: { x: 100, y: 200 },
},
{
id: 'e1-2',
target: '2',
source: '1',
},
])
</script>
<template>
<VueFlow v-model="elements"></VueFlow>
</template>
โ ๏ธ Make sure to import the necessary styles:
/* import the required styles */
@import "@braks/vue-flow/dist/style.css";
/* import the default theme (optional) */
@import "@braks/vue-flow/dist/theme-default.css";
This library doesn't work with Vue 2.
Vue Flow uses features that are exclusive to Vue 3, therefore there is no support for Vue 2, nor will there be any support in the future, sorry.
# skip if you already have pnpm installed
$ npm i -g pnpm
# start examples
$ pnpm dev
# build all packages
$ pnpm build
To start using development containers, install the Docker
extension
for VSCode.
After installing the extension, open the connection menu either
on the bottom left or open it via the commands tab.
Select the Open Folder in Container
option to mount the project.
The development container will spin up all packages example apps and forward the ports to your machine.
Join the Vue Flow Discord server!
Here you can ask questions to the community, propose ideas for new features or share your work that you have built with Vue Flow.
This project is built with
Many thanks to the kind individuals who leave a star. Your support is much appreciated!
[0.4.41] - 2022-10-07
FAQs
[](https://vueflow.dev/)   ![GitHub code size in bytes](ht
The npm package @braks/vue-flow receives a total of 714 weekly downloads. As such, @braks/vue-flow popularity was classified as not popular.
We found that @braks/vue-flow demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.ย It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.