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
Saving the diagram in a specific path.
I'm using the option filename to change the name of the file generated, but how can I choose the path where the image will be created? "diagram", show=false, filename="architecture_diagram"):
Changing the size of the line in an arrow.
I've seen the Graphviz attribute "arrowsize" but this only change the size of the head of the arrow. What can I do if I want also to increase the bodyline of the arrow?
Add a legend
I have tried this approach:
legend_text = (
"legend: \l"
"red arrow = incompability found \l"
"green arrow = compatible \l"
)
with Diagram(diagram_label, show=False) as diag:
Node(label=legend_text, width="8", shape="plaintext", )
However, this Node appears overlapped to the rest of the diagram. Is there a way to fix his position to a certain area?
For example, on the top left of the image.
The text was updated successfully, but these errors were encountered:
@ROMA96x I am a novice user of this module and do not have answers for questions 2 and 3. For question one, you can include the path in the filename, for example; filename="./images/architecture.png" will save the image in a folder named images, if it exists.
Hello,
I have some problems doing the following things:
Saving the diagram in a specific path.
I'm using the option filename to change the name of the file generated, but how can I choose the path where the image will be created?
"diagram", show=false, filename="architecture_diagram"):
Changing the size of the line in an arrow.
I've seen the Graphviz attribute "arrowsize" but this only change the size of the head of the arrow. What can I do if I want also to increase the bodyline of the arrow?
Add a legend
I have tried this approach:
However, this Node appears overlapped to the rest of the diagram. Is there a way to fix his position to a certain area?
For example, on the top left of the image.
The text was updated successfully, but these errors were encountered: