Skip to content

chore(deps): bump @swimlane/ngx-graph from 11.0.0 to 13.0.0 - #5874

Closed
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/bun/swimlane/ngx-graph-13.0.0
Closed

chore(deps): bump @swimlane/ngx-graph from 11.0.0 to 13.0.0#5874
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/bun/swimlane/ngx-graph-13.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 2, 2026

Copy link
Copy Markdown
Contributor

Bumps @swimlane/ngx-graph from 11.0.0 to 13.0.0.

Changelog

Sourced from @​swimlane/ngx-graph's changelog.

13.0.0

  • Enhancement: Workspace and library peer dependencies support Angular 22 (>=19.0.0 <23.0.0).
  • Chore: Pin Node.js to 24.18.0 (Volta and CI).

12.0.0

  • Enhancement: setViewportInteraction allows toggling pan, drag, and zoom in one imperative method.

  • Enhancement: During animated parent resizes, the SVG viewport syncs each animation frame via refreshViewportDimensions() (no layout); debounced update() still runs 200ms after resize settles for full relayout.

  • Fix: Graph resizes when its parent container changes size (e.g. side panels, flex layouts) via ResizeObserver, matching the previous window-resize update() behavior including layout.

  • Fix: drawComplete and stateChange (Output) now emit from tick finalization only when the internal graph model and bound link paths are ready (removed hasDims() polling in ngOnInit). drawComplete still fires once on first ready draw; Output fires on every subsequent ready tick.

  • Fix: hasClusterDims() and hasCompoundNodeDims() mirror hasNodeDims() when the graph model list is empty (respect bound inputs). hasDims() checks dimensions only for the grouping input that is bound (clusters or compound nodes — mutually exclusive modes).

  • Fix: possible console error when nodes or edges are not available during ngOnChanges.

  • Fix: Suppress layout animation on zoom.

  • Fix: Tests should honor BROWSER env.

  • Fix: CompoundNode and Cluster should transition size and position when animations are enabled.

  • Fix: tick() assigns oldNodes / oldClusters / oldCompoundNodes from the current graph before the post-tick requestAnimationFrame, so [class.old-node] is consistent for newly added ids on the same tick (fixes flash on zoom with mode: 'tween', including additive + snapAddedNodeIds).

  • Fix: #nodeTemplate / #linkTemplate / #clusterTemplate outlets reuse a stable ngTemplateOutletContext object per graph id (pruned each tick()) so consumer templates (e.g. tooltips) are not torn down and recreated on viewport-only updates such as zoom.

  • Fix: applyVisualContinuityBeforeLayout clears hidden on nodes/clusters/compound nodes whose id existed in the prior graph so host-owned [nodes] references do not keep stale hidden: true after tick() ran on a different layout object graph (reduces template blink when update() runs again).

  • Fix: Observable layouts (Cola, D3 force) faster than afterNextRender—superseded passes repaint link paths from the current model without full redrawLines so layout morph is not cancelled.

  • Fix: Layout morph keeps oldLine / oldTextPath on paths that are not resampled-tweening until the tween ends instead of snapping to the new route early.

  • Fix: Drag updateEdge for Dagre and DagreCluster uses orientation-aware paths aligned with DagreNodesOnly.

  • Chore: Update Storybook with documentation, examples.

  • Breaking: GraphComponent is now a standalone component built on signal APIs (input, output, model, contentChild, viewChildren) instead of decorator-based @Input / @Output and classic queries. The published NgxGraphModule and GraphModule wrappers are still there so existing NgModule-based applications can import the graph as before, but those modules are deprecated; new code should import GraphComponent (and add it to the consuming component or route imports array) the same way you would any other standalone piece.

  • Breaking: From TypeScript, inputs behave like signal readers: for example, read the current node list with graph.nodes() rather than graph.nodes. The layout, curve, and activeEntries bindings use model() where the graph needs to write back internally; consumers generally keep using normal property bindings, while code inside the component updates via .set().

  • Breaking: Outputs are OutputRef values, not EventEmitter, so they do not offer .pipe(). To keep using RxJS operators, turn an output into an observable with outputToObservable from @angular/core/rxjs-interop (in an appropriate injection context), or subscribe to the ref directly. Payload types (such as NgxGraphStateChangeEvent) are unchanged; only the subscription shape differs.

  • Breaking: @ViewChildren / @ContentChild style access is replaced with signal query functions, so in component code you call graph.linkElements() (or the other query methods) instead of keeping a QueryList on a property.

  • Breaking: The in-component animations: [ trigger(...) ] definition was removed. Enter styling on the root now uses the framework’s animate.enter class binding together with keyframes in the graph stylesheet, which replaces the old opacity :enter transition and avoids the deprecated trigger API. Angular does not support mixing the legacy animations metadata and animate.enter / animate.leave on the same component. The old [@.disabled] host binding for the legacy tree is also gone; it was scoped to the previous animation system and did not drive node positions, but projected templates that relied on that subtree being disabled for their own [@...] triggers may need a different approach.

  • Breaking: Optional viewport inputs zoomLevel, panOffsetX, and panOffsetY are now signal inputs wired through effect() to zoomTo and panTo, so the graph no longer assigns those via a property setter, and the effects run when the parent binding’s value actually changes. If a parent expression changes on every data refresh, you may see extra viewport updates; binding stable values (or leaving these inputs unset) matches the old mental model. Automatic fit and centering still come from the documented autoZoom, autoCenter, and zoomToFit$ behavior. If you use transitionAfterChanges with full-scope layout morph, whether the post-tick block runs zoomToFit or center can differ from the additive or instant paths, as before.

  • Breaking: If node.position is undefined, could cause a template error, ensure node has position via layout or proper handling in template.

  • Breaking: When using new transitions, any condition wrappers in Angular templates for node and edges could interfere with animations if the condition wraps a container node.

  • Breaking: draggingEnabled, panningEnabled renamed to enableDrag and enablePan.

  • Breaking: GraphComponent no longer listens to window resize; automatic resize requires a parent element whose size reflects layout changes. When [view] is set, container resize is not observed (unchanged dimension source).

