<script setup>
import { Position, Handle } from '@vue-flow/core'

defineProps(['label', 'process', 'disabled'])
</script>

<template>
  <div class="flow-node flow-node-end">
    <div class="flow-node__label">{{ label }}</div>
    <Handle type="target" :position="Position.Left" />
    <p class="flow-node-tips" v-if="process == 1 && !disabled">自动化旅程的结束不需要维护</p>
  </div>
</template>

<style>
@import './style.css';
</style>
