chore(examples): cleanup

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2025-09-22 11:11:59 +02:00
parent 80c2b52d8f
commit f3dc522618

View File

@@ -1,30 +0,0 @@
<script setup>
import { Handle, Position } from '@vue-flow/core'
const props = defineProps({ handleCount: { type: Number } })
</script>
<template>
<div class="custom-node">
<Handle
v-for="n in props.handleCount"
:id="String(n - 1)"
:key="`${n}-${props.handleCount}`"
type="target"
:position="Position.Top"
:style="{ left: `${100 * (n / (props.handleCount + 1))}%` }"
/>
Custom
</div>
</template>
<style>
.custom-node {
min-width: 100px;
gap: 4px;
padding: 8px;
background: white;
border: 1px solid black;
border-radius: 4px;
}
</style>