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