1.3.3 • Published 1 year ago

@vue-flow/additional-components v1.3.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Vue Flow: Additional Components

This package contains additional components that can be used with Vue Flow. These components include:

🛠 Setup

# install
$ yarn add @vue-flow/additional-components

# or
$ npm i --save @vue-flow/additional-components

🎮 Quickstart

<script setup>
import { VueFlow } from '@vue-flow/core'
import { Background, BackgroundVariant, Controls, MiniMap } from '@vue-flow/additional-components'
import initialElements from './initial-elements'

// some nodes and edges
const elements = ref(initialElements)
</script>
<template>
  <div style="height: 300px">
    <VueFlow v-model="elements">
      <!-- Adds a background to your graph. Use variant to specifiy which type of Background to use (lines, dots) -->
      <Background :variant="BackgroundVariant.Dots" />
      
      <!-- Adds zoom/interaction controls to your graph. You can add more buttons by using slots. -->
      <Controls />

      <!-- Adds a minimap to your graph. -->
      <MiniMap />
    </VueFlow>
  </div>
</template>
1.3.3

1 year ago

1.3.2

1 year ago

1.3.1

1 year ago

1.3.0

1 year ago

1.2.4

1 year ago

1.2.3

1 year ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago

0.0.1

2 years ago