| | |
| | | import CustomEdge from './ui/edges/CustomEdge.vue'; |
| | | import { onMounted } from 'vue'; |
| | | |
| | | const props = defineProps(['flowJson', 'agentNames','funcNames']); |
| | | const props = defineProps(['flowJson', 'agentNames', 'funcNames']); |
| | | |
| | | const nodeTypes = { |
| | | start: markRaw(StartNode), |
| | |
| | | @import '@vue-flow/minimap/dist/style.css'; |
| | | @import '@vue-flow/node-resizer/dist/style.css'; |
| | | |
| | | |
| | | #main-canvas { |
| | | --vf-handle: #2563eb; |
| | | --handle-size: 13px; |
| | | --resize-handle-size:8px; |
| | | .vue-flow__handle { |
| | | width: var(--handle-size); |
| | | height: var(--handle-size); |
| | | } |
| | | |
| | | .vue-flow__resize-control.handle { |
| | | width: var(--resize-handle-size); |
| | | height: var(--resize-handle-size); |
| | | // visibility: hidden; |
| | | } |
| | | } |
| | | </style> |
| | | |