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

chore(utils): add renamed functions and deprecations closes #3528 #3597

Merged
merged 5 commits into from
Nov 10, 2023

Conversation

moklick
Copy link
Member

@moklick moklick commented Nov 9, 2023

deprecations/renamings:

  • useReactFlow.project => useReactFlow.screenToFlowPosition (changes: no need to subtract react flow bounds anymore)
  • getRectOfNodes => getNodesBounds (changes: none)
  • getTransformForBounds => getViewportForBounds (changes: returns { x: number, y: number, zoom: number } instead of [number, number, number])

--

new functions:

  • added useReactFlow.flowToScreenPosition

@moklick moklick merged commit a8aa435 into next-release Nov 10, 2023
@moklick moklick deleted the refactor/util-deprecations branch November 10, 2023 13:58
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.

None yet

1 participant