Skip to content

Conversation

lazuee
Copy link

@lazuee lazuee commented Aug 26, 2025

  • Added safety margin on tableWidth to switch connectors to the opposite side when overlapping.
  • Added padding on tableWidth to ensure a minimum straight segment before the curve.

- Added safety margin on tableWidth to switch connectors to the opposite side when overlapping.
- Added padding on tableWidth to ensure a minimum straight segment before the curve.
Copy link

vercel bot commented Aug 26, 2025

@lazuee is attempting to deploy a commit to the dottle's projects Team on Vercel.

A member of the Team first needs to authorize it.

@lazuee
Copy link
Author

lazuee commented Aug 26, 2025

I still can’t figure out how to stop the line path from passing through the table. What I want is for the path to go above or below the table whenever the tables are vertically aligned. As of now it just overlaps straight through the table.

Here’s a playground of the current calcPath function:
https://developer.mozilla.org/en-US/play?id=OjSZbqWhYIxGpWxaVp5xT6TQ3l%2BTauQyOl1495xzAckpbTwEVZmW%2FsrJFJdFGfR%2FRQ4sg73UvZRf2Z%2F%2B

Copy link

vercel bot commented Aug 27, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
drawdb Ready Ready Preview Comment Aug 27, 2025 4:58pm

@1ilit
Copy link
Member

1ilit commented Aug 27, 2025

I still can’t figure out how to stop the line path from passing through the table. What I want is for the path to go above or below the table whenever the tables are vertically aligned. As of now it just overlaps straight through the table.

Here’s a playground of the current calcPath function:
https://developer.mozilla.org/en-US/play?id=OjSZbqWhYIxGpWxaVp5xT6TQ3l%2BTauQyOl1495xzAckpbTwEVZmW%2FsrJFJdFGfR%2FRQ4sg73UvZRf2Z%2F%2B

is this the case youre talking about? youd have to change the render order for this i guess. but im not sure if the effort for that is worth it

image

also looking at the current implemented version, we get cases like these

image

@lazuee
Copy link
Author

lazuee commented Aug 28, 2025

I want the line path to be drawn on both opposite sides whenever it horizontally overlaps with the top or bottom of a table, treating the table as an obstacle.

image image image

@lazuee
Copy link
Author

lazuee commented Aug 28, 2025

current implemented version
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants