GitXplorerGitXplorer
j

OTP-PlantUML

public
12 stars
2 forks
0 issues

Commits

List of commits on branch master.
Verified
abcfbf23df022336d1e249378c14be24caea1ccd

Merge pull request #2 from joaohf/dev

jjoaohf committed 5 years ago
Unverified
0dd6758541e1bea92142062ea30d229c1232c96a

Add OTP_Sequence

jjoaohf committed 5 years ago
Unverified
4e45554bcb7e2bb2ef1490e275f5c5c8675487d4

Add reference section

jjoaohf committed 5 years ago
Unverified
f615cbcc2bdb232330dab3f3b8781c57506b2793

General improvments

jjoaohf committed 5 years ago
Unverified
674b2337ea7fc9eafbfa0a35f5cf5299fe38cb02

Initial code

jjoaohf committed 5 years ago

README

The README file for this repository.

OTP-PlantUML

OTP-PlantUML is a attempt to use PlantUML and create some diagrams that fit the ideas found here OTP Design Principles User's Guide. The intention is to get easy building documentation around Erlang and Elixir using OTP principles.

Diagrams

  • OTP Supervisor tree, a supervisor tree which supervisors and workers can drawing using PlantUML. Additional stereotype were provided if you need to describe a bit more in detail each process. Right now the following stereotype exists: gen_server, gen_event, gen_statem, Agent, Task, Registry, Supervisor, TaskSupervisor:

OTP Supervisor

  • OTP Sequence, sequence diagram with additional participants using stereotype and allowing sending messages, calling cast and call:

OTP Sequence

How to use

There are two plantuml include files (iuml):

  • OTP_SupervisorTree.iuml
  • OTP_Sequence.iuml

Each include file has macros which defines the diagram_type.

You need to include one of these two files using one of the following methods:

  • To be independent of any internet connectivity, download the file respective .iuml found in the root and reference it locally with
!include path/to/OTP_<diagram_type>.iuml
  • If you want to use the always up-to-date version in this repo, use the following:
!include https://raw.githubusercontent.com/joaohf/OTP-PlantUML/master/OTP_<diagram_type>.iuml

See samples about how to use these diagrams.

Contribute

This repository accepts features and improvements.

License

This project is licensed under the MIT License - see the LICENSE file for details.

References