summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
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