Issues after upgrading GoJS from 2.3.5 to 3.x

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

UI: Loading State: Loading Graph Data

Could you help here?

Precisely which version 3 library are you using to get that stack trace? I hope it is the latest.

Have you read the changelog about the minor incompatibilities version 3 introduced? Change Log | GoJS

Yes, we are using the latest version (3.0.19). We are using the routing property on the Link shape which returns

function getValue(go) {
return go.Link.AvoidsNodes;
}

Do we need to update this @walter ? What will be the change here? I see a few changes have been made in 3.0.10.

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?