Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection label overlapping connection #2193

Open
ntkibm opened this issue Jun 20, 2024 · 7 comments
Open

Connection label overlapping connection #2193

ntkibm opened this issue Jun 20, 2024 · 7 comments
Labels
backlog Queued in backlog enhancement New feature or request needs more information Requires additional information to be actionable.

Comments

@ntkibm
Copy link

ntkibm commented Jun 20, 2024

Is your feature request related to a problem? Please describe.

Is it possible to avoid connection label overlapping the connection itself. Mostly this happens when the connection is vertical and even a couple of words causes it to overlap.

connection-overlap

Describe the solution you'd like

It would be nice if the label auto moved to right or left of the connection. (or top or bottom if the connection is horizontal)

Describe alternatives you've considered

I don't know if there are any alternatives for this, but open to hear if there is any.

Additional context

If there is no straight-forward solution to this, then can you share any pointers around what kind of custom handling would be required to handle this, if possible.

@ntkibm ntkibm added the enhancement New feature or request label Jun 20, 2024
@nikku
Copy link
Member

nikku commented Jun 20, 2024

I love your report and would kindly ask you to use our existing issue template. Important context may otherwise not be provided; for example we routinely ask you for alternatives that you considered.

@nikku nikku added the needs more information Requires additional information to be actionable. label Jun 20, 2024
@ntkibm
Copy link
Author

ntkibm commented Jun 20, 2024

sorry about that, updated the issue as per the template.

@nikku
Copy link
Member

nikku commented Jun 20, 2024

Would a white background of labels be a solution for you? I find this to be a common pattern for labels across different drawing and editor tools.

image

@ntkibm
Copy link
Author

ntkibm commented Jun 28, 2024

problem with a white background is that it breaks the connection visually, and in some cases where the connection line is smaller, it can be really hard to recognise the connection hidden behind the label with background.

@philippfromme
Copy link
Contributor

@ntkibm What would be a better alternative?

@ntkibm
Copy link
Author

ntkibm commented Jul 5, 2024

i don't know.. no other viable alternatives come to mind. The requested solution of 'auto moving the label to the side of the connection once the user is done typing' feels like the only way.

@philippfromme
Copy link
Contributor

Moving this to backlog for now.

@philippfromme philippfromme added the backlog Queued in backlog label Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Queued in backlog enhancement New feature or request needs more information Requires additional information to be actionable.
Development

No branches or pull requests

3 participants