From 17e2f547e47ef628e17712045e2f5737244dae76 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 27 Feb 2026 17:01:36 +0200 Subject: flamegraph: export default svg config --- internal/flamegraph/svgwriter.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/internal/flamegraph/svgwriter.go b/internal/flamegraph/svgwriter.go index 9cdb441..f8b70b3 100644 --- a/internal/flamegraph/svgwriter.go +++ b/internal/flamegraph/svgwriter.go @@ -47,6 +47,11 @@ func defaultSVGConfig() SVGConfig { } } +// DefaultSVGConfig returns the default SVG configuration values. +func DefaultSVGConfig() SVGConfig { + return defaultSVGConfig() +} + // WriteSVG renders a flamegraph trie into an interactive SVG document. // // The output is a self-contained SVG that includes embedded CSS and JavaScript -- cgit v1.2.3