12.0.0-alpha.6

  • Enhancement: During animated parent resizes, the SVG viewport syncs each animation frame via refreshViewportDimensions() (no layout); debounced update() still runs 200ms after resize settles for full relayout.
  • Breaking: GraphComponent no longer listens to window resize; automatic resize requires a parent element whose size reflects layout changes. When [view] is set, container resize is not observed (unchanged dimension source).
  • Fix: Graph resizes when its parent container changes size (e.g. side panels, flex layouts) via ResizeObserver, matching the previous window-resize update() behavior including layout.

12.0.0-alpha.5

  • Fix: drawComplete and stateChange (Output) now emit from tick finalization only when the internal graph model and bound link paths are ready (removed hasDims() polling in ngOnInit). drawComplete still fires once on first ready draw; Output fires on every subsequent ready tick.
  • Fix: hasClusterDims() and hasCompoundNodeDims() mirror hasNodeDims() when the graph model list is empty (respect bound inputs). hasDims() checks dimensions only for the grouping input that is bound (clusters or compound nodes — mutually exclusive modes).

12.0.0-alpha.4

  • Fix: possible console error when nodes or edges are not available during ngOnChanges.

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by surya-pabbineedi, a new releaser for @​swimlane/ngx-graph since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@swimlane/ngx-graph](https://github.com/swimlane/ngx-graph) from 11.0.0 to 13.0.0.
- [Changelog](https://github.com/swimlane/ngx-graph/blob/master/CHANGELOG.md)
- [Commits](swimlane/ngx-graph@11.0.0...13.0.0)

---
updated-dependencies:
- dependency-name: "@swimlane/ngx-graph"
  dependency-version: 13.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 2, 2026
@norman-abramovitz

Copy link
Copy Markdown
Contributor

Superseded by #5878: ngx-graph 12 renamed draggingEnabled to enableDrag, which the Helm release resource graph binds, so the bump needs a template change alongside it.

@dependabot @github

dependabot Bot commented on behalf of github Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/bun/swimlane/ngx-graph-13.0.0 branch September 2, 2026 19:05
norman-abramovitz pushed a commit that referenced this pull request Sep 2, 2026
Supersedes the Dependabot PR (#5874), whose build failed: ngx-graph 12
renamed the draggingEnabled input to enableDrag, and the Helm release
resource graph binds it. Rename the binding, and swap the deprecated
NgxGraphModule import for the standalone GraphComponent in the component
and its spec. Fragment covers the rest of this Dependabot batch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant