Skip to content
This repository was archived by the owner on Mar 31, 2025. It is now read-only.

chore(deps): update dependency react-d3-graph to v2#106

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/react-d3-graph-2.x
Open

chore(deps): update dependency react-d3-graph to v2#106
renovate[bot] wants to merge 1 commit intomainfrom
renovate/react-d3-graph-2.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Jan 24, 2025

This PR contains the following updates:

Package Type Update Change OpenSSF
react-d3-graph dependencies major ^1.0.1 -> ^2.0.0 OpenSSF Scorecard

Release Notes

danielcaldas/react-d3-graph (react-d3-graph)

v2.6.0

Compare Source

Full Changelog

Implemented enhancements:

  • Arrow color go out of sync with link color when link.color or link.highlightColor is updated #​360
  • Error: react-d3-graph :: Graph :: you have not provided enough data for react-d3-graph to render something. You need to provide at least one node #​347
  • get x, y and other node informations with event onMouseOverNode() #​306
  • Arrows don't point to nodes as expected #​265
  • feature: expose node information to node related callbacks #​385 (LonelyPrincess)
  • Don't throw error when there are no nodes #​381 (LonelyPrincess)

Fixed bugs:

  • Some properties make the graph becomes unresetable #​372
  • Node does not move/update when given coordinates or new coordinates #​295

Closed issues:

  • Bendable links #​373
  • High res pdf #​356
  • Rendering graph with initial node positions doesn't properly place nodes without links #​350
  • Enhance control on links appearance - support dashed links #​343
  • Error when attempting to drag custom nodes #​338
  • fontSize parameter should be working for single node #​330
  • Adding the ability to completely freeze the graph #​308

Merged pull requests:

v2.5.0

Compare Source

Full Changelog

Implemented enhancements:

  • make node.size accept both height and width #​336

Fixed bugs:

  • Passing an empty data.links array throws a warning #​323
  • renderLabel params are not working for single node #​322
  • The release version does not contain some fixes #​314

Closed issues:

  • Docs missing collapsible sandbox example #​337
  • Multiple Edges between 2 nodes #​335
  • Ability to display node labels in different positions relative to the node center #​299

Merged pull requests:

v2.4.1

Compare Source

Full Changelog

Special announcement:

Implemented enhancements:

  • Make link end marker's width and height configurable #​238
  • Avoid flashing graph when drag&drop node #​237
  • Make node.renderLabel available at node level #​192

Sandbox & Documentation

  • Anchored links per each configuration property starting on version 2.4.0
  • Deleting node is sandbox breaks the demo if the number of nodes reaches 0 #​287

Fixed bugs:

  • Collapsible node with no links errors out on click #​292
  • Deleting node is sandbox breaks the demo if the number of nodes reaches 0 #​287
  • onNodePositionChange doesn't always trigger #​264
  • Custom node example is not loading on the sandbox #​252
  • Not passing data.links breaks the library while it should throw a custom error #​211

Closed issues:

  • automaticRearrangeAfterDropNode - play button from live demo #​261
  • Improve live example by replacing all window.alerts by toasts or other non blocking alerts #​241
  • Add tooltips to sandbox playground configs #​239
  • Make use of jest .toMatchSnapshot in library unit tests #​236
  • link.type only can make effect in global #​234
  • Node drag and drop methods #​204

Merged pull requests:

v2.4.0

Compare Source

⚠️ This distribution is not valid, it not up to date with the changes described in its previous CHANGELOG.md. Please use version 2.4.1 of this library instead. Issue reported in The release version does not contain some fixes #​314.

v2.3.0

Compare Source

Full Changelog

Merged pull requests:

v2.2.0

Compare Source

Full Changelog

Fixed bugs:

  • Drag&Drop does not work for leaf nodes after collapsing and "uncollapsing" #​223
  • [Sandbox] Fail to remove links / nodes in the live demo example #​212
  • Error clicking nodes composed of mdi-react icons #​201

Closed issues:

  • link.renderLabel is not true by default #​210
  • onDoubleClickNode #​194

Merged pull requests:

Chore:

v2.1.0

Compare Source

Full Changelog

Fixed bugs:

  • When using an icon from mdi-react in a node, clicking the node throws an error. #​201

New features:

v2.0.2

Compare Source

Full Changelog

Fixed bugs:

  • Delete (remove) nodes and links from graph #​183

Closed issues:

  • Is there a way to make the graph render consistently? #​193
  • Addition to readme #​190

Merged pull requests:

v2.0.1

Compare Source

Full Changelog

Fixed bugs:

v2.0.0

Compare Source

Full Changelog

Fixed bugs:

  • Link Colors not used when adding to graph #​169
  • Node id 0 not set properly #​160
  • Nodes added or deleted from a graph with nodes in fixed positions will cause issues #​151
  • Collapsible config option can cause orphaned nodes to not be displayed #​129

Closed issues:

  • Reverse the direction of arrows for "directed" property #​153
  • viewGenerator key being dropped in config merge #​142
  • Links labeling #​47

Merged pull requests:


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@sourcery-ai
Copy link
Copy Markdown

sourcery-ai Bot commented Jan 24, 2025

Reviewer's Guide by Sourcery

This pull request updates the react-d3-graph dependency from version 1.0.1 to 2.0.0. This is a major version update, which includes several bug fixes, new features, and breaking changes.

Class diagram showing react-d3-graph version update

classDiagram
    class PackageJson {
        +dependencies
    }
    class Dependencies {
        +react-d3-graph: string
    }
    PackageJson --> Dependencies

    note for Dependencies "Version updated from ^1.0.1 to ^2.0.0"
Loading

State diagram showing react-d3-graph version transition

stateDiagram-v2
    [*] --> v1.0.1
    v1.0.1 --> v2.0.0: Major Version Update
    note right of v2.0.0
        Breaking changes include:
        - New features
        - Bug fixes
        - API improvements
    end note
Loading

File-Level Changes

Change Details Files
Updated react-d3-graph dependency to v2
  • Updated react-d3-graph dependency in package.json.
  • Updated react-d3-graph dependency in package-lock.json.
client/package.json
client/package-lock.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!
  • Generate a plan of action for an issue: Comment @sourcery-ai plan on
    an issue to generate a plan of action for it.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Copy Markdown

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, renovate[bot]!). We assume it knows what it's doing!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants