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

Location and number of connectors on Diagram Shape

3 Answers 66 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
donovan
Top achievements
Rank 1
donovan asked on 20 Apr 2012, 10:24 PM

The diagram control looks very promising but I must be able to control the number and location of the connectors of the Diagram Shape.  I have been unable to locate how to do this.  My domain has a fixed number of entities that I will need to link together but each entity type will have between 1 and 11 connector points.  I will be using DataTemplates to completely control the shapes and was hoping in the template I could identify where I want the connectors to go.  Is it possible to achieve this?

Donovan

3 Answers, 1 is accepted

Sort by
0
donovan
Top achievements
Rank 1
answered on 20 Apr 2012, 10:28 PM
I just wound this on the Q2 roadmap of the Diagram

New Features

  • Shapes
    • Hierarchical groups - you'll be able to group shapes together and manipulate them accordingly. 
    • Custom connectors - specify exact point on the shape where a connection could be pinned.

Is there a work around until then?
Will we also be able to control the number of connectors not just the location?
0
Miro Miroslavov
Telerik team
answered on 21 Apr 2012, 06:22 AM
Hi donovan,

 Custom Connector - This is exactly the feature you need. It is already done and it supports changing the number of connectors, their location, appearance and so on. 
There is way currently to remove some of the connectors (and to add too), but there is no way to specify where it should be positioned. So currently there just five types and that's it - Left, Top, Bottom, Right and Auto. While in the Q2 version you'll have Custom type with Offset point to position it where you need to. 
If you're not in a hurry I can suggest you to wait for a month and a half and get the new version. In the meanwhile I can send you preview demo with code and assemblies of the mentioned feature. (just create a private support ticket). 
Hope this time frame is ok with you.

All the best,
Miro Miroslavov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
donovan
Top achievements
Rank 1
answered on 21 Apr 2012, 03:37 PM
Sounds perfect. Creating a private support ticket now!
Tags
Diagram
Asked by
donovan
Top achievements
Rank 1
Answers by
donovan
Top achievements
Rank 1
Miro Miroslavov
Telerik team
Share this question
or