<?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">
   <presentation>
      <diagram>
         <deltaw>1.0</deltaw>
      </diagram>
   </presentation>
   <defaults>
      <et_width>2.5</et_width>
   </defaults>
   <entity_type>
      <name>khipu</name>
      <presentation>
         <x>0.7</x>
         <y>0</y>
      </presentation>
      <composition>
         <cardinality>
            <OneOrMore/>
         </cardinality>
         <type>primary cord</type>
      </composition>
   </entity_type>
   <entity_type>
      <name>Cord</name>
      <presentation>
         <below>khipu</below>
         <x>2.15</x>
         <deltaw>0.4</deltaw>
         <h>1.7</h>
      </presentation>
      <entity_type>
         <name>primary cord</name>
         <presentation/>
      </entity_type>
      <entity_type>
         <name>non-primary cord</name>
         <composition>
            <type>knot cluster</type>
            <cardinality>
               <OneOrMore/>
            </cardinality>
            <diagram>
               <path>
                  <align>
                     <ToDest/>
                  </align>
               </path>
            </diagram>
         </composition>
         <presentation>
            <rightOf>primary cord</rightOf>
            <w>3.4</w>
         </presentation>
      </entity_type>
      <composition>
         <type>Ascher cord colour</type>
         <cardinality>
            <OneOrMore/>
         </cardinality>
         <diagram>
            <path>
               <align>
                  <ToDest/>
               </align>
            </path>
         </diagram>
      </composition>
      <composition>
         <type>cord grouping</type>
         <cardinality>
            <OneOrMore/>
         </cardinality>
         <diagram>
            <path>
               <align>
                  <ToDest/>
               </align>
            </path>
         </diagram>
      </composition>
   </entity_type>
   <entity_type>
      <name>Ascher cord colour</name>
      <presentation>
         <below>Cord</below>
         <x>-2.7</x>
      </presentation>
   </entity_type>
   <entity_type>
      <name>knot cluster</name>
      <presentation>
         <rightOf>Ascher cord colour</rightOf>
         <w>2.0</w>
      </presentation>
      <composition>
         <type>knot</type>
         <cardinality>
            <OneOrMore/>
         </cardinality>
         <sequence/>
         <diagram>
            <path>
               <align>
                  <ToDest/>
               </align>
            </path>
         </diagram>
      </composition>
   </entity_type>
   <entity_type>
      <name>cord grouping</name>
      <composition>
         <type>non-primary cord</type>
         <cardinality>
            <OneOrMore/>
         </cardinality>
         <diagram>
            <path>
               <destarmlen>1.0</destarmlen>
               <destattach>0.6</destattach>
               <hstep>
                  <absdim>
                     <src>2.0</src>
                  </absdim>
               </hstep>
            </path>
         </diagram>
      </composition>
      <presentation>
         <rightOf>knot cluster</rightOf>
         <w>2.4</w>
      </presentation>
   </entity_type>
   <entity_type>
      <name>knot</name>
      <presentation>
         <below>knot cluster</below>
         <w>2.0</w>
      </presentation>
   </entity_type>
</entity_model>
