// Uncomment the following line to change the fontsize and font: fontsize=10 // fontfamily=SansSerif //possible: SansSerif,Serif,Monospaced ////////////////////////////////////////////////////////////////////////////////////////////// // Welcome to UMLet! // // Double-click on elements to add them to the diagram, or to copy them // Edit elements by modifying the text in this panel // Hold Ctrl to select multiple elements // Use Ctrl+mouse to select via lasso // // Use +/- or Ctrl+mouse wheel to zoom // Drag a whole relation at its central square icon // // Press Ctrl+C to copy the whole diagram to the system clipboard (then just paste it to, eg, Word) // Edit the files in the "palettes" directory to create your own element palettes // // Select "Custom Elements > New..." to create new element types ////////////////////////////////////////////////////////////////////////////////////////////// // This text will be stored with each diagram; use it for notes. 8 UMLSpecialState 64 136 16 16 type=initial layer=3 UMLSpecialState 112 136 16 16 type=termination layer=3 UMLSpecialState 40 136 16 16 type=flow_final layer=3 UMLSpecialState 88 136 16 16 type=final layer=3 UMLSpecialState 192 136 32 32 type=decision layer=3 UMLState 32 184 72 32 state layer=2 UMLState 216 176 96 48 state with substates symbol=substate layer=2 UMLSpecialState 136 136 16 16 type=history_shallow layer=3 UMLSpecialState 160 136 16 16 type=history_deep layer=3 Text 232 136 80 40 This is a text element to place text anywhere. style=wordwrap layer=3 UMLNote 144 16 112 56 Note.. layer=3 UMLUseCase 32 224 96 32 lt=. Collaboration layer=2 UMLSyncBarVertical 112 16 16 56 template=txt title=titletext layer=3 bg=red UMLSyncBarHorizontal 40 40 64 16 lw=5 layer=3 Relation 248 80 24 48 lt=. layer=3 10.0;40.0;10.0;10.0 Relation 104 448 24 64 lt=()-[v] layer=3 10.0;10.0;10.0;60.0 Relation 96 400 40 64 lt=[^]-( layer=3 20.0;10.0;20.0;50.0 UMLGeneric 32 360 160 48 symbol=component Event Processor layer=2 Text 0 448 152 24 chart.start_at(somestate) style=wordwrap UMLState 160 232 144 64 *state* -- entry / exit / valign=top layer=2 UMLGeneric 216 384 96 48 bg=red layer=2 Relation 224 384 24 56 lt=- layer=2 10.0;50.0;10.0;10.0 Relation 240 384 24 56 lt=- layer=3 10.0;50.0;10.0;10.0 Relation 256 384 24 56 lt=- layer=3 10.0;50.0;10.0;10.0 Relation 272 384 24 56 lt=- layer=3 10.0;50.0;10.0;10.0 Relation 288 384 24 56 lt=- layer=3 10.0;50.0;10.0;10.0 UMLUseCase 216 304 96 32 Trace Exchange bg=blue layer=3 UMLUseCase 240 344 48 32 spy P bg=green layer=3 UMLClass 24 304 176 120 *Class* -- attr -- method layer=1 Relation 152 200 24 40 lt=<<- layer=3 10.0;10.0;10.0;30.0 UMLClass 120 184 80 24 Factory PlotGrid 8 520 232 88 // datasets can have optional names set (in this case "first_name") data first_name n[0] n[1] n[2] n[3] n[>=4] 0.1 1.3 2.5 3.7 5 // some settings are global, like the width of the grid data a b c d 1 2 3 4 // A variable which is on it's own line is valid for every following plot type=auto colors=auto plot layer=3 Relation 32 112 72 24 lt=<<<<<- layer=3 10.0;10.0;70.0;10.0 UMLUseCase 64 160 16 16 bg=green layer=3 UMLUseCase 40 160 16 16 bg=red layer=3 Relation 40 80 72 24 lt=<<<<<- 70.0;10.0;10.0;10.0 Relation 96 72 24 64 lt=<<<<<- 10.0;10.0;10.0;60.0 Relation 112 72 24 56 lt=<<<<<- 10.0;40.0;10.0;50.0;10.0;10.0 Relation 128 112 72 24 lt=-> layer=3 70.0;10.0;10.0;10.0 Relation 128 80 72 24 lt=-> layer=3 10.0;10.0;70.0;10.0 Relation 192 80 24 56 lt=-> layer=3 10.0;50.0;10.0;10.0 Relation 208 80 24 56 lt=-> layer=3 10.0;10.0;10.0;50.0 Relation 224 112 64 24 lt=. layer=3 10.0;10.0;60.0;10.0 Relation 280 80 24 56 lt=<<- layer=3 10.0;10.0;10.0;50.0 Relation 288 112 56 24 lt=<<- layer=3 10.0;10.0;50.0;10.0 Relation 296 80 48 24 lt=<<- layer=3 40.0;10.0;10.0;10.0 UMLNote 144 440 112 32 payload = namedtuple( 'payload', ['attr1', 'attr2']) layer=3 Text 272 32 32 32 customelement= // LEFT drawText("*+*",width/4.7,height/1.75,center) // BOTTOM (make minus bigger on bottom) drawText("*-*",width/1.9,height/1.19,center) drawText("*-*",width/2.1,height/1.19,center) // TOP (make minus bigger on top) // drawText("*+*",width/2.0,height/3.19,center) //drawText("*-*",width/2.1,height/3.19,center) //drawText("*-*",width/1.9,height/3.19,center) // RIGHT // drawText("*+*",width/1.3,height/1.75,center) //Parameters (x, y, width, height, start, extent, open) drawArc(0,0,width,height,-45,90,false) fg=black drawArc(0,0,width,height,45,90,false) fg=black drawArc(0,0,width,height,135,90,false) fg=black drawArc(0,0,width,height,225,90,false) fg=black