Skip to content

antham/eyuml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eyuml Build Status MELPA

Write textual uml diagram from emacs using yuml.me

From :

(start)->(test)-><a>[yes]->(action 1)->(end),<a>[no]->(action 2)->(end)

Get :

alt tag

Features

  • Select from various output format to generate diagram : jpg,pdf,png or svg (customize-group: eyuml)

Getting started

Dependencies

  • s (emacs library)
  • request (emacs library)

Install

You can use melpa:

M-x package-install RET eyuml

or you can pull it from here and you have to add in your emacs config :

(add-to-list 'load-path "/path/to/eyuml-directory")
(require 'eyuml)

Usage

You get three functions (for every sort of diagram) that you can map :

(global-set-key (kbd "C-c a") 'eyuml-create-activity-diagram)
(global-set-key (kbd "C-c c") 'eyuml-create-class-diagram)
(global-set-key (kbd "C-c u") 'eyuml-create-usecase-diagram)

Write your diagram in a buffer, save it and run one of this function according to your diagram. As a result, you get a picture next to the place where you recorded your diagram.

Tests

First you need to install cask :

curl -fsSkL https://raw.github.com/cask/cask/master/go | python

Add cask to your path :

export PATH=$PATH:/home/YOUR_USERNAME/.cask/bin

Download dependencies using cask :

make downloads

Run tests :

make test

About

Write textual uml diagram from emacs using yuml.me

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published