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

Tree layout with non-centered parents. #118

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Tommos0
Copy link

@Tommos0 Tommos0 commented Jun 18, 2018

I added a tree-like layout based on work done by @sgratzl (that's why I called it gratzl). It is similar to a tree, but it can be more useful when interacting with trees (e.g. you can pick an activeNode, which will show with it's path vertical on the right, allowing you to put labels there for instance). We are using it for (visualisation / interaction) of interaction provenance data.

If you are interested in adding this I could write some documentation also.

image

@Tommos0 Tommos0 changed the title Tree-like layout Tree layout with non-centered parents. Jun 21, 2018
@Tommos0
Copy link
Author

Tommos0 commented Jun 21, 2018

fixes #116

@Fil Fil added the feature label Jul 10, 2020
@Fil
Copy link
Member

Fil commented Jul 21, 2020

Hello,

I've tried the gratzl layout in this Observable notebook; it's very nice! Note that to make it work with transitions, it seems we have to reset widths=[] and all the d.x, d.y.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

2 participants