nodra validate
A structural and evaluation check for CI or a quick sanity check before a real eval. Exits 0 only if all of these are true:
- The graph parses.
- There are no duplicate node Ids.
- The graph has a
GeometryOutputNode. - Every edge points to existing nodes and valid ports.
- The port types on both ends of every edge match.
Evaluate()does not throw.
Writes no files. Several GeometryOutputNodes only produce a warning, since just the first is used.
nodra validate [<graph.ndr>|-] [--json][<graph.ndr>|-]Graph file. Omit it or pass - to read the graph from standard input.--jsonPrint the result as JSON: ok, nodes, edges, errors and warnings. Without it, warnings and errors are printed as [warn] and [error] lines, followed by OK and the node and edge counts.