Hello!
I am having trouble trying to use a custom figure and using the method .add() with the constructor of go.Shape, I have defined a custom figure but the program doesn’t start and is showing me this error…
The template I am trying to create looks like this…
Yes! it is actually an error that is appearing when the applications is loading at the first time. I mean I am using angular and the component that execute the defineFigureGenerator is not present unitl I click on a button.
So lets say I close an reopen the app, the app is not loading.
The example that you are attaching there is almost what I am doing, but imagine for some reason before your code is executing something else is checking that the figure is unknown.