From a0bd0dc55ba4826ac75ae4bbbe727a23ffa56963 Mon Sep 17 00:00:00 2001 From: Francesco Strappini Date: Tue, 10 Oct 2017 10:19:16 +0200 Subject: [PATCH] Added possibilty to access native Raphael object from diagram --- src/flowchart.chart.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/flowchart.chart.js b/src/flowchart.chart.js index e8d4d90c..e9cfc64a 100644 --- a/src/flowchart.chart.js +++ b/src/flowchart.chart.js @@ -15,6 +15,8 @@ function FlowChart(container, options) { this.start = null; } +FlowChart.prototype.paper=null; + FlowChart.prototype.handle = function(symbol) { if (this.symbols.indexOf(symbol) <= -1) { this.symbols.push(symbol);