Update packages/mermaid/src/dagre-wrapper/markers.js

Co-authored-by: Alois Klink <alois@aloisklink.com>
This commit is contained in:
Justin Greywolf
2023-08-27 16:04:44 -07:00
committed by GitHub
parent c323293fe9
commit 67ff83a8b4

View File

@@ -34,7 +34,7 @@ const getSvgParent = (elem) => {
* - If the parent background color is a partial transparency, * - If the parent background color is a partial transparency,
* the arrowhead will also be partially transparent. * the arrowhead will also be partially transparent.
* - More complicated backgrounds like pictures/animations won't work. * - More complicated backgrounds like pictures/animations won't work.
* @param elem * @param elem The SVG element.
*/ */
const getBackgroundColor = (elem) => { const getBackgroundColor = (elem) => {
let parent = getSvgParent(elem); let parent = getSvgParent(elem);