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

Is it possible to align nodes to the left side? #463

Open
nook24 opened this issue Nov 28, 2024 · 0 comments
Open

Is it possible to align nodes to the left side? #463

nook24 opened this issue Nov 28, 2024 · 0 comments

Comments

@nook24
Copy link

nook24 commented Nov 28, 2024

Is it possible to change the alignment of the tree to the left side? My issue is, that when I have multiple trees with different lengths, they all start at the right side.

Like in this case, I would like to move the yellow marked block to the left side.
tree_right

These are my complete options:

        graph.setGraph({
            rankdir: 'RL',
            nodesep: 10,
            ranksep: 50,
            edgesep: 10,
            marginx: 0,
            marginy: 0,
        });
@nook24 nook24 changed the title align LR throws xss[align.toLowerCase()] is undefined error Is it possible to align nodes to the left side? Nov 28, 2024
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

1 participant