<?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.5</et_width>
   </defaults>
   <absolute>
      <composition>
         <cardinality>
            <OneOrMore/>
         </cardinality>
         <type>supplier</type>
      </composition>
      <composition>
         <cardinality>
            <OneOrMore/>
         </cardinality>
         <type>ditributor</type>
      </composition>
   </absolute>
   <entity_type>
      <name>supplier</name>
      <presentation>
         <x>0</x>
         <y>1.0</y>
      </presentation>
      <reference>
         <name>supplies</name>
         <cardinality>
            <OneOrMore/>
         </cardinality>
         <type>ditributor</type>
         <inverse>supplied by</inverse>
         <diagram>
            <path>
               <label>
                  <position>
                     <Upside/>
                  </position>
               </label>
               <inverse>
                  <label>
                     <position>
                        <Downside/>
                     </position>
                  </label>
               </inverse>
            </path>
         </diagram>
      </reference>
   </entity_type>
   <entity_type>
      <name>ditributor</name>
      <reference>
         <name>supplied by</name>
         <cardinality>
            <ZeroOneOrMore/>
         </cardinality>
         <type>supplier</type>
         <inverse>supplies</inverse>
      </reference>
      <presentation>
         <rightOf>supplier</rightOf>
         <x>1.8</x>
      </presentation>
   </entity_type>
</entity_model>
