4 ms·
Sorry that should have been https://mermaid.js.org/syntax/sequenceDiagram.html#classes-used https://mermaid.js.org/syntax/sequenceDiagram.html#classes-u... The
by alexisread 4y ago
Sorry that should have been https://mermaid.js.org/syntax/sequenceDiagram.html#classes-used https://mermaid.js.org/syntax/sequenceDiagram.html#classes-u...
The section where you can add styling by using css classes.
- benatkin 4y agoNo, that's not what I'm talking about at all. I'm talking about adding a custom css class to a particular node so I can attach behaviors to it with JavaScript.
- alexisread 4y agoAh I see, I guess you're going to be generating the mermaid diagrams? Depending upon how heavyweight you want to go, something like https://www.npmjs.com/package/vue-mermaid https://www.npmjs.com/package/vue-mermaid can work. I've not looked at how it attaches the behavior to the node, there is a way to do it though.