Fix relationship coming over table

This commit is contained in:
1ilit
2023-12-28 06:17:48 +02:00
parent f44b5fd388
commit f11419f60b
3 changed files with 44 additions and 12 deletions

View File

@@ -103,7 +103,15 @@ function Thumbnail({ diagram, i }) {
{diagram.relationships?.map((e, i) => (
<path
key={i}
d={calcPath(e.startX, e.endX, e.startY, e.endY, zoom)}
d={calcPath(
e.startX,
e.endX,
e.startY,
e.endY,
e.startFieldId,
e.endFieldId,
zoom
)}
fill="none"
strokeWidth={1}
stroke="gray"