ngx-graph: Angular 15 not supported

Describe the bug Angular 15 is not supported

To Reproduce Upgrade to angular 15 using ng update

Expected behavior All checks should pass OK. Instead I’m getting npm ERR! Could not resolve dependency: npm ERR! peer @angular/animations@"10.x || 11.x || 12.x || 13.x || 14.x" from @swimlane/ngx-graph@8.0.2

Screenshots

Demo No demo

ngx-graph version @swimlane/ngx-graph": "^8.0.2"

Additional context Add any other context about the problem here.

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Reactions: 23
  • Comments: 20 (1 by maintainers)

Most upvoted comments

Angular 15 with 8.0.3 breaks with following error

ERROR TypeError: linkSelection.attr(...).transition is not a function
        at swimlane-ngx-graph.mjs:1785:22
        at Array.map (<anonymous>)
        at QueryList.map (core.mjs:22857:30)
        at GraphComponent.redrawLines (swimlane-ngx-graph.mjs:1779:27)
        at NodeComponent.updateGraph (node.component.ts:116:13)
        at node.component.ts:81:12
        at timer (zone.js:2405:41)
        at _ZoneDelegate.invokeTask (zone.js:406:31)
        at Object.onInvokeTask (core.mjs:26218:33)
        at _ZoneDelegate.invokeTask (zone.js:405:60)

It will be great, if someone can comment on

  • Is this issue tracked and any plan date for release ?

Hi, workaround for this one is if you install d3-transition v1.1.3 in your project .

Hi, when will this be available, I need the support for Angular 15, this is a blocker.

When will the issue with Angular 15 be resolved. Currently it breaks on creating transition.