Open chiradeep-nanabala opened 4 years ago
Have you included the raphael script? https://github.com/adrai/flowchart.js/blob/master/example/index.html#L9
Sorry, I'm not familiar with angular... but when I open your files, I get:
How did you execute the above files? In angular or just opened normal html file? I am not getting the output in angular...!
I opened the served html
Can you create a codesandbox example?
I am trying to integrate flowchart.js with angular. I have included all the required files. But, I am getting some error like this..
zone-evergreen.js:172 Uncaught TypeError: Raphael is not a constructor at new FlowChart (flowchart-latest.js:955) at Object.drawSVG (flowchart-latest.js:675) at btn.onclick (check.js:14) at window.onload (check.js:57) at wrapFn (zone-evergreen.js:1202) at ZoneDelegate.invokeTask (zone-evergreen.js:400) at Zone.runTask (zone-evergreen.js:168) at ZoneTask.invokeTask [as invoke] (zone-evergreen.js:481) at invokeTask (zone-evergreen.js:1596) at globalZoneAwareCallback (zone-evergreen.js:1633) Can anyone find the issue.. Thanks in Advance.