Draw on the right, write (Umple) model code on the left. Analyse models and generate code. This tool stores your data in cookies and on a server. I understand. Click to learn about privacy. Download Donate For help: User manual Ask questions Report issue
// Example code illustrating various // kinds of associations class A {} // Class with inline association having role name class B { 1 -- * A endTwo; } // Class with reflexive association class C { 0..1 -- * C; 1 -- 0..1 D; // D is external } // Independently defined and directed association association { 0..1 A -> * C; } // Class with composition class E { 0..1 e <@>- * A a; } // Reference to a class defined elsewhere external D {}//$?[End_of_model]$? class B { position 242 33 109 45; position.association A:endTwo__B 0,23 110,26; } class C { position 50 150 109 45; position.association C__D 75,46 76,0; } // @@@skipcompile -- can only be compiled with a system that also has D // @@@skipcppcompile