Archimate
I also have included some Ruby code that plays with the .archimate
file format produces by Archi to produce useful output.
Installation
Add this line to your application's Gemfile:
gem 'archimate'
And then execute:
$ bundle
Or install it yourself as:
$ gem install archimate
Usage
archimate
The example scripts are (some are planned):
command | description |
---|---|
archimate clean ARCHIFILE |
Clean up unreferenced elements and relations |
archimate convert ARCHIFILE |
Convert the incoming file to the desired type |
archimate dedupe ARCHIFILE |
de-duplicate elements in Archi file |
archimate dupes ARCHIFILE |
List (potential) duplicate elements in Archi file |
archimate help [COMMAND] |
Describe available commands or one specific command |
archimate lint ARCHIFILE |
Examine the ArchiMate file for potential problems |
archimate map ARCHIFILE |
Produce a map of diagram links to a diagram |
archimate stats ARCHIFILE |
Show some statistics about the model |
archimate svg -o OUTPUTDIR ARCHIFILE o, --output=OUTPUT |
Produce semantically meaningful SVG files from an Archi file |
Development
After checking out the repo, run bin/setup
to install dependencies. Then, run rake test
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and tags, and push the .gem
file to rubygems.org.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/mmorga/archi-tools-rb.