Draw UML

Gem Version Build Status

Drawing the Unified Modeling Language of Rack.

Installation

Add this line to your application's Gemfile:

gem 'draw_uml'

And then execute:

$ bundle

Usage

Rack

Put this line to your config.ru:

require 'draw_uml'
use Rack::Static, urls: ['/images'], root: 'public'
run DrawUml::Engine

And then execute:

$ rackup

Draw by selecting the model:

sequence_diagram

Rails

Add this line to your config/routes.rb:

mount DrawUml::Engine, at: '/rails/draw/uml'

Use

License

  • MIT