-
Notifications
You must be signed in to change notification settings - Fork 27
Description
The PlantUML plugin has a very nice feature that would be great if it also worked with Mermaid.
You can add a plantUML block in a comment in the code file and open the visualizer which then displays a diagram of the comment block where the cursor is located (so if there are several blocks in a file you can just go to the next block to visualize that block).
This way you can have a sequence diagram of a handler block directly in the code, minimizing the work for the developer to find the documentation file for that handler.
If you add a name to the plantuml block, that name will be used when generating an SVG, PNG... file export of that diagram (-> my-name.svg in the example below).
Example:
/**
*@startuml my-name
*[PlantUML block]
*@enduml
*/
It would be great if this functionality also would be available for Mermaid
Thanks for a great tool :-)