Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Diagram connector algorithm
Forum Updated to NodeBB v4.3 + New Features

Diagram connector algorithm

Scheduled Pinned Locked Moved Unsolved General and Desktop
drawdiagramqgraphicssceneline
1 Posts 1 Posters 959 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dridk
    wrote on 6 Feb 2016, 19:21 last edited by
    #1

    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

    Nothing in Biology Makes Sense Except in the Light of Evolution

    1 Reply Last reply
    0

    1/1

    6 Feb 2016, 19:21

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved