Talk:UML activity diagram

The educational technology and digital learning wiki
Revision as of 12:09, 11 June 2008 by Daniel K. Schneider (talk | contribs) (using an external editor)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Using the MetaUML uml tag is quite tricky. See examples and the manual at http://metauml.sourceforge.net/

The only way to figure out errors is to install this locally and test like this. E.g code like this:

 <uml redraw>
 Fork.forkA("h", 100);
 Fork.forkB("v", 20);
 leftToRight(10)(forkA, forkB);
 drawObjects(forkA, forkB);
 </uml>

goes into a xxx.mp file like this:

input metauml;
beginfig(1);
 Fork.forkA("h", 100);
 Fork.forkB("v", 20);
 leftToRight(10)(forkA, forkB);
 drawObjects(forkA, forkB);
endfig;
end

Then, type in a console:

mpost xxx.mp