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

Graph Layout Bugs [Description and Discussion] #654

Open
chrisdburr opened this issue Nov 15, 2024 · 0 comments
Open

Graph Layout Bugs [Description and Discussion] #654

chrisdburr opened this issue Nov 15, 2024 · 0 comments
Assignees
Labels
blocked! Indicates an issue cannot be progressed help wanted Extra attention is needed

Comments

@chrisdburr
Copy link
Collaborator

I thought it would be helpful to setup an issue for the various layout and UI issues related to how the graph is rendered and displayed, so that we can systematically break it down and locate the problems and identify solutions.

Here are three screen recordings that capture the primary issues.

1 Spacing of child elements remains after collapse of parent

As you can see here, when the user collapses a couple of strategy elements and property claim elements, the space that was originally filled by their children remains.

This is a problem because it means the user then has to navigate around unecessary blank space.

unwanted-space.mp4

2 Extra Manual Step

However, building on from 1, we can see that when the user clicks 'refocus' it refreshes the canvas and gives a more desirable state.

Perhaps it would be possible to implement an automatic refocus but with some additional conditional logic that makes it contextual to the state of the graph (e.g. different refocus behaviour if a strategy element is collapsed vs expanded)?

extra-manual-step.mp4

3 Expanding recreates blank space

It may be important to consider the contextual behaviour of the refocus module, because when the user currently expands a node, it seems as though unecessary space is being created.

expand-all-refocus.mp4
@chrisdburr chrisdburr added help wanted Extra attention is needed blocked! Indicates an issue cannot be progressed labels Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked! Indicates an issue cannot be progressed help wanted Extra attention is needed
Development

No branches or pull requests

2 participants