Skip to content

Instantly share code, notes, and snippets.

@gowhari
Created July 13, 2020 18:57
Show Gist options
  • Select an option

  • Save gowhari/0c8136c76c3dbd84b9b0d750b8509ffa to your computer and use it in GitHub Desktop.

Select an option

Save gowhari/0c8136c76c3dbd84b9b0d750b8509ffa to your computer and use it in GitHub Desktop.

Revisions

  1. gowhari created this gist Jul 13, 2020.
    13 changes: 13 additions & 0 deletions drawplugintest.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    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;
    };

    });