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]

Simple Class

Class with methods and attributes

[User|+Firstname;+Lasname;-Password;|+Login();+Logout()]

Class with details

Simple Association

[User]-[Tweet]

Simple Association

Inheritance

[Animal]^-[Cat]
[Animal]^-[Dog]

Inheritance

Composition and Aggregation

[Car]++0..1-1[Carburetor]
[Pong]+0..1-0..*[Duck]

Composition and Aggregation

Directional Association

[Order]-billing >[Address], [Order]-shipping >[Address]

Directional Association

Dependency

[REST]uses-.->[HTTP]

Dependency

Notes

[note: this is a note]
[note: This is a note about user]-.-[User]

Notes

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request