Hi,
I'm looking into using the DiagramConnection to display nodes and connections between them. However, I noticed a problem in that if there are two or more connections between the same two nodes - they will display on ontop of the other, thus hiding each other. Is there a way to create an offset between connections when there is more than one connection between the same two nodes, so that both connections will be clearly shown?
Thank you.
Hello Elad,
The xamDiagram control doesn’t provide build-in mechanism for detecting overlapping connections.
Still you can configure the start and end points absolutely by specifying Start/End Points coordinates and thus providing some offset.
http://ko.infragistics.com/help/wpf/xamdiagram-configuring-the-start-and-end-of-diagram-connections
Also you can configure different visual aspects of the connections as fill, stroke, thickness and the connections caps.
http://ko.infragistics.com/help/wpf/xamdiagram-configuring-the-caps-of-diagram-connections
http://ko.infragistics.com/help/wpf/xamdiagram-look-and-feel
I’ve attached a sample application that demonstrates a connections modification.
The problem is that if I provide absolute Start/End points, they will need to be constantly updated if the user moves the nodes around (a connection to the left of the node might have to move to the right of the node if the node is moved) and I don't see an option to implement such a mechanism/logic.
Different visual aspects for the connections could be a viable solution, if I could insure that all connections are seen and easily distinguished, but as it stands - when there are two or more connections between the same node, they overlap and one hides the other.
Are there any other suggestions? Thank you.
After investigating your question and doing some research, it has been determined to be a new product idea. You can suggest new product ideas for future versions (or vote for existing ones) at http://ideas.infragistics.com.
Submitting your idea will allow you to communicate directly with our product management team, track the progress of your idea at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.
Remember when submitting your idea to explain the context in which a feature would be used and why it is needed as well as anything that would prevent you from accomplishing this today. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it. You can also link back to this thread for additional details.
Thank you in advance to submitting your product idea.
It seems they don't currently support this functionality, which personally led me to disappointingly use another provider instead.
Hi
We would also like to be able to :
a) detect or prevent lines drawing on top of each other and
b) control the path of the line by dragging the ine (adding a corner point or an arc)