![]() If you want to know more, just reach out to me. If this acticle got you interested, just give it a try. That's when you start to model, instead of just drawing boxes. Starting with a bullet list, then change it to task and later discuss with everyone which lane it belongs to. So changing a task to a different lane is as easy as moving a line of code up or down. So here's the sample with swimlanes: demo-graph2 Can you clarify what the desired output is This is one of the (in my opinion) rare occasions where a picture would be helpful. A workaround might be necessary to get as close as possible to the desired output. In PlantUML you can simply add the "responsible" lane by surrounding it's name with | (pipe). Plantuml is a little restricted when it comes to representable language constructs. Imagine you'd like to make a swimlane out of it. it all applies to your diagrams now!īut there's more. Generally speaking, all the things you love (or hate) about git are present here: code-share, diff, branching, pull-requests. Also you can get code-diffs, if something changed. No messing around with moving boxes any more. Now the nice part is, if you edit the text file, you'll get it realigned. □Īs for the output, it will look like this. And that means, even in it's code-state, it stays readable, as long as you have a text editor. :Me you can see, it almost reads like the pseudo-code you probably had to write at school/university. Skinparam ActivityBackgroundColor #8ae6ae Now let's look at a first activity diagram example. Probably the "hardest" part, but as easy as reading an API documentation. activity elements, use cases, etc.), which generally do not contain sub-elements. While it is possible to add long descriptions (.) to elements, Im almost certain it was intended only for certain element types (e.g. Either way, you will need to look into the documentation to know the syntax. I can only assume that PlantUML tries to be as UML-like as possible. ![]() Or simply create a diagram to show how your infrastructure is set up. Sequence diagrams help show complex request-response-cycles, or activity diagrams can outline complex algorithms. ![]() I'd recommend to start with Visual Studio Code and the PlantUML extension. You can basically use any editor you like, from Sublime, IDEA, Neovim, Emacs, Notepad. PlantUML offers support for a whole set of diagram types, among them are: It is OpenSource, written in Java and thus available to all platforms. you describe a diagram sematically rather than draw shapes and imply the semantic. In this article I want to show a tool that creates diagrams from text-files, i.e. But which tool do you use to create them? Visio? Signavio? Or just PowerPoint or Paint? In my opinion is clearly doesn't matter that much, as long as everyone using it after you is able to make changes to it, so it stays up-to-date and correct. (2) When using 'alt', you have to mention. (1) Remember, that a class / object may send messages to itself ( 'DoSomething' ), this makes 'alternatives' more diificult to appreaciate. Creating diagrams is a necessary part of every good documentation. You can manually add activations at the start of each alt fragment and at the end of the activation send the return message. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |