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