Gathering detailed insights and metrics for @jokerc/vue-flow-core
Gathering detailed insights and metrics for @jokerc/vue-flow-core
Gathering detailed insights and metrics for @jokerc/vue-flow-core
Gathering detailed insights and metrics for @jokerc/vue-flow-core
A highly customizable Flowchart component for Vue 3. Features seamless zoom & pan 🔎, additional components like a Minimap 🗺 and utilities to interact with state and graph.
npm install @jokerc/vue-flow-core
Typescript
Module System
Node Version
NPM Version
63.5
Supply Chain
97.6
Quality
79.9
Maintenance
100
Vulnerability
100
License
TypeScript (79.95%)
Vue (17.18%)
CSS (1.84%)
JavaScript (0.71%)
Dockerfile (0.21%)
HTML (0.12%)
Total Downloads
426
Last Day
1
Last Week
6
Last Month
32
Last Year
426
MIT License
5,115 Stars
3,792 Commits
325 Forks
40 Watchers
20 Branches
25 Contributors
Updated on May 23, 2025
Minified
Minified + Gzipped
Latest Version
1.42.6
Package Id
@jokerc/vue-flow-core@1.42.6
Unpacked Size
1.18 MB
Size
246.13 kB
File Count
105
NPM Version
11.1.0
Node Version
20.18.3
Published on
Mar 12, 2025
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
100%
6
Compared to previous week
Last Month
68.4%
32
Compared to previous month
Last Year
0%
426
Compared to previous year
Vue Flow: A highly customizable Vue 3 Flowchart component.
You can find a detailed explanation on how to get started here or jump right into the examples.
👶 Easy setup: Get started hassle-free - Built-in zoom- & pan features, element dragging, selection and much more
🎨 Customizable: Use your custom nodes, edges and connection lines and expand on Vue Flows' functionality
🚀 Fast: Tracks changes reactively and only re-renders the appropriate elements
🧲 Utils & Composition: Comes with graph helper and state composable functions for advanced uses
📦 Additional Components:
🖼 Background: With two built-in patterns and some configuration options like height, width or color.
🧭 Minimap: Shows current nodes in a small map shape in the bottom right corner
🕹 Controls: Control zoom behavior from a panel on the bottom left
🤖 And (many) more to come...
🦾 Reliable: Fully written in TypeScript
1$ npm i @vue-flow/core 2 3# or 4$ pnpm i @vue-flow/core 5 6# or 7$ yarn add @vue-flow/core
In Vue Flow, an application structure consists of nodes and edges, all of which are categorised as elements.
Each element requires a unique id.
Nodes additionally need an XY-position, while edges require a source and a target, both represented by node ids.
1<!-- Flowchart.vue --> 2<script setup> 3import { ref } from 'vue' 4import { VueFlow } from '@vue-flow/core' 5 6const nodes = ref([ 7 { id: '1', type: 'input', label: 'Node 1', position: { x: 250, y: 5 } }, 8 { id: '2', label: 'Node 2', position: { x: 100, y: 100 } }, 9 { id: '3', label: 'Node 3', position: { x: 400, y: 100 } }, 10 { id: '4', label: 'Node 4', position: { x: 400, y: 200 } }, 11]) 12 13const edges = ref([ 14 { id: 'e1-2', source: '1', target: '2', animated: true }, 15 { id: 'e1-3', source: '1', target: '3' }, 16]) 17</script> 18 19<template> 20 <VueFlow v-model:nodes="nodes" v-model:edges="edges"></VueFlow> 21</template>
⚠️ Make sure to import the necessary styles:
1/* import the required styles */ 2@import "@vue-flow/core/dist/style.css"; 3 4/* import the default theme (optional) */ 5@import "@vue-flow/core/dist/theme-default.css";
Do not scope these styles with scoped
in your component.
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.
1# install pnpm if you haven't already 2$ npm i -g pnpm 3 4# start examples 5$ pnpm dev 6 7# build all packages 8$ 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!
No vulnerabilities found.
No security vulnerabilities found.