]> granicus.if.org Git - graphviz/commit
fix 'id' attribute in SVG output omitting input graph id
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 27 Aug 2022 22:17:09 +0000 (15:17 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 27 Aug 2022 22:17:09 +0000 (15:17 -0700)
commit465cef702370966f17d27d455093cf69a651af9c
treebd3804920be1a931983a313ecd91fb2fbcad26b7
parent17acf53b1839edc09f488cd6641375499c6cad1c
fix 'id' attribute in SVG output omitting input graph id

When using an ID attribute on the input graph,¹ this attribute would only be
propagated to some output elements. In particular, generated `linearGradient`
and `radialGradient` elements in SVGs would be missing the ID.

Gitlab: fixes #2258

¹ https://graphviz.org/docs/attrs/id/
CHANGELOG.md
plugin/core/gvrender_core_svg.c
tests/test_regression.py