<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Diagram connector algorithm]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I m creating an application which look like a diagram editor on the top of QGraphicsView/Scene system.<br />
So, I have movable item which need to be connect to other by connector ( combinaison or horonzontal and vertical line) .<br />
I wonder if some algorithm exists to compute the the connector. For exemple, I want to avoid supperposition of line, and draw a "bridge" when 2 line cross together.<br />
Here is an exemple : <a href="https://www.syncfusion.com/products/javascript/images/ejdiagram/connectors2.png" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.syncfusion.com/products/javascript/images/ejdiagram/connectors2.png</a></p>
<p dir="auto">So, How can I implement those connector ? I would like too, if it's possible to compute connector path when moving items</p>
]]></description><link>https://forum.qt.io/topic/63868/diagram-connector-algorithm</link><generator>RSS for Node</generator><lastBuildDate>Sat, 15 Aug 2026 01:18:03 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/63868.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 06 Feb 2016 19:21:50 GMT</pubDate><ttl>60</ttl></channel></rss>