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

Improve layout of nodes in provenance-ui #5

Open
libpitt opened this issue Dec 7, 2022 · 1 comment
Open

Improve layout of nodes in provenance-ui #5

libpitt opened this issue Dec 7, 2022 · 1 comment
Assignees

Comments

@libpitt
Copy link
Collaborator

libpitt commented Dec 7, 2022

Currently, the graph loads like:
Current

Ideally, it should look like:
Preferred

There are two issues here:

  1. The nodes are on the same y value regardless of immediate children length.
  2. The edges are crossing each other. Since we actually have graphs and not trees, with the level order nodes list, we should also consider the paths to the leaf nodes and their respective depths. Perhaps keeping paths of similar depth relative to the level order could improve the visual output.
@libpitt libpitt self-assigned this Dec 7, 2022
@libpitt libpitt changed the title Position node in provenance-ui relative to tree width and children length Improve layout of nodes in provenance-ui Dec 7, 2022
@maxsibilla maxsibilla reopened this May 16, 2023
@maxsibilla maxsibilla reopened this Oct 23, 2023
@maxsibilla
Copy link

Reopening this card. We may want to attempt to address this in the near future as the Provenance UI is consistently highlighted during demonstrations of the portal. As the portal continues to grow with larger provenance chains the current default layout could become an issue (see https://data.sennetconsortium.org/source?uuid=0564b752325dfdf5e7feb9050595ff1f/)

@maxsibilla maxsibilla added this to CODCC May 20, 2024
@maxsibilla maxsibilla moved this to Backlog in CODCC May 20, 2024
@github-project-automation github-project-automation bot moved this to Backlog in CODCC Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Status: Backlog
Development

No branches or pull requests

2 participants