Overlapping Relation Lines

Bug #396033 reported by DMA02
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
DB modeling tool
New
Undecided
Unassigned

Bug Description

Using dbmodel v 0.2.0 on Linux.
I have as many as 5 tables (aligned vertically) linked to 1 table with a relationship. Sometimes the relationship lines overlap each other or "travel" behind other tables. This ends up becoming confusing after a while and moving the tables around helps a bit but the relationship lines are not that flexible.

Could there be support so that lines will never overlap ?
Could there be a feature where we can manually set the points of the relationship line ?

Revision history for this message
DMA02 (george-dma) wrote :

An example of the overlapping lines.

Revision history for this message
deep42thought (deep42thought) wrote :

I was bothered by the same. The attached patch fixes the "crossing links" issue:
So far links were ordered by direction and if that was identical, then they were ordered by the link references. Since links between the same tables have same directions, this leads to crossing links.
I changed the ordering to:
1st: by direction (as before)
2nd: by wether we are start or end of the link
3rd: by reference of link ascending if we're the start and descending if we're the end.

Note, that links may still be behind tables and in seemingly ugly places, but at least they do not cross anymore.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.