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

Application crashes when using Orthogonal router and Straight path generator

Open rborosak opened this issue 4 years ago • 2 comments

Steps to reproduce. Create nodes with TopLeft, TopRight, BottomLeft, BottomRight and try to connect two nodes. The app will crash with Error: System.NotImplementedException: The method or operation is not implemented. at Blazor.Diagrams.Core.Routers.GetOriginSpot(Point p, PortAlignment alignment, Double shapeMargin) at Blazor.Diagrams.Core.Routers.Orthogonal(Diagram _, BaseLinkModel link) at Blazor.Diagrams.Components.LinkWidget.BuildRenderTree(RenderTreeBuilder __builder)

I can see in the source why this is happening. Is this by design or just an oversight?

rborosak avatar Oct 08 '21 12:10 rborosak

Hello, That's actually just a limit for now, as I don't know how to actually handle/show the orthogonal path from origins other than from the middle. I will see if I can do something about it.

zHaytam avatar Oct 12 '21 19:10 zHaytam

+1

rligocki avatar Nov 04 '21 18:11 rligocki