mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-18 23:09:49 +02:00
Update packages/mermaid/src/dagre-wrapper/markers.js
Co-authored-by: Alois Klink <alois@aloisklink.com>
This commit is contained in:
@@ -34,7 +34,7 @@ const getSvgParent = (elem) => {
|
||||
* - If the parent background color is a partial transparency,
|
||||
* the arrowhead will also be partially transparent.
|
||||
* - More complicated backgrounds like pictures/animations won't work.
|
||||
* @param elem
|
||||
* @param elem The SVG element.
|
||||
*/
|
||||
const getBackgroundColor = (elem) => {
|
||||
let parent = getSvgParent(elem);
|
||||
|
Reference in New Issue
Block a user