@WChen34 wrote:
Hi,
I am new to goJS and I am currently working on upgrading the version from 1.7.25 to 2.0.8. Currently I am importing the Figure.ts to my angular project in which the file calls GraphObject.make is used like
bodyShape = GraphObject.make(Shape, refernceToFigureName, {
object to describe fill and stroke
});I am not sure what else I need to do besides importing the Figure.ts file to make it compatible here.
Would I need to use the Shape.getFigureGenerator and pass it in the static make function?Please advise, thanks!
Posts: 7
Participants: 2