Hi,
I’ve recorded a video showing an issue with the Adjustable Relationship Lines feature in dbdiagram. If we have a group with just two connected tables, everything works fine. However, when I add a third table to the group and modify the relationship line between two of the tables, the issue becomes visible. The line behaves unpredictably when moving the entire group, shifting in unexpected directions.
It seems like the problem might be related to how referencePaths.checkPoints are handled within groups, as they don’t seem to anchor properly when both tables connected by the line are in the same group.
Example DBML code:
TableGroup group {
A
B
C
}
Table A {
id int pk
}
Table B {
id int pk
a_id int [ref: > A.id]
}
Table C {
a_id int [ref: > A.id]
}
Please take a look and let me know if a fix is possible.
Thanks!