Creating UML
Join the DZone community and get the full member experience.
Join For Freei'm a big fan of plain-text tools. source code. restructuredtext. latex.
i'm
not a big fan of proprietary file formats and document formats that are
difficult or impossible to decode. json and xml rock. .xls files are
painful and difficult to work with.
uml
diagrams are a particularly odious problem. to see a diagram it has to
be png or pdf or some other graphic format that's optimized for storage
and display, but not really optimized for editing. svg has a text
vector markup language, but it's painful because it's so generalized.
recently, i found two text to uml tools that are exciting prospects.
first, there's
yuml.me
.
this draws pretty nice, if simple, diagrams that you can work with
with relatively little pain. it's slow and limited. but it works for
simple diagrams.
the best part is that the image is rendered from the url as plain text.
http://yuml.me/diagram/scruffy/usecase/[author]-(write text), (render image)-[yuml], [author]-(share link).
yuml
supports simple use case diagrams, simple class diagrams and really
simple activity diagrams. it covers a few bases with a pleasant level
of flexibility.
the other tool is
plant uml
. "plantuml is used to draw uml diagram, using a simple and human readable text description."
the online
plant uml server
allows a flexible no-software-on-the-desktop way to play with their
markup language. the text of the image is not in the url here, since
the text is so much more complex.
the best part of this is that the pictures come from plain text.
- the plain text is trivial to put under configuration control.
- plain text system descriptions are easy to write with simple markup.
- plain text documentation of existing software can be derived from simple source analysis.
- plain text design documents can generate some elements of the source code
UML
Plain text
Diagram
Published at DZone with permission of Steven Lott, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
Trending
-
How To Use Pandas and Matplotlib To Perform EDA In Python
-
Does the OCP Exam Still Make Sense?
-
You’ve Got Mail… and It’s a SPAM!
-
How To Scan and Validate Image Uploads in Java
Comments