Completed
Last Updated: 16 Aug 2023 10:51 by ADMIN
Release R3 2023 (LIB 2023.2.816)
Bernhard
Created on: 27 May 2019 10:46
Category: Diagram, DiagramRibbonBar, DiagramToolBox
Type: Bug Report
3
RadDiagram: slow loading time when setting the ConnectionBridge

The loading time is very slow when there are 100 connections and the connection bridge is set to Bow

Use attached to reproduce. 

 
Attached Files:
2 comments
ADMIN
Dinko | Tech Support Engineer
Posted on: 31 Jul 2023 16:24

Hi Theo,

I will share some more details so that the community can be aware of why this is happening. 

The complexity of the algorithm that calculates the crossings between the shapes and connections is exponential. The algorithm gets heavy at the moment when you have a large number of shapes and connections. The engine will take one connection and iterate all elements in the diagram and check if they are crossing. If they are crossing the bow segment will be applied at the exact spot. We understand that ConnectionBridge is a good visual optimization for the end user to distinguish which connection to which shape is pointing.

Our team will investigate if there is a way to optimize this process. At the moment I have more information regarding this, I will reply here so that the community can take advantage of it.

Regards,
Dinko | Tech Support Engineer
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Theo
Posted on: 25 Jul 2023 14:59
Our diagram is taking less than 30s to load when Bridge is set to None, just over a minute if set to Gap and almost 8 minutes if set to Bow.