Workflow drawing and configuration based on vue3
<template>
<WorkflowVue ref="workflowRef"></WorkflowVue>
</template>
<script setup>
import { onMounted, ref } from 'vue'
import WorkflowVue from 'workflow-vue'
import 'workflow-vue/dist/style.css'
import config from './config'
const workflowRef = ref()
onMounted(() => {
workflowRef.value?.setConfig(config)
})
<script>