It will be great to have support for plantuml.
Expecting something like this:
When we write plantuml in the editor, be able to see live preview of uml diagram.
Thanks.
How does PlantUML differ from Mermaid as already requested in #147?
Soooo … UML seems to be uncommon in the JavaScript world, there are a few packages whom I wouldn't personally trust to be maintained. However, Pandoc seems to offer a filter using UML: https://github.com/timofurrer/pandoc-plantuml-filter
Mermaid is non-standard (b/c no UML), yet it would be easy to implement. I think the question of UML vs. Mermaid should be brought into the Forum so that it can be discussed there, as it seems to involve more than a few lines of code!
Sure. But just for info, list of tools using PlantUML:
http://plantuml.com/running
Ah, I see Pandoc also has a filter available, this is good.
If UML is uncommen in the JAVA world, d3.js is a great alternative for graphs and diagrams...
https://markvis.js.org
Markvis is a markdown-it plug-in that utilities d3.js library
Hi,
I would like to also advocate for PlantUML because it is already implemented in the very handy QOwnNotes (cf.the plugin https://github.com/qownnotes/scripts/tree/master/render-plantuml) and a feature request for the popular Marktext (cf. https://github.com/marktext/marktext/issues/603).
I also think it would be interesting to tend to Markdown compatibility by using the same implementation:
```plantuml
[optional @startuml or @startsomethingelse]
some plantuml, or graphviz or whatever data
[optional @enduml or @endsomethingelse]
```
https://github.com/qownnotes/scripts/blob/master/render-plantuml/render-plantuml.qml shows the JS code used for QOwnNotes implementation.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
For presentations, there is a reveal.js plugin which converts embed plantuml snippet to external image.
<pre>
<code class="language-plantuml">
@startuml
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
Alice -> Bob: Another authentication Request
Bob --> Alice: Another authentication Response
@enduml
</code>
</pre>
<pre>
<script>
zettlrRevealOptions.plantuml = {
serverPath: 'http://www.plantuml.com/plantuml/svg/'
}
zettlrRevealOptions.dependencies = [
{
src: 'https://cdn.jsdelivr.net/npm/reveal-plantuml'
}
]
</script>
that maybe helpful. But I don't know how to prevent pandoc to transform block syntax plantuml, I use the html format instead.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I don't think we will ever see some real graph tool in Zettlr, sad, because it could have been a great tool if it only had the feature needed for research report writing ... mermaid just doesnt do the job when it comes to timelines and network graphs or other similar graphs and diagrams ...
@StoltHD Relevancy of the Graphing question to this issue?
@StoltHD Relevancy of the Graphing question to this issue?
PlantUML are a graphs/diagram tool, d3.js are graph/diagram tool, mermaid are a less featured alternative to both of this tools, and actually not useable or extremely limited for UML charts, timelines and different type of network graphs ...
The diagrams in mermaid are also limited in compare to UML and specially in compare to using d3.js as charting tool ...
At least with plantuml its possible to draw network graphs with less limitations than mermaid.
I just stated that we most likely would never see real graphing/diagram tools in zettlr, just as we want see a web clipper ... and for those two reasons it is limited as a tool for research ... but great for writing notes and school papers without to much graphs and diagrams ...
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed due to inactivity. If you believe that this issue is relevant for many users and should not be closed, feel free to comment so that the admins will be notified.
Mermaid is nicer but not as featured as PlantUML.
I like the Zettlr's concept/interface.
But leaving PlantUML is impossible for me.
Too bad we are not enough wanting this feature. :(