<template>
	<fullscreen-dialog v-model="dialogVisible" hide-destroy>
		<flow-canvas />
	</fullscreen-dialog>
</template>

<script setup lang="ts">
	import FullscreenDialog from '../components/fullscreen-dialog.vue'
	import flowCanvas from './flow-canvas.vue'
	import { ref } from 'vue'
	const dialogVisible = ref(false)
	const open = () => {
		console.log('open')
		dialogVisible.value = true
	}
	const close = () => {
		dialogVisible.value = false
	}
	defineExpose({
		open,
		close
	})
</script>
<style lang="less" scoped>
</style>
