How do I import Figures.js in angular so that I can use the shapes defined in the library?
Is it the same library when I installed npm install figures?
Thanks
How do I import Figures.js in angular so that I can use the shapes defined in the library?
Is it the same library when I installed npm install figures?
Thanks
If I only want one or a few specific figures, I would just copy their definitions into my source code.
If I want a lot of them (which is an unusual situation), I would copy the extensions/Figures.js
(for script tags) or extensionsJSM/Figures.ts
file (if wanting TypeScript) into my project and fix its import
statement to refer to the same GoJS library file that the rest of my code is using.
figures - npm is completely unrelated to GoJS.
Thanks. It works now.