Description
Update the React Flow builder to support parent-child nesting when constructing the Node[] array. Child nodes should be assigned a parentId, and their positions calculated relative to their parent node rather than using absolute coordinates. This ensures correct rendering and alignment of nested structures within composite task containers.
Motivation
Enable accurate visual representation of nested workflows by aligning the underlying node construction with React Flow’s parent–child model, ensuring consistency between data structure and diagram layout
Proposed Implementation
No response
Definition of Done
Description
Update the React Flow builder to support parent-child nesting when constructing the
Node[]array. Child nodes should be assigned aparentId, and their positions calculated relative to their parent node rather than using absolute coordinates. This ensures correct rendering and alignment of nested structures within composite task containers.Motivation
Enable accurate visual representation of nested workflows by aligning the underlying node construction with React Flow’s parent–child model, ensuring consistency between data structure and diagram layout
Proposed Implementation
No response
Definition of Done