public static NodeTree_Element_Option OneVarFunc(string func, string title, string tooltip, string var = "f", float defVal = float.NaN) { return new Option((g, r) => new SimpleNode(r, func + "('" + var + "')", title, new P(var, defVal)), title, tooltip); }