def METHOD_NAME(self, context, layout):
    # with attrs socket connected all params must be passed via this socket, to override node variables
    attr_socket = self.inputs.get('attributes')
    if attr_socket and attr_socket.is_linked:
        return
    col = layout.column()
    row1 = col.row(align=True)
    row1.prop(self, "smooth_selected_mode", text="mode", expand=True)
    row2 = col.row(align=True)
    row2.prop(self, "type_selected_mode", text="type", expand=True)
    col.prop(self, "n_verts", text='num verts')