alyssaxuu / flowy

The minimal javascript library to create flowcharts ✨
MIT License
11.48k stars 998 forks source link

Add ability to delete blocks one by one. #81

Open kurumbus opened 4 years ago

kurumbus commented 4 years ago

Hey, us again.

So we're using the library on our app and would like to add the ability to delete blocks in the middle of the flow one by one.

And we almost succeeded but it doesn't "reconnect"

https://www.loom.com/share/71399f585e1943a5af4211be392ad0e1

Any ideas how we could achieve? Maybe some force rerender function?


You must be tired of our ideas, sorry about that.

alyssaxuu commented 4 years ago

You can have a look here where I explain how to implement the functionality: https://github.com/alyssaxuu/flowy/issues/50#issuecomment-617863846

I am aware I could implement this now but I am working on an overhaul and I prefer having a lot of enhancements added in at once as well as a codebase rewrite. But rest assured it will be a feature in the future. Let me know if you need any help implementing it :)

MavenStack commented 4 years ago

Hey! look at this pull request... you can do a local code update while waiting for @alyssaxuu enhancement.

https://github.com/alyssaxuu/flowy/pull/65/commits/e441e1635d16217e8a4b7f641f0b90de797edcae

WebDevSand commented 1 year ago

Dear alyssaxuu,How are you? i need your help,I am trying to making draw(rearrange) function now,but i have some issues, Couldn't you show me your new version?