<?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">
   <entity_type>
      <name>protein structure</name>
      <composition>
         <type>amino acid (1)</type>
         <cardinality>
            <OneOrMore/>
         </cardinality>
         <sequence/>
      </composition>
      <presentation>
         <x>0</x>
         <y>0</y>
         <w>2.2</w>
      </presentation>
   </entity_type>
   <entity_type>
      <name>amino acid (1)</name>
      <reference>
         <type>amino acid (2)</type>
         <cardinality>
            <ExactlyOne/>
         </cardinality>
         <diagram>
            <path>
               <srcarmlen>0.5</srcarmlen>
            </path>
         </diagram>
      </reference>
      <presentation>
         <below>protein structure</below>
         <w>2.2</w>
      </presentation>
   </entity_type>
   <entity_type>
      <name>amino acid (2)</name>
      <reference>
         <type>codon</type>
         <cardinality>
            <ExactlyOne/>
         </cardinality>
         <inverse>codes for</inverse>
         <diagram>
            <path>
               <srcarmlen>0.3</srcarmlen>
            </path>
         </diagram>
      </reference>
      <presentation>
         <rightOf>protein structure</rightOf>
         <x>1.8</x>
         <w>2.0</w>
      </presentation>
   </entity_type>
   <entity_type>
      <name>codon</name>
      <composition>
         <type>nucleotide</type>
         <cardinality>
            <OneOrMore/>
         </cardinality>
         <inverse>ExactlyOne</inverse>
         <sequence/>
      </composition>
      <reference>
         <name>codes for</name>
         <type>amino acid (2)</type>
         <cardinality>
            <ExactlyOne/>
         </cardinality>
      </reference>
      <presentation>
         <rightOf>amino acid (2)</rightOf>
         <x>1.3</x>
      </presentation>
   </entity_type>
   <entity_type>
      <name>nucleotide</name>
      <presentation>
         <below>codon</below>
      </presentation>
      <entity_type>
         <name>G</name>
         <presentation>
            <x>0.2</x>
            <w>0.5</w>
         </presentation>
      </entity_type>
      <entity_type>
         <name>C</name>
         <presentation>
            <rightOf>G</rightOf>
            <x>0.2</x>
            <w>0.5</w>
         </presentation>
      </entity_type>
      <entity_type>
         <name>U</name>
         <presentation>
            <rightOf>C</rightOf>
            <x>0.2</x>
            <w>0.5</w>
         </presentation>
      </entity_type>
      <entity_type>
         <name>T</name>
         <presentation>
            <rightOf>U</rightOf>
            <x>0.2</x>
            <w>0.5</w>
         </presentation>
      </entity_type>
   </entity_type>
</entity_model>
