News for hackers. Stuff that matters.
Re:Documentation as Code for Cloud Using PlantUML by bjt12345 on Sunday July 30, 2023 @09:22PM (#36937865)
I 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

Re:Documentation as Code for Cloud Using PlantUML by cgb_ on Monday July 31, 2023 @02:58AM (#36939556)
Hey, what style of diagram are you using for this? Deployment diagram? Do you have link to an example?
Re:Documentation as Code for Cloud Using PlantUML by bjt12345 on Monday July 31, 2023 @08:00AM (#36941347)
Layout hints in legacy activity diagrams, from memory:

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).