flowchart.js icon indicating copy to clipboard operation
flowchart.js copied to clipboard

js error symbol.shiftX is not a function

Open lindexi opened this issue 8 years ago • 3 comments

I try your code but I found the code push:

  symbol.shiftX is not a function
     at FlowChart.render (flowchart.chart.js:80)

lindexi avatar Nov 28 '17 14:11 lindexi

I hit this one too.

I did the following: 1-"npm install flowchart.js" into project 2- Import into Angular2 module using: import * as flowchart from 'flowchart.js'; 3- copy example code 4- Example code doesn't work so I did what what #59 says. 5- Vertices of the graph are visible in the Angular2 app after step 3, but I get this message now. ERROR TypeError: symbol.shiftX is not a function at FlowChart.render (flowchart.chart.js:80) at Object.drawSVG (flowchart.parse.js:94)

Is this some sort of dependency issue?

AlpBilgin avatar Dec 29 '17 12:12 AlpBilgin

I got the same error when making a mistake in my input string (forgetting the end: part for my end node, and putting the label directly).

It would be great if the parser could report errors instead.

stof avatar Jul 03 '18 11:07 stof

accepting pull requests ;-)

adrai avatar Jul 03 '18 11:07 adrai