<?xml version="1.0" encoding="UTF-8"?>
<!--
  ****************************************************************
ERmodel_v1.2/instances/catalogue/src/conceptualModels/2RegularHypergraph.xml 
****************************************************************

Copyright 2016, 2107 Cyprotex Discovery Ltd.

This file is part of the the ERmodel suite of models and transforms.

The ERmodel suite is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

ERmodel suite is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
****************************************************************
-->
<entity_model xmlns="http://www.entitymodelling.org/ERmodel">
   <defaults>
      <et_width>1.6</et_width>
   </defaults>
   <entity_type>
      <name>letter</name>
      <composition>
         <type>upper_case</type>
         <cardinality>
            <ExactlyOne/>
         </cardinality>
      </composition>
      <composition>
         <type>lower_case</type>
         <cardinality>
            <ExactlyOne/>
         </cardinality>
      </composition>
      <presentation>
         <x>1.4</x>
         <y>0.1</y>
      </presentation>
   </entity_type>
   <entity_type>
      <name>Form</name>
      <presentation>
         <below>letter</below>
      </presentation>
      <entity_type>
         <name>upper_case</name>
      </entity_type>
      <entity_type>
         <name>lower_case</name>
         <presentation>
            <rightOf>upper_case</rightOf>
         </presentation>
      </entity_type>
      <reference>
         <name>has code</name>
         <type>morse code</type>
         <cardinality>
            <ExactlyOne/>
         </cardinality>
         <inverse>for</inverse>
         <diagram>
            <path>
               <srcarmlen>1.0</srcarmlen>
               <destarmlen>1.0</destarmlen>
            </path>
         </diagram>
      </reference>
   </entity_type>
   <entity_type>
      <name>morse code</name>
      <composition>
         <type>Element</type>
         <cardinality>
            <OneOrMore/>
         </cardinality>
         <sequence/>
      </composition>
      <reference>
         <name>for</name>
         <type>Form</type>
         <inverse>has code</inverse>
         <cardinality>
            <OneOrMore/>
         </cardinality>
      </reference>
      <presentation>
         <rightOf>letter</rightOf>
         <x>4</x>
      </presentation>
   </entity_type>
   <entity_type>
      <name>Element</name>
      <presentation>
         <below>morse code</below>
      </presentation>
      <entity_type>
         <name>dot</name>
      </entity_type>
      <entity_type>
         <name>dash</name>
         <presentation>
            <rightOf>dot</rightOf>
         </presentation>
      </entity_type>
   </entity_type>
</entity_model>
