Blazor-Diagrams / Blazor.Diagrams

A fully customizable and extensible all-purpose diagrams library for Blazor
https://blazor-diagrams.zhaytam.com
MIT License
919 stars 176 forks source link

What does the Changed event do? #326

Closed mrakgr closed 1 year ago

mrakgr commented 1 year ago

I am wondering what it triggers on.

zHaytam commented 1 year ago

Changed event triggers whenever the UI needs to update (e.g. Selected property changed, Size changed, Position changed, ...).

In the Diagram, it also triggers when you add/remove nodes/links/groups, etc...

It's meant for Blazor to know when to call StateHasChanged to update the UI

mrakgr commented 1 year ago

I see, thanks.