![]() 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 In PlantUML you can simply add the "responsible" lane by surrounding it's name with | (pipe). Imagine you'd like to make a swimlane out of it. it all applies to your diagrams now!īut there's more. You will be able to see the Sequence diagram. Click on any method on outline view > right click and go to Revel it and finally click on Static Sequence diagram. Now open you existing project in eclipse. Generally speaking, all the things you love (or hate) about git are present here: code-share, diff, branching, pull-requests. Now lets integrate this in our Eclipse using below screen. ![]() 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. Produce a Sequence Diagram from your Java code is the solution. :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. Either way, you will need to look into the documentation to know the syntax. 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. Creating diagrams is a necessary part of every good documentation.
0 Comments
Leave a Reply. |