Skip to content

Instantly share code, notes, and snippets.

View gowhari's full-sized avatar

Iman Gowhari gowhari

View GitHub Profile
Draw.loadPlugin(function(ui) {
console.log("iman: Draw.loadPlugin");
var graphCreateSvgImageExport = Graph.prototype.createSvgImageExport;
Graph.prototype.createSvgImageExport = function() {
console.log("iman: Graph.prototype.createSvgImageExport");
var exp = graphCreateSvgImageExport.apply(this, arguments);
return exp;