Skip to content
Fetching latest commit…
Cannot retrieve the latest commit at this time.
..
Failed to load latest commit information.
samples
README
README.rst
mksamples.sh
scruffy.py
yuml2dot.py

README.rst

Makes SVG shapes look hand-drawn and creates UML diagrams using yUML (http://yuml.me) syntax

Requires dot (http://www.graphviz.org/) and rsvg-convert (http://librsvg.sourceforge.net/), has been tested on Ubuntu.

./yuml2dot.py --png "[User|+Forename;+Surname;+HashedPassword;-Salt|+Login();+Logout()]" > samples/sample13.png

https://github.com/aivarsk/scruffy/raw/master/samples/sample13.png

./yuml2dot.py --png --font-family Purisa --scruffy "[User|+Forename;+Surname;+HashedPassword;-Salt|+Login();+Logout()]" > samples/sample13-scruffy.png

https://github.com/aivarsk/scruffy/raw/master/samples/sample13-scruffy.png

./yuml2dot.py --png "[note: You can stick notes on diagrams too!{bg:cornsilk}],[Customer]<>1-orders 0..*>[Order], [Order]++*->[LineItem], [Order]-1>[DeliveryMethod], [Order]-*>[Product], [Category]<->[Product], [DeliveryMethod]^[National], [DeliveryMethod]^[International]" > samples/sample14.png

https://github.com/aivarsk/scruffy/raw/master/samples/sample14.png

./yuml2dot.py --png --font-family Purisa --scruffy "[note: You can stick notes on diagrams too!{bg:cornsilk}],[Customer]<>1-orders 0..*>[Order], [Order]++*->[LineItem], [Order]-1>[DeliveryMethod], [Order]-*>[Product], [Category]<->[Product], [DeliveryMethod]^[National], [DeliveryMethod]^[International]" > samples/sample14-scruffy.png

https://github.com/aivarsk/scruffy/raw/master/samples/sample14-scruffy.png

yUML++:

Class name (string till the first pipe) is the unique block identifier not the whole text inside square brackets. So [classA|field1;field2] and [classA] is the same block. Fields and methdods from the first occurance are used.

[classA|field1;field2]-[BoxX] [classA]-[BoxY]

Initial cluster support, cluster specification must be the last.

./yuml2dot.py --png --font-family Purisa --scruffy "[Node A]->[Node B],[Node B]->[Node C],[Group [Node A][Node B]]" > samples/sample15-scruffy.png

https://github.com/aivarsk/scruffy/raw/master/samples/sample15-scruffy.png
Something went wrong with that request. Please try again.