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

Conditional Snapping Issue #134

Open
codiastic opened this issue Jun 9, 2022 · 2 comments
Open

Conditional Snapping Issue #134

codiastic opened this issue Jun 9, 2022 · 2 comments

Comments

@codiastic
Copy link

There has to be some provision for conditional snapping like If Else condition

I want one drag option of If Else condition which will already have two child blocks called Yes and No attached to one conditional Parent If block.

Can someone help me achieve this goal with the existing flowy code.

What i want is when i drag a single Block from the left on the Canvas it should attach two child blocks to it like "Yes" and "No"

@douglasrono
Copy link

My suggestion as well, I'd like to have a test conditional statement on the control flow

@AdamMiltonBarker
Copy link

The code here got me to doing what you need to do. I can't share it because ours is a proprietary project, but first I developed a solution similar to the one in the following issue, then used that functionality and some modifications to dragEnd to make it do what you are saying.

#148 (comment)

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

No branches or pull requests

3 participants