Workflow graph

Validates a LiteGraph-style node graph: node and port existence, type compatibility, optional inputs, cycles, orphan nodes and the execution order.