json.types @node_types.each do |node_type|
  if node_type.name.to_s == "未分类"
    json.extract! node_type, :id, :name
    json.nodes @no_type_nodes do |node|
      json.extract! node, :id, :label, :name, :full_name, :description, :action_node_types_id, :yaml, :sort_no, :use_count
      json.inputs node.action_node_inputs do |node_input|
        json.partial! "node_input", locals: { node_input: node_input, node: node }
      end
    end
  else
    json.extract! node_type, :id, :name
    json.nodes node_type.action_nodes do |node|
      json.extract! node, :id, :label, :name, :full_name, :description, :action_node_types_id, :yaml, :sort_no, :use_count
      json.inputs node.action_node_inputs do |node_input|
        json.partial! "node_input", locals: { node_input: node_input, node: node }
      end
    end
  end

end
