y-takey / atom-mermaid

Preview mermaid on atom editor
MIT License
42 stars 7 forks source link

interaction not generating #36

Open shane0 opened 7 years ago

shane0 commented 7 years ago

This might be an issue for mermaid but I'll mention it here too since I use it in atom, if anyone has time to test this feature?

I'm trying to use the interaction feature, to add hyperlinks in my chart and they're not generating in the svg file.

If I generate one using their online editor the link feature works in the generated chart online. But, when I download the svg locally from the online editor the link is again missing.

Tried to test using just mermaid locally and I'm running into install issues so I don't know about that yet.

y-takey commented 7 years ago

Hi @shane0, thank you for this an issue! This issue is for mermaid. Because, click-event will be handled in mermaid's script. not <a href> in <svg>. so it works on generated web page(including mermaid), but not works on other environment.

Thanks,