* chore(docs): update basic example styles * chore(docs): update confirm delete example styles * chore(docs): update dnd example styles * chore(docs): update hidden example * chore(docs): update update node example * chore(docs): update node toolbar example styles * chore(docs): update transition example styles * chore(docs): cleanup basic example els * chore(docs): cleanup examples
15 lines
385 B
Vue
15 lines
385 B
Vue
<script setup>
|
|
import { Handle, Position } from '@vue-flow/core'
|
|
import { NodeResizer } from '@vue-flow/node-resizer'
|
|
|
|
defineProps(['data'])
|
|
</script>
|
|
|
|
<template>
|
|
<NodeResizer min-width="100" min-height="30" />
|
|
|
|
<Handle type="target" :position="Position.Left" />
|
|
<div style="padding: 10px">{{ data.label }}</div>
|
|
<Handle type="source" :position="Position.Right" />
|
|
</template>
|