Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

js error symbol.shiftX is not a function #125

Open
lindexi opened this issue Nov 28, 2017 · 3 comments
Open

js error symbol.shiftX is not a function #125

lindexi opened this issue Nov 28, 2017 · 3 comments

Comments

@lindexi
Copy link

lindexi commented Nov 28, 2017

I try your code but I found the code push:

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

AlpBilgin commented Dec 29, 2017

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?

@stof
Copy link

stof commented Jul 3, 2018

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.

@adrai
Copy link
Owner

adrai commented Jul 3, 2018

accepting pull requests ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants