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

Multiple root items #107

Open
LeviticusMaximus opened this issue Feb 5, 2023 · 1 comment
Open

Multiple root items #107

LeviticusMaximus opened this issue Feb 5, 2023 · 1 comment

Comments

@LeviticusMaximus
Copy link

If I have multiple root items, is there a way to use vertical placement style (eg top) and then stack the trees also vertically? Currently I have two trees A and B that are being laid out side by side

   A               B
a0 - a1         b0 - b1

And I would like to display as such

   A
a0 - a1   

   B
b0 - b1
@BasicPrimitives
Copy link
Owner

It is possible. Create invisible root item and set its children into vertical formation. Unfortunately there is minor layout bug, the last hierarchy is gonna be shifted to the left.
Look at the matrix layout of the root items: https://www.basicprimitives.com/usecases/multiplerootitemsinchart
Change formation of the root's children into vertical.

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