Skip to content

Wrong rendering of edges when in MudDialog #526

@Genmutant

Description

@Genmutant

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @Genmutant

        Issue actions

          Wrong rendering of edges when in MudDialog · Issue #526 · Blazor-Diagrams/Blazor.Diagrams