Question about Mermaid in v2.9.2

Is it possible to link to a website within a Mermaid diagram? The code below doesn’t work. Or is there another way to do this?

flowchart TD
A[Google] → B[Wikipedia]

click A "https://www.google.com" "Google"
click B "https://www.wikipedia.org" "Wikipedia" 

Is it also possible to link to another Bear note using a wikilink that includes a specific paragraph? For example, [[note#heading]].

It cannot work as I wrote here. Clicking on a mermaid diagram opens immediately the code box rather than allowing that kind of interaction. I am curious if the devs can solve that issue.