Skip to content

build(deps): Bump d3-dag from 0.11.5 to 1.1.0#4407

Merged
gusevda merged 6 commits intomainfrom
dependabot/npm_and_yarn/d3-dag-1.1.0
Jan 12, 2025
Merged

build(deps): Bump d3-dag from 0.11.5 to 1.1.0#4407
gusevda merged 6 commits intomainfrom
dependabot/npm_and_yarn/d3-dag-1.1.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jan 4, 2025

Bumps d3-dag from 0.11.5 to 1.1.0.

Changelog

Sourced from d3-dag's changelog.

[1.1.0] - 2023-09-30

Added

  • Re-added roots and descendants as well as their counterparts leaves and ancestors which now work with arbitrary graph structure.

[1.0.0] - 2023-07-02

This change is a major rewrite of a lot of the library, so expect some effort to migrate. Most invocations stayed similar, so hopefully the change won't be too difficult.

Upgrading

This is a rough overview of the next three sections.

  • The old static dag data structure has been upgraded to a dynamic graph structure. This includes a lof of changes:
    • Graph and GraphNode aren't iterable, you must call .nodes() to get an iterator.
    • Graph#nodes() no longer has traversal order. To get someting similar to "before" use the .topological() method.
    • All graph methods now return iterables, so they must be collected into an array via [..grf.nodes()] if you need an array.
    • A few methods got new names to be more concrete, grf#size() became grf#nnodes() and now supports counting links with grf#nlinks().
    • Points on links are now tuples of numbers, e.g. [1, 1] not { x: 1, y: 1 }, adjust usage accordingly.
  • Layout operators no longer have a .size(...) method, instead use
  • dagStratify, dagConnect, and dagHierarchy are now prefixed by graph, e.g. graphStratify, since they now operate on the dynamic graph structure. .tweaks([tweakSize(...)]).
  • All types have been given consistent naming, check the api documentation to find the new name.

Added

  • Tweaks - a set of various tweaks that modify a layout.
  • a toJSON method on graphs so they can be serialized.

Removed

  • Automatic flow typings - The current version uses the new in/out type designations, and there's an issue with upgrading flowgen's support
  • layeringCoffmanGraham - This method was rarely used, and is relatively expensive and hard to maintain.
  • .size() funtion on layouts - instead creating a size tweak.

... (truncated)

Commits

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jan 4, 2025
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/d3-dag-1.1.0 branch 10 times, most recently from 6b2a77a to e8982a3 Compare January 10, 2025 17:10
Bumps [d3-dag](https://github.com/erikbrinkman/d3-dag) from 0.11.5 to 1.1.0.
- [Changelog](https://github.com/erikbrinkman/d3-dag/blob/main/CHANGELOG.md)
- [Commits](https://github.com/erikbrinkman/d3-dag/commits)

---
updated-dependencies:
- dependency-name: d3-dag
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/d3-dag-1.1.0 branch from e8982a3 to c10df1d Compare January 11, 2025 08:46
@gusevda gusevda force-pushed the dependabot/npm_and_yarn/d3-dag-1.1.0 branch from a755b45 to b2e94c5 Compare January 12, 2025 19:53
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