diff options
| author | Paul Buetow <paul@buetow.org> | 2026-02-27 17:01:36 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-02-27 17:01:36 +0200 |
| commit | 17e2f547e47ef628e17712045e2f5737244dae76 (patch) | |
| tree | 0ced9c27c2d2d9a58689bef5d0b64295a37e2574 /internal/flamegraph | |
| parent | e1ebebb3825f9e977067cc09caf68e18e9acf349 (diff) | |
flamegraph: export default svg config
Diffstat (limited to 'internal/flamegraph')
| -rw-r--r-- | internal/flamegraph/svgwriter.go | 5 |
1 files changed, 5 insertions, 0 deletions
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 |
