-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Adding graph_attr doesn't take effect #202
Comments
References #65 |
If you only want to change the size, you don't need to set the See more attributes here: https://graphviz.gitlab.io/doc/info/attrs.html with Diagram('\ndemo', show=False) as diag:
with Cluster(""):
Node(shape="triangle",
label="tiny", fontsize="6", labelloc="c",
fixedsize="true", width="0.5", height="0.8",
pin="true", pos="0,2")
Node(shape="triangle",
label="normal", labelloc="c",
pin="true", pos="1,1")
diag |
This only seems to work on nodes. The problem I'm having is when there are say 100 nodes, the visual puts them all in a straight line. How do you get the visual to create rows of nodes within a cluster? Can you manage the width of the clusters or even at the Diagram level? I could not add width settings to these objects and get them to work. |
I've tried variety of the options, including
"fixedsize": "shape"
, but the size of the shapes doesn't change.The text was updated successfully, but these errors were encountered: