Moritz Klack
Moritz Klack
In React Flow you can work with a controlled viewport. For that, you can use the new `viewport` prop in combination with `onViewportChange` where you could for example round the...
Not sure if we can fix this?! @peterkogo do you have any more thoughts on this?
Interesting idea :) We will discuss it with the team.
For now you need to use `setViewport` https://reactflow.dev/api-reference/types/react-flow-instance#set-viewport
Good idea to document `InternalNode` as well!
Let's wait with this task until we've updated our React example structure. Then we can create one screenshot app that works for Svelte Flow and React Flow.
Thanks @ghostdevv ! I removed lang="ts" and did not added types to keep this very first example as simple as possible.
Thanks for sharing your solution @buchananwill ! We will have a look
I think you have a point here. We should make it more clear in the docs that edges are rendered below nodes by default and that you can change that...
Yep, that's not possible. We store the handles in a lookup when the connection starts and won't update it during an ongoing connection. Maybe you could separate the displayed handle...