graphviz-rust
graphviz-rust copied to clipboard
Support alternative NodeAttribute::margin notation
The node attribute margin allows 2 notations (afaik):
-
"0.0"= vertical and horizontal margins =0.0 -
"0.0,1.0"= horizontal margins =0.0, vertical margins =1.0
Currently, NodeAttributes::margin() only allows to specify a single f32 value.
Yeah, I agree.
added margin_separate