Issue
How can I add sigmajs in angular 7 and how to use sigma js in angular 7. Also, I want to use the startForceAtlas2 package.
Solution
I got your question
- first install
npm install sigma --save
- in your componet
declare const sigma: any;
- in angular json import sigma script like
"node_modules/sigma/build/sigma.min.js",
- and call graph function of sigma js as example of sigmajs
and you will get a graph.
Answered By - JAY PATEL
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.