<?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>
         <deltah>0.5</deltah>
         <deltaw>1.4</deltaw>
      </diagram>
   </presentation>
   <entity_type>
      <name>computer</name>
      <presentation>
         <x>5.5</x>
         <y>0.1</y>
         <w>2.0</w>
      </presentation>
      <composition>
         <type>drive</type>
         <cardinality>
            <OneOrMore/>
         </cardinality>
         <identifying/>
         <diagram>
            <path/>
         </diagram>
      </composition>
      <composition>
         <type>process</type>
         <cardinality>
            <OneOrMore/>
         </cardinality>
         <identifying/>
         <diagram>
            <path/>
         </diagram>
      </composition>
   </entity_type>
   <entity_type>
      <name>drive</name>
      <presentation>
         <below>computer</below>
         <x>-2.7</x>
         <w>2.5</w>
         <h>1.0</h>
      </presentation>
      <attribute xmlns:era="http://www.entitymodelling.org/ERmodel">
         <name>drive letter</name>
         <type>
            <string/>
         </type>
         <identifying/>
      </attribute>
      <composition>
         <type>folder</type>
         <diagram>
            <path/>
         </diagram>
         <identifying/>
      </composition>
   </entity_type>
   <entity_type>
      <name>Entry</name>
      <presentation>
         <below>drive</below>
         <x>0.25</x>
         <deltaw>0.5</deltaw>
      </presentation>
      <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>date modified</name>
         <type>
            <string/>
         </type>
      </attribute>
      <entity_type>
         <name>file</name>
         <attribute xmlns:era="http://www.entitymodelling.org/ERmodel">
            <name>size</name>
            <type>
               <string/>
            </type>
         </attribute>
         <attribute xmlns:era="http://www.entitymodelling.org/ERmodel">
            <name>content</name>
            <type>
               <string/>
            </type>
         </attribute>
      </entity_type>
      <entity_type>
         <name>folder</name>
         <composition>
            <type>Entry</type>
            <cardinality>
               <ZeroOneOrMore/>
            </cardinality>
            <identifying/>
            <diagram>
               <path>
                  <srcattach>0.5</srcattach>
                  <srcarmlen>1.3</srcarmlen>
                  <destarmlen>0.6</destarmlen>
                  <destattach>0.25</destattach>
                  <hstep>
                     <absdim>
                        <src>-3.3</src>
                     </absdim>
                  </hstep>
               </path>
            </diagram>
         </composition>
         <presentation>
            <rightOf>file</rightOf>
         </presentation>
      </entity_type>
      <entity_type>
         <name>shortcut</name>
         <presentation>
            <rightOf>folder</rightOf>
         </presentation>
         <reference>
            <name>to</name>
            <cardinality>
               <ExactlyOne/>
            </cardinality>
            <type>Entry</type>
            <diagram>
               <path>
                  <destattach>0.3</destattach>
                  <hstep>
                     <absdim>
                        <src>0.1</src>
                     </absdim>
                  </hstep>
               </path>
            </diagram>
         </reference>
      </entity_type>
   </entity_type>
   <entity_type>
      <name>process</name>
       <attribute xmlns:era="http://www.entitymodelling.org/ERmodel">
         <name>pid</name>
         <type>
            <string/>
         </type>
         <identifying/>
      </attribute>
      <attribute xmlns:era="http://www.entitymodelling.org/ERmodel">
         <name>cpu time</name>
         <type>
            <string/>
         </type>
      </attribute>
      <attribute xmlns:era="http://www.entitymodelling.org/ERmodel">
         <name>status</name>
         <type>
            <string/>
         </type>
      </attribute>
      <attribute xmlns:era="http://www.entitymodelling.org/ERmodel">
         <name>memory useage</name>
         <type>
            <string/>
         </type>
      </attribute>
      <reference>
         <name>image</name>
         <cardinality>
            <ExactlyOne/>
         </cardinality>
         <type>file</type>
         <diagram>
            <path>
               <srcsign>1</srcsign>
               <srcarmlen>0.7</srcarmlen>
               <destattach>0.75</destattach>
               <hstep>
                  <absdim>
                     <src>0.1</src>
                  </absdim>
               </hstep>
               <label><position><Upside/></position></label>
            </path>
         </diagram>
      </reference>
      <presentation>
         <rightOf>drive</rightOf>
         <x>3.0</x>
         <w>2.6</w>
      </presentation>
   </entity_type>
</entity_model>
