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

Horizontal-align "children" to "parents" #5

Open
j6k4m8 opened this issue Sep 15, 2017 · 2 comments
Open

Horizontal-align "children" to "parents" #5

j6k4m8 opened this issue Sep 15, 2017 · 2 comments

Comments

@j6k4m8
Copy link

j6k4m8 commented Sep 15, 2017

In this screenshot, it's unclear to me that "Ask questions..." is not a descendent of "Learn more...":

image

It would make more sense — to me at least — if children were aligned so that I could read "across" a row; if there isn't a node in that row, then perhaps display empty space there:

image

Or perhaps I'm misunderstanding the semantics of this UI!

Excited to discuss this; I think this is a tool I've been looking for for a long time.

@eldelacajita
Copy link

eldelacajita commented Oct 1, 2017

I think I understand what you mean. You could align all children to their parents, but that would create an interface full of gaps. Imagine you have parent 1 with 10 children, and parent 2 with 5 children. In order to align each children to their parents, the distance between parent 1 and 2 would have to be equal to the height of 10 children, spreading the parents too far apart and making the whole UI almost unusable. You want to keep things reasonably compact.

So, instead, all elements flow vertically and children align only when the parent is selected. Both parents and children are shown in white, while the rest remains in grey, which is already a clear hint to tell which elements are related or not to each other.

@j6k4m8
Copy link
Author

j6k4m8 commented Oct 2, 2018

Sorry, meant to reply to this ages ago!

My interpretation is that the gaps are semantically meaningful: Those gaps in the UI are indicators of information flow.

Perhaps a way around this is is to collapse the height of non-selected children so they don't take up that much vertical space?

Another way around this is to just keep doing what you're doing, since it rocks :)

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

No branches or pull requests

2 participants