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
/* Political Entities - sample UML class diagram written in Umple Last updated: June 8, 2010 */ //Namespace for core of the system. namespace PoliticalEntities.core; class PoliticalEntity { name; } class Territory { isA PoliticalEntity; * -- * Territory borders; } class InterGovernmentalOrganization { isA PoliticalEntity; * -- * Territory; } class Country { isA Territory; 1 -- * StateOrProvince; } class StateOrProvince { isA Territory; } class InterGovernmentalOrganization { position 14 154 181 41; position.association InterGovernmentalOrganization__Territory 200,9 0,23; } //$?[End_of_model]$? //Positioning class PoliticalEntity { position 186 27 112 62; } class StateOrProvince { position 139 295 109 41; } class Country { position 305 294 109 41; position.association Country__StateOrProvince 0,10 117,9; } class Territory { position 305 139 109 45; position.association Territory__Territory:borders 102,0 109,13; }