Graf przepływu pracy
Sprawdza graf węzłów w stylu LiteGraph: istnienie węzłów i portów, zgodność typów, wejścia opcjonalne, cykle, węzły izolowane i kolejność wykonania.
Validates a LiteGraph-style node graph: node and port existence, type compatibility, optional inputs, cycles, orphan nodes and the execution order.