Cluster horizontal margin not working
Hi! I'm trying to add different vertical and horizontal margins to a cluster, but it doesn't seem to be working. Am I making any mistake? Thank you!
Steps to reproduce
I rendered the following graph (which is the cluster demo graph with a small modification to add margins to cluster_1)
digraph G {
subgraph cluster_0 {
style=filled;
color=lightgrey;
node [style=filled,color=white];
a0 -> a1 -> a2 -> a3;
label = "process #1";
}
subgraph cluster_1 {
node [style=filled];
b0 -> b1 -> b2 -> b3;
label = "process #2";
color=blue
margin="50,0"
}
start -> a0;
start -> b0;
a1 -> b3;
b2 -> a3;
a3 -> a0;
a3 -> end;
b3 -> end;
start [shape=Mdiamond];
end [shape=Msquare];
}
Expected Behaviour
According to the documentation I should be able to specify vertical and horizontal margins to a cluster, passing a point instead of a scalar.
So in this example I would expect cluster_1 to have 50 as horizontal margin and 0 as vertical margin.
Actual Behaviour
It is only taking the first attribute of the point as margin, applying 50 to the vertical and horizontal margin.
OS Version
ArchLinux, kernel: 5.10.16-arch1-1
Graphviz Version
dot - graphviz version 2.46.0 (0)
Edited by Rodrigo Pelorosso