Blazor-Diagrams/Blazor.Diagrams

Get position value from diagram

JEDII29 opened this issue · 2 comments

I use DiagramCanvas to display nodes, and I want to continuously update the positions of the Nodes in another collection. Is it possible to listen for position changes so that I can trigger a method to update the data? Alternatively, can I add a handler to the Diagram.Nodes objects for the onMouseClick event?

Hello, all movable models (e.g. nodes) have a Moved event, did you try using that?

For all mouse events, check out the pointer events in the diagram.

I hope that that's what you were looking for, don't hesitate to re-open this issue if it's not!