Is there a human-readable and text-based representation of a Component diagram?
Asked Answered
J

3

8

I'm looking for a text-based representation of a component diagram that does these things:

  1. A human can read and understand the diagram just by looking at the text
  2. The text can be rendered into a diagram
  3. Simple. No fancy features. Basically just need boxes, arrows, and labels.

Here is a great example of what I'm looking for but with sequence diagrams: http://www.websequencediagrams.com/

Does such a language/format exist for component diagrams?

Jodijodie answered 25/8, 2012 at 21:26 Comment(0)
P
8

You can use plantuml. It can render component diagrams from text, like you want. You will need to install Graphviz for making diagrams. Example of text to UML :

@startuml

DataAccess - [First Component] 
[First Component] ..> HTTP : use

@enduml

enter image description here

There are other textual UML notations, you can check them here.

Pelagia answered 1/6, 2013 at 17:41 Comment(0)
P
3

I use yUML most of the time. It does what you need and it's simple enough. They don't have an API per se but you can easily build diagrams with URLs or POST.

You can also host it on your own servers by buying a license.

Polyneuritis answered 6/6, 2013 at 17:46 Comment(0)
O
1

You may try UMLet utility

"UMLet is a free, open-source UML tool with a simple user interface: draw UML diagrams fast, produce sequence and activity diagrams from plain text"

http://www.umlet.com/

Ozonide answered 6/6, 2013 at 10:44 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.