Make it easy to add new node types without rewriting core logic
Details
- Create a central registry object (e.g. Node Registry) where each node type is defined with:
- id/name
- input types
- output type
- evaluation function
Use this registry for both UI and evaluation.