Skip to content

How to place a new node inside viewing are of the flow. #428

Answered by bcakmakoglu
tpoxa asked this question in Q&A
Discussion options

You must be logged in to vote

Without some code example I can't really tell what you're asking of me.
If you want to know what the currently visible viewport is, you can check the viewport prop on the store.
It will give you an x, y and zoom value.

So your visible area is something like x + the width of your container, y + the height of your container.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@bcakmakoglu
Comment options

@tpoxa
Comment options

Answer selected by tpoxa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants