[refactor] Use public nodes getter instead of private _nodes property (#5369)

This commit is contained in:
Benjamin Lu
2025-09-05 09:11:39 -07:00
committed by GitHub
parent f0c607e940
commit fac27723fb

View File

@@ -70,7 +70,7 @@ export function useSlotLayoutSync() {
if (!graph) return
// Initial registration for all nodes in the current graph
for (const node of graph._nodes) {
for (const node of graph.nodes) {
computeAndRegisterSlots(node)
}