Skip to content

Commit 6e89300

Browse files
committed
graphviz: make the diagrams' background transparent by default
No need to set a background color, is there? Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 3e9e79d commit 6e89300

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

layouts/_default/baseof.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
if (x.style.display === 'none') return
2323
const options = {
2424
format: "svg",
25+
graphAttributes: {
26+
bgcolor: "transparent",
27+
},
2528
}
2629
const svg = vizInstance.renderString(x.innerText, options)
2730
const img = document.createElement('img')

0 commit comments

Comments
 (0)