该插件允许定义回调,以允许或拒绝用户输入的节点选择(激活节点方法)。
checkbox plugin
a callback (function) which is invoked in the instance's scope and receives two arguments - the node and the event that triggered the activate_node
call. Returning false prevents working with the node, returning true allows invoking activate_node. Defaults to returning true
.