First: Could it be the case, that the new Widgets are not yet in the pre-packed JS file from https://unpkg.com/vtk.js yet? Because I can easily access vtk.Interaction.Widgets through it, but vtk.Widgets is undefined. In the npm package though, I can find them
Secondly: Could you please lay down the very basic pipeline to create one of the new widgets and attach it to a renderer? I am trying to figure it out by trial and error combined with the information from Widgets | vtk.js, but so far I don’t really get anywhere. I can use the StateBuilder but calling the Widgetfactory returns a Widget(I guess?) which causes the following errors
Uncaught TypeError: Cannot read property ‘onModified’ of undefined
or when trying to call methods on the result
Uncaught TypeError: Cannot destructure propertyviewId
of ‘undefined’ or ‘null’.