Repository navigation
v0.10.0
v0.10.0
The dot package becomes the single source of truth for graph construction, and CLI --type dot output changes. Minor version bump per this module's policy: rendering output changes are breaking events.
Breaking
--type dotnow emits pure, unlaid-out DOT source generated by thedotpackage (nopos/bb/layout attributes), instead of Graphviz's layout-annotated-Tdotoutput. The graph semantics are identical; pipe through Graphviz yourself for laid-out output (e.g.spannerplanviz --type dot ... | dot -Tsvg). DOT output also no longer loads the embedded Graphviz/WASM runtime, so it is faster and lighter.
Changed
- The
graphvizpackage (svg/png) now renders by parsing thedotpackage's output (dot.SourceWithOptions→ParseBytes→ layout) instead of constructing a cgraph directly (#56). SVG output is byte-identical (goldens unchanged); the duplicated construction path and its structural parity test are removed, replaced by a quoting/escaping regression test over a special-characters profile.
Notes
- Library API unchanged;
graphviz.DOTremains available for runtime-Tdotrendering viagraphviz.NewRendererif the old behavior is needed programmatically.