We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following code:
from diagrams import Diagram from diagrams.aws.network import Route53 as DNS with Diagram("Newline example", show=False): other_dns = DNS("One line DNS") newline_dns = DNS("Newline\nDNS")
Results in bad formatting for labels:
Not sure how I can properly push the label down. Looks fine for single line, but multi-line labels end up pretty bad.
Relevant debugging info:
$ python -V Python 3.7.6 $ pip freeze | grep diagrams diagrams==0.5.0 $ brew info graphviz graphviz: stable 2.42.2 (bottled), HEAD
The text was updated successfully, but these errors were encountered:
The label area has a fixed height, so multi-line text will be printed badly. Any reasons to use multi-line labels?
Sorry, something went wrong.
I have some cases where the label is otherwise too long, so it goes over the cluster boundary.
@josegonzalez Diagrams v0.6.2 supports multi-line labels. Try with this version.
Works great. Thanks!
No branches or pull requests
The following code:
Results in bad formatting for labels:
Not sure how I can properly push the label down. Looks fine for single line, but multi-line labels end up pretty bad.
Relevant debugging info:
$ python -V Python 3.7.6 $ pip freeze | grep diagrams diagrams==0.5.0 $ brew info graphviz graphviz: stable 2.42.2 (bottled), HEAD
The text was updated successfully, but these errors were encountered: