summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-27 17:01:36 +0200
committerPaul Buetow <paul@buetow.org>2026-02-27 17:01:36 +0200
commit17e2f547e47ef628e17712045e2f5737244dae76 (patch)
tree0ced9c27c2d2d9a58689bef5d0b64295a37e2574 /internal
parente1ebebb3825f9e977067cc09caf68e18e9acf349 (diff)
flamegraph: export default svg config
Diffstat (limited to 'internal')
-rw-r--r--internal/flamegraph/svgwriter.go5
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