graphviz-rust icon indicating copy to clipboard operation
graphviz-rust copied to clipboard

Support alternative NodeAttribute::margin notation

Open seijikun opened this issue 1 year ago • 1 comments

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.

seijikun avatar Jul 10 '24 11:07 seijikun

Yeah, I agree.

besok avatar Jul 12 '24 04:07 besok

added margin_separate

besok avatar Jun 08 '25 08:06 besok