NodeDef struct