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

Control size of nodes (cluster), position of nodes #65

Open
djalexd opened this issue Mar 13, 2020 · 3 comments
Open

Control size of nodes (cluster), position of nodes #65

djalexd opened this issue Mar 13, 2020 · 3 comments
Labels
kind/feature New feature or request

Comments

@djalexd
Copy link

djalexd commented Mar 13, 2020

Hey guys, thanks so much for this library! Congrats on amazing work and beautiful diagrams.

I've been looking through the code and graphviz options to control the size of nodes (for example, pods in a namespace) or size of cluster node and relative position (for example, left/center/right top/middle/bottom align). This is not really an issue, but a question. Is it possible to control these? node_attr works, but it's applied globally.

@mingrammer mingrammer added the kind/feature New feature or request label Mar 14, 2020
@streetmapp
Copy link

This would be great to have. I just created a diagram earlier this week and the alignment wasn't bad by any means. But I definitely would have liked to do one or two small tweaks to make it sit better.

@svscorp
Copy link

svscorp commented Jun 15, 2020

Hey guys, thanks so much for this library! Congrats on amazing work and beautiful diagrams.

I've been looking through the code and graphviz options to control the size of nodes (for example, pods in a namespace) or size of cluster node and relative position (for example, left/center/right top/middle/bottom align). This is not really an issue, but a question. Is it possible to control these? node_attr works, but it's applied globally.

It would be great to control the grid (like bootstrap). With ability to use rows (and columns if needed). Rows would make it really powerful already (using global definition of the direction="TB", in example).

I am not sure (haven't looked deeper in code), it might needs to addressed in the graphviz repository tracker.

@clayms
Copy link

clayms commented Nov 5, 2020

See if this answer suits your needs.
#306 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants