Live data from Hacker News

The Hitchhiker’s Guide to PlantUML

crashedmind.github.io

1–10 of 32 posts

Re: The Hitchhiker’s Guide to PlantUML

#3
post #2

It took 3 clicks to get to the code. https://crashedmind.github.io/PlantUMLHitchhikersGuide/Netwo...

Did you mean _code_ like https://github.com/Crashedmind/PlantUMLHitchhikersGuide (which appears to be just the generated code from https://github.com/Crashedmind/PlayingWithPlantUMLSource for some reason)

Re: The Hitchhiker’s Guide to PlantUML

#8
post #7

Can someone explain the difference with graphviz?

graphviz makes graphs, and PlantUML makes UML diagrams:

https://en.wikipedia.org/wiki/Unified_Modeling_Language

Not being flippant, that's the difference. graphviz/dot is general-purpose and can be configured to produce UML-like diagrams, but that's labor intensive.

PlantUML takes text and produces UML diagrams from it. It's configurable... as long as you want UML. If you want something else, reach for graphviz.

In my own work, I use dot/graphviz for diagramming abstract syntax trees, while I've used PlantUML a couple times to diagram the layout of structs and to map the high-level relationships between modules in large software projects.

org-mode does a very nice job of integrating both of those formats into documents, fyi.

Re: The Hitchhiker’s Guide to PlantUML

#9
post #8
post #7

Can someone explain the difference with graphviz?

graphviz makes graphs, and PlantUML makes UML diagrams: https://en.wikipedia.org/wiki/Unified_Modeling_Language Not being flippant, that's the difference. graphviz/dot is general-purpose and can be configured to produce UML-like diagrams, but that's labor intensive. PlantUML takes text and produces UML diagrams from it. It's configurable... as long as you want UML. If you want something else, reach for graphviz. In m…

> as long as you want UML

... as long as you want UML diagrams.

It can't save out valid UML class definitions to a file.

Re: The Hitchhiker’s Guide to PlantUML

#10
post #3
post #2

It took 3 clicks to get to the code. https://crashedmind.github.io/PlantUMLHitchhikersGuide/Netwo...

Did you mean _code_ like https://github.com/Crashedmind/PlantUMLHitchhikersGuide (which appears to be just the generated code from https://github.com/Crashedmind/PlayingWithPlantUMLSource for some reason)

No, I meant the UML words instead of UML pictures.
Post reply on HN