alyssaxuu / flowy

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

Changing block height #67

Closed dmlnc closed 4 years ago

dmlnc commented 4 years ago

Hey @alyssaxuu Excellent work, thank you

Maybe you know how can I change height of block or position of another blocks after replace blockyinfo text from input field?

Снимок экрана 2020-05-14 в 08 01 24

Thanks again

alyssaxuu commented 4 years ago

Do you mean altering the block dimensions after it has been placed? Currently that won't readjust the flowchart unfortunately - I see a few options here, either detecting block dimension changes on the library end and using that to tweak the positioning of the blocks, or something kind of like #53 where the developer can call a render method whenever a change has been made to rearrange everything.

Personally I might be keen on the former just because it feels more user-friendly. I'll explore implementing that (although not entirely sure if that is your question ^^).