Blazor-Diagrams / Blazor.Diagrams

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

Review/add events #214

Closed zHaytam closed 1 year ago

zHaytam commented 1 year ago
ashortland-eqix commented 1 year ago

Any tips on how this works "Clearly differentiate between link addition (start drag) vs link attached (should be a new event)"? I'm specifically looking for how to handle link attached event

zHaytam commented 1 year ago

Hello, To know when a link started to get dragged, check Diagram.Links.Added, if you want to check if the link got attached to something else, then use the previous event and then register to the link's TargetChanged event