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

Node Graph Rendering Facelift #288

Merged
merged 5 commits into from
Feb 7, 2024
Merged

Node Graph Rendering Facelift #288

merged 5 commits into from
Feb 7, 2024

Conversation

treo
Copy link
Contributor

@treo treo commented Feb 7, 2024

Description

This PR changes the rendering of Nodes and Links to make it look more modern.

image

By making nodes a little transparent, it is now possible to see when links go behind them, and when links cross it is also easier to see where they are going.

By removing the empty landing ports, the graph can now also be a bit more compact.

It does require the user to click on "refresh all nodes" once, because react-diagrams won't re-route the links otherwise.

Pull Request Type

  • Xircuits Core (Jupyterlab Related changes)
  • Xircuits Canvas (Custom RD Related changes)
  • Xircuits Component Library
  • Xircuits Project Template
  • Testing Automation
  • Documentation
  • Others (Please Specify)

Type of Change

  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Tested on?

  • Windows
  • Linux Ubuntu
  • Centos
  • Mac
  • Others (State here -> xxx )

@treo treo requested a review from MFA-X-AI February 7, 2024 10:43
@treo treo changed the title Add slight shadows to nodes and links and use port types as the ports Node Graph Rendering Facelift Feb 7, 2024
Copy link
Member

@MFA-X-AI MFA-X-AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beautiful.

beautiful

Looks good, noted on the workaround for argument parameters. Will work on the logic update in another PR. Thanks a bunch!

@MFA-X-AI MFA-X-AI merged commit 4460c82 into master Feb 7, 2024
8 checks passed
@MFA-X-AI MFA-X-AI deleted the paul/shiny-ui branch February 3, 2025 09:26
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