Blazor.Diagrams icon indicating copy to clipboard operation
Blazor.Diagrams copied to clipboard

Wrong rendering of edges when in MudDialog

Open Genmutant opened this issue 4 months ago • 0 comments

There seems to be some kind of race condition, so that when opening a Diagram in a MudDialog, the rendering of the Edges is often incorrect:

Often the rendering is like the first image, sometimes it's correct:

Image

Image

I couldn't reproduce the issue without the Dialog. Calling Diagram.Refresh() doesn't fix the issue. It looks like it's sometimes using the wrong size of the nodes for the drawing.

Here is a small project which shows the problem.

Genmutant avatar Jun 10 '25 15:06 Genmutant