This extension will generate a UML diagram using yUML's syntax. You can draw class, activity, and use case diagrams. yUML uses a stripped down UML markup designed to keep you on focus, rather than allowing you to get bogged down in the details of making the perfect UML diagram.
You can either select a section of text in a document, or use a whole document as a source for rendering a diagram. Triggering a render is done by pressing
ctrl-alt-p and then typing
Yuml Generator: Generate, alternatively you can press
The extension will work out what text you want to be parsed using the following rules:
nb: activity diagrams are only in one style and direction.
(start)->|a||a|->(Make Coffee)->|b||a|->(Make Breakfast)->|b||b|-><c>[want more coffee]->(Make Coffee)<c>[satisfied]->(end)
nb: use case diagrams are only available going in one direction.
[Customer]-(Sign In)[Customer]-(Buy Products)(Buy Products)>(Browse Products)(Buy Products)>(Checkout)(Checkout)<(Add New Credit Card)
If you place your yUML in a
yuml</code> block you can alter the type and style of diagram drawn. The format is <code>yuml:type:style, so if you wanted to render a scruffy class diagram you could do the following:
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.