I am trying to add an image to simulation which is pretty basic use case. But, I'm getting below error. From the error it is obvious that, TableNode is not initialized properly, causing failure to read property 'size' when trying to scale node.
TableNode.js? [sm]:42 Uncaught TypeError: Cannot read properties of undefined (reading 'size')
at new TableNode (TableNode.js? [sm]:42:64)
Line 42 where error is showing here:
const scaleX = modelViewTransform.modelToViewDeltaX( table.size.width ) / this.width;
In fact, I am able to display some other image with similar approach, but when I try to add another image giving above error.
Thanks in advance