(compatible with Cytoscape)
Other formats, compatible with Cytoscape.js
(network only) (network + colors/shapes) var csrf_token = "IjM4MTg3YjUxY2YwNGMwMThlNDkyOGFhMmQxODgzNDIwYmJkYzNiMTEi.GkqXGA.zWn6_LN3ljio6OZqo-VLzQ3o2AU"; $.ajaxSetup({ beforeSend: function(xhr, settings) { if (!/^(GET|HEAD|OPTIONS|TRACE)$/i.test(settings.type) && !this.crossDomain) { xhr.setRequestHeader("X-CSRFToken", csrf_token); } } });