json.visualization @dataset.visualization.as_json
json.visualization do
  json.dataset_id @dataset.id
  json.node_custom_fields @dataset.node_custom_fields
  json.relation_custom_fields @dataset.relation_custom_fields
end
json.nodes @dataset.nodes, partial: 'api/nodes/node', as: :node
json.visualization @dataset.visualization.as_json
json.visualization do
  json.dataset_id @dataset.id
  json.node_custom_fields @dataset.node_custom_fields
  json.relation_custom_fields @dataset.relation_custom_fields
end
json.nodes @dataset.nodes.order(:name), partial: 'api/nodes/node', as: :node
Fix nodes order after performing a network analysis
Fix nodes order after performing a network analysis
