Completed
Last Updated: 02 Nov 2023 08:12 by ADMIN
Release LIB 2023.3.1106 (6 Nov 2023)
Bartosz
Created on: 13 Jul 2023 11:29
Category: UI for WPF
Type: Bug Report
1
RadDiagram -> Link has a wrong target position of the connection for Gliding connector.

Hello,

During project implementation a wrong link connection was found.

Precondition:

When we have two models of ContainerNodeViewModelBase OuterModel and InnerModel.

InnerModel has set to true "RadDiagramShapeBase.UseGlidingConnector".

Steps to reproduce:

1. Put InnerModel inside OuterModel.

2. Connect the top middle connector to middle connector of InnerModel

3. When you move InnerModel in upper part of OuterModel the link is connected to bottom of InnerModel instead of to top.

To make reproduce easier i attach video, and i modified your sample application (PasteOnMousePosition) to reproduce this issue.

I attached both things.

Video desc:
1st use case with no gliding connector -- looks ok

2nd use-case movement outside of container and the link looks ok, but the link connection inside looks bad.

Currently this link is just a line, but when it would be an arrow then its looks even worse.

Attached Files:
3 comments
ADMIN
Stenly
Posted on: 15 Aug 2023 08:27

Hello Bartosz,

After further reviewing this scenario, it seems that this behavior is not the expected one. Based on this, I have logged a bug in our internal backlog, which is linked to this thread. With this being said, you could follow the bug report to get notified via e-mail when the status of the internal item is changed.

Furthermore, as a token of gratitude for bringing this to our attention, I have updated your Telerik points.

Regards,
Stenly
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.

Bartosz
Posted on: 04 Aug 2023 10:06

Hi Stenly,

 

Is there any entry in documentation that this (Glidning <-> not Gliding connector connection) is an invalid use-case? ( Yeah... I know tough question :-) )

 

Unfortunately in our use-case One of shape must have gliding connector and 2nd connector is "Shape" depending.

This use-case is working for elements at the root surface. The problem exists only for elements that are inside of another container.

 

P.S. Sorry for late reply, i was busy :(

Best Regards,

BH

ADMIN
Stenly
Posted on: 20 Jul 2023 11:10

Hello Bartosz,

We generally suggest setting the UseGlidingConnector property to True on both the source and target shapes and not on only one of them.

With this being said, to apply it to all, for example, RadDiagramContainerShape instances, it could be done via global Style. This way, the observed behavior will not be present with the current shapes or when new ones are added at runtime.

The following code snippet shows the above suggestion's implementation:

<Style TargetType="telerik:RadDiagramContainerShape">
    <Setter Property="UseGlidingConnector" Value="True"/>
</Style>

I hope the provided information will be of help to you.

Regards,
Stenly
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.