-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Why does the following code result in missing lines #1019
Comments
I see similar issue. is there a bug introduced recently? I also am seeing the last part of the line vanish: from diagrams import Cluster,Diagram
from diagrams.aws.compute import EC2
from diagrams.aws.database import RDS
from diagrams.aws.network import ELB
from diagrams.aws.network import ClientVpn
with Diagram("Grafana OSS", show=False, direction="TB"):
lb = ELB("private-lb")
db = RDS("postgres-db")
vpn = ClientVpn("vpn")
with Cluster("Grafana ec2 instances"):
svc_group = [EC2("grafana1"),
EC2("grafana2"),
EC2("grafana3")]
vpn >> lb >> svc_group
svc_group >> db
*Edit: I generated this image with the same code back in February 2024 and the lines looked correct |
What versions of Diagrams and GraphViz are you using? |
I'm on macOS. Looks like homebrew has been updating my install of Graphviz. Installed
/opt/homebrew/Cellar/graphviz/12.1.1 (281 files, 7.9MB) * ❯ pip list |rg -i diagram
diagrams 0.23.4 |
This issue was also reproduced to me (I'm using |
@protester-pog @acaylor With [email protected], it works properly. Please downgrade the GraphViz less than 12.0.0. |
Thanks,Now i use 11.0.0 is ok ;last time i use the 12.1.0 ; |
|
`from diagrams import Diagram
from diagrams.aws.compute import EC2
from diagrams.aws.database import RDS
from diagrams.aws.network import ELB
with Diagram("Grouped Workers", show=False, direction="TB"):
ELB("lb") >> [EC2("worker1"),
EC2("worker2"),
EC2("worker3"),
EC2("worker4"),
EC2("worker5")] >> RDS("events")`
my python version is 3.10;"The result of executing the code is as shown in the image."
The text was updated successfully, but these errors were encountered: