Diagram connector algorithm



  • Hi,

    I m creating an application which look like a diagram editor on the top of QGraphicsView/Scene system.
    So, I have movable item which need to be connect to other by connector ( combinaison or horonzontal and vertical line) .
    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.
    Here is an exemple : https://www.syncfusion.com/products/javascript/images/ejdiagram/connectors2.png

    So, How can I implement those connector ? I would like too, if it's possible to compute connector path when moving items