Architect
Create UML Class diagrams using a yUML-like notation.
Installation
$ gem install uml_architect
Usage
$ architect [file ...]
This generates a output file with a svg extension with the same base name as the input file.
Examples
Simple Class
[User]
Class with methods and attributes
[User|+Firstname;+Lasname;-Password;|+Login();+Logout()]
Simple Association
[User]-[Tweet]
Inheritance
[Animal]^-[Cat]
[Animal]^-[Dog]
Composition and Aggregation
[Car]++0..1-1[Carburetor]
[Pong]+0..1-0..*[Duck]
Directional Association
[Order]-billing >[Address], [Order]-shipping >[Address]
Dependency
[REST]uses-.->[HTTP]
Notes
[note: this is a note]
[note: This is a note about user]-.-[User]
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request