You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using curvestyle="curved", arrows sometimes point the wrong direction. Example:
from diagrams import Diagram
from diagrams.aws.storage import S3 as Data
with Diagram(filename="test1", show=False, direction="TB", curvestyle="curved"):
A = Data("A")
B = Data("B")
A >> B
B >> A
I end up seeing two A >> B arrows instead of what I want. To fix it, I need to change the second one to A << B or change curvestyle to "ortho". The first solution is more difficult when visualizing graphs from computed graphs programmatically, I probably need to know which node is "higher," which is likely inconsistent with graph visualization algorithms. (I tried this and had my loop going the right direction, but there ended up being a loop that shouldn't have been there when there should have been 2 arrows from the same input node to the same output node.)
The text was updated successfully, but these errors were encountered:
When using
curvestyle="curved"
, arrows sometimes point the wrong direction. Example:I end up seeing two
A >> B
arrows instead of what I want. To fix it, I need to change the second one toA << B
or change curvestyle to "ortho". The first solution is more difficult when visualizing graphs from computed graphs programmatically, I probably need to know which node is "higher," which is likely inconsistent with graph visualization algorithms. (I tried this and had my loop going the right direction, but there ended up being a loop that shouldn't have been there when there should have been 2 arrows from the same input node to the same output node.)The text was updated successfully, but these errors were encountered: