Talk:UML activity diagram

The educational technology and digital learning wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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