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

Fixing NullReference Exception and not updating nodes on demo site diagram #364

Closed K0369 closed 8 months ago

K0369 commented 8 months ago

Fixing a null pointer exception on the demo site diagram, that happened when a link was drawn and released on anything else then a portmodel. Fixes #361.

Fixing the value of the nodes not updating, when the target of a link has changed, because the condition oldTarget == null being never valid.

zHaytam commented 8 months ago

Hello, thank you for the PR !

It looks like your PR contains some of my old changes, maybe you need to rebase develop into your branch to only have your changes?

I will also leave some comments in specific lines as well

Thank you again