[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 snomiao
parent 021d68fb5a
commit 44b2980d2d

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)
}