Hi Team, We are trying to upgrade GoJS to 3.x. Once we upgrade, we are getting a few console errors & UI is not getting loaded.
Error:
Uncaught TypeError: Cannot read properties of undefined (reading ‘fill’)
at Bi.PO (go.mjs:18:126843)
at Bi.bb (go.mjs:18:125957)
at Ft.getPositions (go.mjs:13:82493)
at je.routeLinks (go.mjs:56:153196)
at Ft.doLinkRouting (go.mjs:13:77066)
at Ft.ZL (go.mjs:13:78853)
at Ft.CM (go.mjs:13:78014)
at Ft.br (go.mjs:13:23642)
at Ft.maybeUpdate (go.mjs:13:22834)
at go.mjs:13:22757
For version 3.0 we reorganized the code to support more generalized link routers. The Router for AvoidsNodes routing is built into the library for compatibility.
Try using the go-debug.mjs library to see if it reports any problems with your code.
Is there any way for you to give us a minimal stand-alone reproducible case for us to debug it?