jerosoler / Drawflow

Simple flow library 🖥️🖱️
https://jerosoler.github.io/Drawflow/
MIT License
4.42k stars 714 forks source link

Prevent loops [Question] #828

Open paulgoldie opened 3 months ago

paulgoldie commented 3 months ago

Hello Jerosoler,

Thanks for your really great library!

Is there a way to prevent loops? I need multiple inputs and only one output. I managed that, but now I have the problem that it is possible to make a connection from the last output to any input before and then there is a loop.

I would be very grateful for your help or a tip.

Kind regards, Paul

jerosoler commented 3 months ago

Hi.

You can use this method to prevent the connection.