Closed TianrenWang closed 5 years ago
@TianrenWang Since I am not so familiar with Angular.js, I didn't test the extension there. But I know someone who encountered with the same error and he fixed it by adding the path of numeric in node modules ("node_modules/numeric/numeric-1.2.6.min.js") to the scripts field in the angular.json file (projects -> app_name -> architect -> build -> options -> scripts). I don't know whether this is a proper solution, but it can solve your problem for now.
Thank you very much. That did indeed solve the problem.
Important: Beginning from v1.2.2, numeric.js dependency is removed from fCoSE. Before v1.2.2, angular.js was requiring a path to be added into angular.json file as mentioned above. From now on, there is no need to this path and users who added this path before must remove it when they update fCoSE to a version >=1.2.2.
Thanks!
I am getting the following error:
I forked this https://github.com/asiftasleem/angular-2-cytoscape repo. I modified the script that calls the fcose layout (called ng-cyto.component.ts) like this:
Any help would be appreciated.