validateGraph

Validates the graph and checks for unsupported operations. Leverages existing Operation interface validation. Implements fail-fast validation before code generation.

Return

ValidationResult indicating if the graph is valid for C code generation