Convert Group Nodes to Subgraph (#4972)

* fix: Convert groupNodes to Subgraph Properly

* fix: Use correct positioning with requestAnimationFrame when groupnodes are converted to Subgraph
This commit is contained in:
Johnpaul Chiwetelu
2025-08-19 04:58:56 +01:00
committed by GitHub
parent 30d48f2356
commit 7d2d006c07
4 changed files with 42 additions and 10 deletions

View File

@@ -1,3 +1,4 @@
import { PREFIX, SEPARATOR } from '@/constants/groupNodeConstants'
import {
type LGraphNode,
type LGraphNodeConstructor,
@@ -13,8 +14,6 @@ import { GroupNodeConfig, GroupNodeHandler } from './groupNode'
import './groupNodeManage.css'
const ORDER: symbol = Symbol()
const PREFIX = 'workflow'
const SEPARATOR = '>'
// @ts-expect-error fixme ts strict error
function merge(target, source) {