<?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>2.2</et_width>
      <et_height>1.8</et_height>
   </defaults>
   <absolute>
      <composition>
         <type>A</type>
         <cardinality>
            <OneOrMore/>
         </cardinality>
      </composition>
   </absolute>
   <entity_type>
      <name>A</name>
      <presentation>
         <x>5.0</x>
         <y>1.3</y>
      </presentation>
      <composition>
         <type>B</type>
         <cardinality>
            <OneOrMore/>
         </cardinality>
         <inverse>h</inverse>
         <diagram>
            <path>
               <destarmlen>0.4</destarmlen>
            </path>
         </diagram>
      </composition>
      <composition>
         <type>C</type>
         <cardinality>
            <OneOrMore/>
         </cardinality>
         <identifying/>
         <inverse>g</inverse>
         <diagram>
            <path>
               <destarmlen>0.4</destarmlen>
            </path>
         </diagram>
      </composition>
      <attribute xmlns:era="http://www.entitymodelling.org/ERmodel">
         <name>name</name>
         <type>
            <string/>
         </type>
         <identifying/>
      </attribute>
   </entity_type>
   <group>
      <presentation>
         <below>A</below>
         <y>0.4</y>
      </presentation>
      <entity_type>
         <name>B</name>
         <presentation>
            <deltaw>0.2</deltaw>
         </presentation>
         <dependency>
            <name>h</name>
         </dependency>
         <group>
            <presentation>
               <x>-0.3</x>
               <y>-0.7</y>
            </presentation>
            <annotation>Attributes representing
                			_	the relationship f</annotation>
         </group>
         <reference>
            <name>f</name>
            <type>C</type>
            <cardinality>
               <ZeroOrOne/>
            </cardinality>
            <id>R1</id>
            <diagram>
               <path>
                  <align>
                     <ToDest/>
                  </align>
                  <label>
                     <position>
                        <Upside/>
                     </position>
                  </label>
                  <id>
                     <label>
                        <position>
                           <Downside/>
                        </position>
                        <xAdjustment>-0.1</xAdjustment>
                     </label>
                  </id>
               </path>
            </diagram>
         </reference>
         <attribute xmlns:era="http://www.entitymodelling.org/ERmodel">
            <name>name</name>
            <type>
               <string/>
            </type>
            <identifying/>
         </attribute>
         <attribute xmlns:era="http://www.entitymodelling.org/ERmodel">
            <name>fname (R1)</name>
            <type>
               <string/>
            </type>
         </attribute>
         <attribute xmlns:era="http://www.entitymodelling.org/ERmodel">
            <name>fgname (R1)</name>
            <type>
               <string/>
            </type>
         </attribute>
      </entity_type>
      <entity_type>
         <name>C</name>
         <presentation>
            <rightOf>B</rightOf>
            <x>1.6</x>
         </presentation>
         <dependency>
            <name>g</name>
         </dependency>
         <attribute xmlns:era="http://www.entitymodelling.org/ERmodel">
            <name>name</name>
            <type>
               <string/>
            </type>
            <identifying/>
         </attribute>
      </entity_type>
   </group>
</entity_model>
