-
Notifications
You must be signed in to change notification settings - Fork 323
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
Implement partially transparent visualizations #11582
Conversation
The edges don't exactly meet the visualization: We can render it correctly by enabling the |
🧪 Storybook is successfully deployed!📊 Dashboard:
|
After some internal discussions and a PoC implementation, we found that any obvious fix for imperfections noted by @kazcw above ↑ will lead to a performance drop compared with the current develop. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would add a CHANGELOG entry - even if it's minor, it still a UX change.
watch(isDragged, (newVal, oldVal) => { | ||
if (newVal !== oldVal) graph.db.moveNodeToTop(nodeId.value) | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AFAIK there is no need for this check, as watch is run only when value changed.
Closes #11534 - Visualizations are partially transparent by default - The initial z-order is undetermined at the project load - Node is moved on top of other if it is dragged (before it only happened if it was **selected**, which is not the same) - Changed rendering for edges slightly, to avoid visible edge ends underneath visualization. The implementation of additional offsets is rather naive, but it works. https://github.com/user-attachments/assets/fba44816-eed9-471d-83a7-8fe6e5892477
Pull Request Description
Closes #11534
transparent-vis.mp4
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:
Scala,
Java,
TypeScript,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
or the Snowflake database integration, a run of the Extra Tests has been scheduled.