TesterHQ - The Evil Tester Blog Aggregator

Jul 11, 2017 - 3 minute read - Instagram

Do you use PlantUML? A simple example.

Original Instagram Post

I like `.txt. It is easy to version control and diff.

Creating diagrams using a text representation is something I have done for years using GraphViz. ⠀ I recently started using PlantUML as well.

⠀ Below is a PlantUML diagram.

@startuml⠀
title PlantUML Diagramming⠀
⠀
User -> PlantUML : reads documentation at `plantuml.com`⠀
User -> PlantUML :visits `.plantuml.com/plantuml`⠀
User -> PlantUML : Writes a model as text \n Submits to PlantUML⠀
PlantUML -> PlantUML : Generates \n  Diagram⠀
PlantUML -> User: Updates URL & \n displays diagram⠀
User -> User : saves URL⠀
@enduml⠀

You can see the image it generates as the image for this post.

PlantUML has a great facility where you can use their online diagram generator, and the entire diagram text representation is compressed into the URL, making the diagram easy to share.⠀

I shared a diagram this morning with someone asking about clarification of how an API works - I might even add this diagram into my book.⠀

Sharing via URL also makes it easy to collaborate with other people.⠀

  • share URL⠀
  • they amend and share the URL with you⠀
  • you amend and share the URL back⠀

PlantUML is free and open source, and you don’t even have to install anything.

I like .txt. It is easy to version control and diff.⠀ ⠀ Creating diagrams using a text representation is something I have done for years using GraphViz.⠀ ⠀ I recently started using PlantUML as well.⠀ ⠀ Below is a PlantUML diagram.⠀ ⠀ ~~~~~~~~⠀ @startuml⠀ title PlantUML Diagramming⠀ ⠀ User -> PlantUML : reads documentation atplantuml.com⠀ User -> PlantUML :visits.plantuml.com/plantuml`⠀ User -> PlantUML : Writes a model as text \n Submits to PlantUML⠀ PlantUML -> PlantUML : Generates \n Diagram⠀ PlantUML -> User: Updates URL & \n displays diagram⠀ User -> User : saves URL⠀ @enduml⠀ ~~~~~~~~⠀ ⠀ You can see the image it generates as the image for this post.⠀ ⠀ PlantUML has a great facility where you can use their online diagram generator, and the entire diagram text representation is compressed into the URL, making the diagram easy to share.⠀ ⠀ I shared a diagram this morning with someone asking about clarification of how an API works - I might even add this diagram into my book.⠀ ⠀ Sharing via URL also makes it easy to collaborate with other people.⠀ ⠀ - share URL⠀ - they amend and share the URL with you⠀ - you amend and share the URL back⠀ ⠀ PlantUML is free and open source, and you don't even have to install anything.

A post shared by Software Testing Tips & Videos (@eviltester) on