This is a migrated thread and some comments may be shown as answers.

I use mindmap example code, but why the connector doesn't align with element's bottom edge?

3 Answers 29 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Jonathan
Top achievements
Rank 1
Jonathan asked on 02 Aug 2016, 03:56 AM

Hi , I use mindmap example code, but why the connector doesn't align with element's bottom edge?

Please see the attachment pictures, thanks!

3 Answers, 1 is accepted

Sort by
0
Jonathan
Top achievements
Rank 1
answered on 02 Aug 2016, 04:00 AM
the pictures
0
Accepted
Kiril Vandov
Telerik team
answered on 03 Aug 2016, 10:17 AM
Hello Jonathan,

The connectors of the shapes are located next to the edge of the Shapes(outside of the shape boundaries). That said the connector center to witch the connection is connected is not overlapping the shape border.
In order to make the center of the connector and the shape boundaries to overlap you should change the position of the connector itself. I have noticed that you are having custom connectors which are located at the angles of the shape and their position is ( 0 1 and 1 1). For instance if the border of the shape and the connection connector to it are 1px you should offset the position of the connector to (0  0.99) doing so the connection will overlap the edge of the shape.

I hope this information helps.

Kind regards,
Kiril Vandov
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Jonathan
Top achievements
Rank 1
answered on 19 Aug 2016, 05:04 AM
thank you! It works~~
Tags
Diagram
Asked by
Jonathan
Top achievements
Rank 1
Answers by
Jonathan
Top achievements
Rank 1
Kiril Vandov
Telerik team
Share this question
or