Open
Description
Description
In case of Graph diagrams whenever I set the opacity to 0 of an edge then the related annotation's background is still visible
Steps to reproduce
- Create a graph diagram
- Define at least two nodes
- Define at least one edge
- Set the
opacity
and thecolor
to 0 for the edge via thelinkStyle
Screenshots
Code Sample
graph TD
start[Start]
middle[Process]
stop[Stop]
start -- calls --> middle
middle -- notifies --> stop
%% Step 1 - hide everything except the start
%% Step 2 - comment out related assets
%% Step 3 - comment out related assets
%% Frame 2's assets
linkStyle 0 opacity:0,color:#0000
style middle opacity:0,color:#0000
%% Frame 3's assets
linkStyle 1 opacity:0,color:#0000
style stop opacity:0,color:#0000
Setup
- Mermaid version:
- Browser and Version: [Chrome, Edge, Firefox]
Suggested Solutions
To be able to hide the edge's annotation by setting 0 to one of the opacity properties.