Documentation as Code for Cloud Using PlantUML
31–35 of 35 posts
Re: Documentation as Code for Cloud Using PlantUML
#32I use PlantUML to create quick network diagrams. It's the only solution I found which allows tailoring a diagram if it renders poorly. For example, if access switches are to be on the left, and trunk switches on the right, PlantUML is the only solution I found which adequately allows the user to add such constraints, via: S1 --E-- S2
Hey, what style of diagram are you using for this? Deployment diagram? Do you have link to an example?
https://crashedmind.github.io/PlantUMLHitchhikersGuide/layou...
Can take compass coordinates from memory, in shorthand.
In Python, I pull a network topology from an API, then convert it to PlantUML, then edit a few arrows/lines so to point the right way, the entire topology adjusts accordingly, and generally I arrive at a useable diagram very quickly.
Way quicker than Visio, and nothing else seems to be able to do this (e.g. graphviz doesn't allow this).
Re: Documentation as Code for Cloud Using PlantUML
#33Re: Documentation as Code for Cloud Using PlantUML
#34For anyone using Emacs Org mode, it may be interesting to know that plantUML diagrams can be embedded in Org documents using Babel.
Re: Documentation as Code for Cloud Using PlantUML
#35One of the coolest things about plantuml is the generated PNG actually contains the source code for the image as metadata. If someone gives you an image, they don't also need to send you the source because you can extract it using the plantuml CLI.