Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: remove unused convertElkEdgesToEdges function #263

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

MH4GF
Copy link
Member

@MH4GF MH4GF commented Dec 16, 2024

From the looks of it, the edges returned by elk.layout() do not change any particular information, so setEdges was removed.
The motivation is to reduce re-rendering as much as possible due to performance issues when it comes to large ER diagrams.

The only information that changed was the opacity, but in the case of edge, it seemed to have been displayed without changing even if opacity: 0.

Copy link

changeset-bot bot commented Dec 16, 2024

⚠️ No Changeset found

Latest commit: c6bc898

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@MH4GF MH4GF temporarily deployed to preview - erd-sample December 16, 2024 05:37 — with GitHub Actions Inactive
@MH4GF MH4GF changed the title remove unused convertElkEdgesToEdges function refactor: remove unused convertElkEdgesToEdges function Dec 16, 2024
@MH4GF MH4GF marked this pull request as ready for review December 16, 2024 05:40
@MH4GF MH4GF requested a review from a team as a code owner December 16, 2024 05:40
@MH4GF MH4GF requested review from hoshinotsuyoshi, FunamaYukina, junkisai and sasamuku and removed request for a team December 16, 2024 05:40
@MH4GF
Copy link
Member Author

MH4GF commented Dec 16, 2024

@junkisai I would like you to review!

Copy link
Member

@junkisai junkisai left a comment

Choose a reason for hiding this comment

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

Indeed, it seems that the setEdges in this part is unnecessary!

@junkisai junkisai added this pull request to the merge queue Dec 16, 2024
Merged via the queue into main with commit f3a6b65 Dec 16, 2024
13 checks passed
@junkisai junkisai deleted the refactor-remove-set-edges branch December 16, 2024 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants