SBGN examples

../test-files/AF/AF_Reference_Card.png
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
    <map language="activity flow" id="map1">
        <glyph compartmentOrder="-39.0" id="glyph0" class="compartment">
            <label text="Connecting Arcs">
                <bbox y="54.0" x="484.0" h="18.0" w="112.0"/>
            </label>
            <bbox y="50.0" x="330.0" h="600.0" w="420.0"/>
        </glyph>
        <glyph compartmentOrder="-38.0" id="glyph1" class="compartment">
            <label text="Auxiliary Units">
                <bbox y="54.0" x="872.0" h="18.0" w="96.0"/>
            </label>
            <bbox y="50.0" x="770.0" h="600.0" w="300.0"/>
        </glyph>
        <glyph compartmentOrder="-37.0" id="glyph2" class="compartment">
            <label text="Reference Nodes">
                <bbox y="674.0" x="340.5" h="18.0" w="119.0"/>
            </label>
            <bbox y="670.0" x="50.0" h="200.0" w="700.0"/>
        </glyph>
        <glyph compartmentOrder="-36.0" id="glyph3" class="compartment">
            <label text="Activity Nodes (AN)">
                <bbox y="54.0" x="115.5" h="18.0" w="129.0"/>
            </label>
            <bbox y="50.0" x="50.0" h="360.0" w="260.0"/>
        </glyph>
        <glyph compartmentOrder="-35.0" id="glyph4" class="compartment">
            <label text="Container Node (CN)">
                <bbox y="674.0" x="849.5" h="18.0" w="141.0"/>
            </label>
            <bbox y="670.0" x="770.0" h="200.0" w="300.0"/>
        </glyph>
        <glyph compartmentOrder="-34.0" id="glyph5" class="compartment">
            <label text="Logical Operators">
                <bbox y="434.0" x="119.0" h="18.0" w="122.0"/>
            </label>
            <bbox y="430.0" x="50.0" h="220.0" w="260.0"/>
        </glyph>
        <glyph compartmentOrder="-33.0" id="glyph6" class="compartment">
            <label text="Compartment">
                <bbox y="738.0" x="873.0" h="18.0" w="94.0"/>
            </label>
            <bbox y="730.0" x="830.0" h="100.0" w="180.0"/>
            <glyph id="glyph6a" class="unit of information">
                <label text="e:INFO"/>
                <bbox y="721.5" x="850.0" h="17.0" w="50.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph7" class="submap">
            <label text="Submap"/>
            <bbox y="720.0" x="245.0" h="120.0" w="160.0"/>
            <glyph id="glyph36" orientation="left" class="terminal">
                <label text="C"/>
                <bbox y="795.0" x="355.0" h="30.0" w="50.0"/>
            </glyph>
            <glyph id="glyph38" orientation="left" class="terminal">
                <label text="B"/>
                <bbox y="735.0" x="355.0" h="30.0" w="50.0"/>
            </glyph>
            <glyph id="glyph37" orientation="right" class="terminal">
                <label text="A"/>
                <bbox y="765.0" x="245.0" h="30.0" w="50.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph8" compartmentRef="glyph1" class="biological activity">
            <label text="AN"/>
            <bbox y="215.0" x="820.0" h="70.0" w="200.0"/>
            <glyph id="glyph8a" class="unit of information">
                <label text="Simple
Chemical"/>
                <entity name="simple chemical"/>
                <bbox y="188.5" x="843.5" h="53.0" w="53.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph9" compartmentRef="glyph1" class="biological activity">
            <label text="AN"/>
            <bbox y="105.0" x="820.0" h="70.0" w="200.0"/>
            <glyph id="glyph9a" class="unit of information">
                <label text="Macromolecule"/>
                <entity name="macromolecule"/>
                <bbox y="96.5" x="826.5" h="17.0" w="87.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph10" compartmentRef="glyph1" class="biological activity">
            <label text="AN"/>
            <bbox y="325.0" x="820.0" h="70.0" w="200.0"/>
            <glyph id="glyph10a" class="unit of information">
                <label text="Nucleic Acid
Feature"/>
                <entity name="nucleic acid feature"/>
                <bbox y="309.5" x="832.5" h="31.0" w="75.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph11" compartmentRef="glyph1" class="biological activity">
            <label text="AN"/>
            <bbox y="435.0" x="820.0" h="70.0" w="200.0"/>
            <glyph id="glyph11a" class="unit of information">
                <label text="Unspecified"/>
                <entity name="unspecified entity"/>
                <bbox y="420.5" x="831.0" h="29.0" w="78.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph12" compartmentRef="glyph1" class="biological activity">
            <label text="AN"/>
            <bbox y="545.0" x="820.0" h="70.0" w="200.0"/>
            <glyph id="glyph12a" class="unit of information">
                <label text="Complex"/>
                <entity name="complex"/>
                <bbox y="536.5" x="842.0" h="17.0" w="56.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph13" compartmentRef="glyph3" class="biological activity">
            <label text="Biological
Activity"/>
            <bbox y="105.0" x="110.0" h="70.0" w="140.0"/>
        </glyph>
        <glyph id="glyph14" compartmentRef="glyph3" class="perturbation">
            <label text="Perturbation"/>
            <bbox y="305.0" x="110.0" h="70.0" w="140.0"/>
        </glyph>
        <glyph id="glyph15" compartmentRef="glyph3" class="phenotype">
            <label text="Phenotype"/>
            <bbox y="205.0" x="110.0" h="70.0" w="140.0"/>
        </glyph>
        <glyph id="glyph26" orientation="right" class="tag">
            <label text="Tag"/>
            <bbox y="750.0" x="591.0" h="60.0" w="108.0"/>
        </glyph>
        <glyph id="glyph32" class="or">
            <bbox y="485.0" x="205.0" h="50.0" w="50.0"/>
        </glyph>
        <glyph id="glyph33" class="not">
            <bbox y="565.0" x="105.0" h="50.0" w="50.0"/>
        </glyph>
        <glyph id="glyph34" class="and">
            <bbox y="485.0" x="105.0" h="50.0" w="50.0"/>
        </glyph>
        <glyph id="glyph35" class="delay">
            <bbox y="565.0" x="205.0" h="50.0" w="50.0"/>
        </glyph>
        <glyph id="glyph27" orientation="right" class="tag">
            <label text="LABEL"/>
            <bbox y="550.0" x="376.0" h="60.0" w="108.0"/>
        </glyph>
        <glyph id="glyph24" compartmentRef="glyph0" class="biological activity">
            <label text="AN
or CN"/>
            <bbox y="550.0" x="596.0" h="60.0" w="108.0"/>
        </glyph>
        <glyph id="glyph17" compartmentRef="glyph0" class="biological activity">
            <label text="Source
AN"/>
            <bbox y="460.0" x="376.0" h="60.0" w="108.0"/>
        </glyph>
        <glyph id="glyph31" class="and">
            <bbox y="460.0" x="620.0" h="60.0" w="60.0"/>
            <port y="490.0" x="590.0" id="glyph31.1"/>
        </glyph>
        <glyph id="glyph21" compartmentRef="glyph0" class="biological activity">
            <label text="Source
AN"/>
            <bbox y="280.0" x="376.0" h="60.0" w="108.0"/>
        </glyph>
        <glyph id="glyph22" compartmentRef="glyph0" class="biological activity">
            <label text="Target
AN"/>
            <bbox y="280.0" x="596.0" h="60.0" w="108.0"/>
        </glyph>
        <glyph id="glyph25" compartmentRef="glyph0" class="biological activity">
            <label text="Source
AN"/>
            <bbox y="100.0" x="376.0" h="60.0" w="108.0"/>
        </glyph>
        <glyph id="glyph16" compartmentRef="glyph0" class="biological activity">
            <label text="Target
AN"/>
            <bbox y="100.0" x="596.0" h="60.0" w="108.0"/>
        </glyph>
        <glyph id="glyph20" compartmentRef="glyph0" class="biological activity">
            <label text="Source
AN"/>
            <bbox y="190.0" x="376.0" h="60.0" w="108.0"/>
        </glyph>
        <glyph id="glyph19" compartmentRef="glyph0" class="biological activity">
            <label text="Target
AN"/>
            <bbox y="190.0" x="596.0" h="60.0" w="108.0"/>
        </glyph>
        <glyph id="glyph23" compartmentRef="glyph0" class="biological activity">
            <label text="Source
AN"/>
            <bbox y="370.0" x="376.0" h="60.0" w="108.0"/>
        </glyph>
        <glyph id="glyph18" compartmentRef="glyph0" class="biological activity">
            <label text="Target
AN"/>
            <bbox y="370.0" x="596.0" h="60.0" w="108.0"/>
        </glyph>
        <glyph id="glyph29" compartmentRef="glyph2" class="biological activity">
            <label text="AN
or CN"/>
            <bbox y="790.0" x="450.0" h="50.0" w="100.0"/>
        </glyph>
        <glyph id="glyph30" compartmentRef="glyph2" class="biological activity">
            <label text="AN
or CN"/>
            <bbox y="720.0" x="450.0" h="50.0" w="100.0"/>
        </glyph>
        <glyph id="glyph28" compartmentRef="glyph2" class="biological activity">
            <label text="AN
or CN"/>
            <bbox y="755.0" x="105.0" h="50.0" w="100.0"/>
        </glyph>
        <arc target="glyph24" source="glyph27" id="arc0" class="equivalence arc">
            <start y="580.0" x="484.0"/>
            <end y="580.0" x="596.0"/>
        </arc>
        <arc target="glyph31.1" source="glyph17" id="arc1" class="logic arc">
            <start y="490.0" x="484.0"/>
            <end y="490.0" x="590.0"/>
        </arc>
        <arc target="glyph22" source="glyph21" id="arc2" class="unknown influence">
            <start y="310.0" x="484.0"/>
            <end y="310.0" x="596.0"/>
        </arc>
        <arc target="glyph16" source="glyph25" id="arc3" class="positive influence">
            <start y="130.0" x="484.0"/>
            <end y="130.0" x="596.0"/>
        </arc>
        <arc target="glyph19" source="glyph20" id="arc4" class="negative influence">
            <start y="220.0" x="484.0"/>
            <end y="220.0" x="596.0"/>
        </arc>
        <arc target="glyph18" source="glyph23" id="arc5" class="necessary stimulation">
            <start y="400.0" x="484.0"/>
            <end y="400.0" x="596.0"/>
        </arc>
        <arc target="glyph29" source="glyph36" id="arc6" class="equivalence arc">
            <start y="811.0417" x="405.0"/>
            <end y="812.9167" x="450.0"/>
        </arc>
        <arc target="glyph30" source="glyph38" id="arc7" class="equivalence arc">
            <start y="748.9583" x="405.0"/>
            <end y="747.0833" x="450.0"/>
        </arc>
        <arc target="glyph37" source="glyph28" id="arc8" class="equivalence arc">
            <start y="780.0" x="205.0"/>
            <end y="780.0" x="245.0"/>
        </arc>
    </map>
</sbgn>
			
../test-files/AF/activity-nodes.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
	<map version="http://identifiers.org/combine.specifications/sbgn.af.level-1.version-1.2" id="map1">

		<glyph class="biological activity" id="g1">
			<label text="membrane
potential
activity"/>
			<bbox x="30" y="30" w="120" h="100"/>
			<glyph class="unit of information" id="g1a">
				<label text="increase in
membrane
potential"/>
				<entity name="perturbation"/>
				<bbox x="0" y="0" w="120" h="60"/>				
			</glyph>
		</glyph>

		<glyph class="biological activity" id="g2">
			<label text="sodium
channel
activity"/>
			<bbox x="36" y="232" w="108" h="75"/>
			<glyph class="unit of information" id="g2.1">
				<label text="sodium
channel"/>
				<entity name="macromolecule"/>
				<bbox x="39" y="219" w="46" h="26"/>
			</glyph>
		</glyph>

		<glyph class="phenotype" id="g3">
			<label text="depolarization"/>
			<bbox x="30" y="450" w="120" h="60"/>
		</glyph>

		<arc class="positive influence" source="g1" target="g2" id="a1">
			<start x="90" y="90" />
			<end x="90" y="232" />
		</arc>

		<arc class="necessary stimulation" source="g2" target="g3" id="a2">
			<start x="90" y="307" />
			<end x="90" y="450" />
		</arc>

	</map>
</sbgn>
			
../test-files/AF/auxiliary-units.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
	<map version="http://identifiers.org/combine.specifications/sbgn.af.level-1.version-1.2" id="map1">

		<glyph class="biological activity" id="g1">
			<label text="tumor
antigen"/>
			<bbox x="26" y="30" w="108" h="60"/>
			<glyph class="unit of information" id="g1.1">
				<label text="TP53"/>
				<entity name="macromolecule"/>
				<bbox x="32" y="22" w="40" h="15"/>
			</glyph>
		</glyph>

		<glyph class="biological activity" id="g2">
			<label text=""/>
			<bbox x="166" y="30" w="108" h="60"/>
			<glyph class="unit of information" id="g2.1">
				<label text="tp53"/>
				<entity name="nucleic acid feature"/>
				<bbox x="175" y="22" w="35" h="15"/>
			</glyph>
		</glyph>
		
		<glyph class="biological activity" id="g3">
			<bbox x="26" y="120" w="108" h="60"/>
			<glyph class="unit of information" id="g3.1">
				<label text="lactose"/>
				<entity name="simple chemical"/>
				<bbox x="32" y="99" w="41" h="41"/>
			</glyph>
		</glyph>
		
		<glyph class="biological activity" id="g4">
			<bbox x="166" y="120" w="108" h="60"/>
			<glyph class="unit of information" id="g4.1">
				<entity name="unspecified entity"/>
				<bbox x="177" y="110" w="30" h="19"/>
			</glyph>
		</glyph>
        
		<glyph class="biological activity" id="g5">
			<label text="ribosome
activity"/>
			<bbox x="26" y="210" w="108" h="60"/>
			<glyph class="unit of information" id="g5.1">
				<label text="Ribosome"/>
				<entity name="complex"/>
				<bbox x="22" y="202" w="61" h="15"/>
			</glyph>
		</glyph>
				
		<glyph class="biological activity" id="g6">
            <bbox y="210.0" x="166.0" h="60.0" w="108.0"/>
            <glyph class="unit of information" id="g6.1">
                <entity name="perturbation"/>
                <bbox y="200.0" x="167.0" h="20.0" w="32.0"/>
            </glyph>
        </glyph>
	</map>
</sbgn>
			
../test-files/AF/compartment.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
	<map version="http://identifiers.org/combine.specifications/sbgn.af.level-1.version-1.2" id="map1">
	
		<glyph class="compartment" id="g1">
			<label text="nucleus">
				<bbox x="185" y="285" w="50" h="15"/>
			</label>
			<bbox x="25" y="30" w="370" h="280"/>
		</glyph>

		<glyph class="biological activity" id="g2" compartmentRef="g1">
			<label text="co-repressor"/>
			<bbox x="66" y="60" w="108" h="40"/>
		</glyph>
		
		<glyph class="biological activity" id="g3" compartmentRef="g1">
			<label text="co-activator"/>
			<bbox x="246" y="60" w="108" h="40"/>
		</glyph>
		
		<glyph class="and" orientation="vertical" id="g4">
			<bbox x="189" y="119" w="42" h="42"/>
			<port id="g4.1" x="210" y="98"/>
			<port id="g4.2" x="210" y="182"/>
		</glyph>
		
		<glyph class="phenotype" id="g5">
			<label text="Gene
transcription"/>
			<bbox x="156" y="210" w="108" h="60"/>
		</glyph>
		
		<arc class="logic arc" source="g2" target="g4.1" id="a1">
			<start x="174" y="90" />
			<end x="210" y="98" />
		</arc>

		<arc class="logic arc" source="g3" target="g4.1" id="a2">
			<start x="246" y="90" />
			<end x="210" y="98" />
		</arc>

		<arc class="necessary stimulation" source="g4.2" target="g5" id="a3">
			<start x="210" y="182" />
			<end x="210" y="210" />
		</arc>

	</map>
</sbgn>
			
../test-files/AF/delay.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
	<map version="http://identifiers.org/combine.specifications/sbgn.af.level-1.version-1.2" id="map1">
	
		<glyph class="biological activity" id="g1">
			<label text="early
effect"/>
			<bbox x="46" y="180" w="108" h="60"/>
		</glyph>
		
		<glyph class="delay" orientation="vertical" id="g2">
			<bbox x="79" y="109" w="42" h="42"/>
			<port id="g2.1" x="100" y="172"/>
			<port id="g2.2" x="100" y="88"/>
		</glyph>
		
		<glyph class="biological activity" id="g3">
			<label text="late
effect"/>
			<bbox x="46" y="10" w="108" h="60"/>
		</glyph>

		<arc class="logic arc" source="g1" target="g2.1" id="a1">
			<start x="100" y="172" />
			<end x="100" y="151" />
		</arc>

		<arc class="positive influence" source="g2.2" target="g3" id="a2">
			<start x="100" y="88" />
			<end x="100" y="70" />
		</arc>
		
	</map>
</sbgn>
			
../test-files/AF/modulation.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
	<map version="http://identifiers.org/combine.specifications/sbgn.af.level-1.version-1.2" id="map1">
	
		<glyph class="biological activity" id="g1">
			<label text="A"/>
			<bbox x="16" y="20" w="108" h="40"/>
		</glyph>
		
		<glyph class="biological activity" id="g2">
			<label text="B"/>
			<bbox x="16" y="130" w="108" h="40"/>
		</glyph>
		
		<arc class="unknown influence" source="g1" target="g2" id="a1">
			<start x="70" y="60" />
			<end x="70" y="130" />
		</arc>

	</map>
</sbgn>
			
../test-files/AF/submap.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
	<map version="http://identifiers.org/combine.specifications/sbgn.af.level-1.version-1.2" id="map1">
	
		<glyph class="compartment" id="g1" compartmentOrder="1">
			<label text="membrane">
				<bbox x="234" y="542" w="72" h="18"/>
			</label>
			<bbox x="25" y="190" w="490" h="380"/>
		</glyph>

		<glyph class="compartment" id="g2" compartmentOrder="2">
			<label text="cytosol">
				<bbox x="245" y="502" w="50" h="18"/>
			</label>
			<bbox x="35" y="210" w="470" h="320"/>
		</glyph>
		
		<glyph class="submap" id="g3">
			<bbox x="140" y="300" w="220" h="120"/>
			<glyph class="terminal"  orientation="down" id="g3.1">
				<label text="1"/>
				<bbox x="240" y="300" w="20" h="40"/>
			</glyph>
			<glyph class="terminal"  orientation="up" id="g3.2">
				<label text="2"/>
				<bbox x="170" y="380" w="20" h="40"/>
			</glyph>
			<glyph class="terminal"  orientation="left" id="g3.3">
				<label text="3"/>
				<bbox x="320" y="380" w="40" h="20"/>
			</glyph>
			<glyph class="terminal"  orientation="left" id="g3.4">
				<label text="4"/>
				<bbox x="320" y="310" w="40" h="20"/>
			</glyph>
			<glyph class="terminal"  orientation="left" id="g3.5">
				<label text="5"/>
				<bbox x="320" y="340" w="40" h="20"/>
			</glyph>
		</glyph>
		
		<glyph class="biological activity" id="g4" compartmentRef="g2">
			<label text="ligand"/>
			<bbox x="196" y="20" w="108" h="60"/>
		</glyph>
		
		<glyph class="biological activity" id="g5" compartmentRef="g2">
			<label text="GiPCR"/>
			<bbox x="196" y="180" w="108" h="60"/>
		</glyph>
		
		<glyph class="biological activity" id="g6" compartmentRef="g2">
			<label text="GIRK"/>
			<bbox x="426" y="360" w="108" h="60"/>
		</glyph>
		
		<glyph class="biological activity" id="g7" compartmentRef="g2">
			<label text="adenylate
cyclase"/>
			<bbox x="126" y="460" w="108" h="60"/>
		</glyph>
		
		<arc class="positive influence" source="g4" target="g5" id="a1">
			<start x="250" y="80" />
			<end x="250" y="180" />
		</arc>

		<arc class="equivalence arc" source="g5" target="g3.1" id="a2">
			<start x="250" y="240" />
			<end x="250" y="300" />
		</arc>

		<arc class="equivalence arc" source="g7" target="g3.2" id="a3">
			<start x="180" y="460" />
			<end x="180" y="420" />
		</arc>

		<arc class="equivalence arc" source="g6" target="g3.3" id="a4">
			<start x="426" y="390" />
			<end x="360" y="390" />
		</arc>
		
		<arc class="equivalence arc" source="g2" target="g3.4" id="a5">
			<start x="505" y="320" />
			<end x="360" y="320" />
		</arc>
		
		<arc class="equivalence arc" source="g1" target="g3.5" id="a6">
			<start x="515" y="350" />
			<end x="360" y="350" />
		</arc>

	</map>
</sbgn>
			
../test-files/AF/submap_expanded.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
	<map version="http://identifiers.org/combine.specifications/sbgn.af.level-1.version-1.2" id="map2">
	
		<glyph class="compartment" id="g1" compartmentOrder="1.0">
			<label text="membrane">
				<bbox x="244" y="493" w="72" h="18"/>
			</label>
			<bbox x="35" y="140" w="490" h="380"/>
		</glyph>

		<glyph class="compartment" id="g2" compartmentOrder="2.0">
			<label text="cytosol">
				<bbox x="254" y="452" w="50" h="18"/>
			</label>
			<bbox x="45" y="160" w="470" h="320"/>
		</glyph>
		
		<glyph class="biological activity" id="g3" compartmentRef="g2">
			<label text="GiPCR"/>
			<bbox x="206" y="130" w="108" h="60"/>
		</glyph>
		
		<glyph class="biological activity" id="g4" compartmentRef="g2">
			<label text="Giα"/>
			<bbox x="136" y="270" w="108" h="60"/>
		</glyph>
		
		<glyph class="biological activity" id="g5" compartmentRef="g2">
			<label text="Gβγ"/>
			<bbox x="296" y="270" w="108" h="60"/>
		</glyph>
		
		<glyph class="biological activity" id="g6" compartmentRef="g2">
			<label text="GIRK"/>
			<bbox x="436" y="330" w="108" h="60"/>
		</glyph>
		
		<glyph class="biological activity" id="g7" compartmentRef="g2">
			<label text="adenylate
cyclase"/>
			<bbox x="136" y="410" w="108" h="60"/>
		</glyph>

		<glyph class="tag" orientation="down" id="g8">
			<label text="1"/>
			<bbox x="250" y="30" w="20" h="40"/>
		</glyph>
		
		<glyph class="tag" orientation="up" id="g9">
			<label text="2"/>
			<bbox x="180" y="540" w="20" h="40"/>
		</glyph>
		
		<glyph class="tag" orientation="left" id="g10">
			<label text="3"/>
			<bbox x="600" y="350" w="40" h="20"/>
		</glyph>
		
		<glyph class="tag" orientation="left" id="g11">
			<label text="4"/>
			<bbox x="600" y="260" w="40" h="20"/>
		</glyph>
		
		<glyph class="tag" orientation="left" id="g12">
			<label text="5"/>
			<bbox x="600" y="290" w="40" h="20"/>
		</glyph>

		<arc class="positive influence" source="g3" target="g4" id="a1">
			<start x="244" y="190" />
			<end x="204" y="270" />
		</arc>

		<arc class="positive influence" source="g3" target="g5" id="a2">
			<start x="280" y="190"/>
			<end x="332" y="270" />
		</arc>

		<arc class="positive influence" source="g5" target="g6" id="a3">
			<start x="350" y="330"/>
			<next x="350" y="360"/>
			<end x="436" y="360"/>
		</arc>

		<arc class="negative influence" source="g4" target="g7" id="a4">
			<start x="190" y="330"/>
			<end x="190" y="405"/>
		</arc>

		<arc class="equivalence arc" source="g3" target="g8" id="a5">
			<start x="260" y="130"/>
			<end x="260" y="70"/>
		</arc>

		<arc class="equivalence arc" source="g7" target="g9" id="a6">
			<start x="190" y="470"/>
			<end x="190" y="540"/>
		</arc>

		<arc class="equivalence arc" source="g6" target="g10" id="a7">
			<start x="544" y="360"/>
			<end x="600" y="360"/>
		</arc>
		
		<arc class="equivalence arc" source="g2" target="g11" id="a8">
			<start x="515" y="270"/>
			<end x="600" y="270"/>
		</arc>
		
		<arc class="equivalence arc" source="g1" target="g12" id="a9">
			<start x="525" y="300"/>
			<end x="600" y="300"/>
		</arc>

	</map>
</sbgn>
			
../test-files/AF/submaps_all-in-one.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
	<map version="http://identifiers.org/combine.specifications/sbgn.af.level-1.version-1.2" id="map1">
	
		<glyph class="compartment" id="g1" compartmentOrder="1">
			<label text="membrane">
				<bbox x="234" y="542" w="72" h="18"/>
			</label>
			<bbox x="25" y="190" w="490" h="380"/>
		</glyph>

		<glyph class="compartment" id="g2" compartmentOrder="2">
			<label text="cytosol">
				<bbox x="245" y="502" w="50" h="18"/>
			</label>
			<bbox x="35" y="210" w="470" h="320"/>
		</glyph>
		
		<glyph class="submap" id="g3" mapRef="map2">
			<bbox x="140" y="300" w="220" h="120"/>
			<glyph class="terminal"  orientation="down" id="g3.1" tagRef="g08">
				<label text="1"/>
				<bbox x="240" y="300" w="20" h="40"/>
			</glyph>
			<glyph class="terminal"  orientation="up" id="g3.2" tagRef="g09">
				<label text="2"/>
				<bbox x="170" y="380" w="20" h="40"/>
			</glyph>
			<glyph class="terminal"  orientation="left" id="g3.3" tagRef="g010">
				<label text="3"/>
				<bbox x="320" y="380" w="40" h="20"/>
			</glyph>
			<glyph class="terminal"  orientation="left" id="g3.4" tagRef="g011">
				<label text="4"/>
				<bbox x="320" y="310" w="40" h="20"/>
			</glyph>
			<glyph class="terminal"  orientation="left" id="g3.5" tagRef="g012">
				<label text="5"/>
				<bbox x="320" y="340" w="40" h="20"/>
			</glyph>
		</glyph>
		
		<glyph class="biological activity" id="g4" compartmentRef="g2">
			<label text="ligand"/>
			<bbox x="196" y="20" w="108" h="60"/>
		</glyph>
		
		<glyph class="biological activity" id="g5" compartmentRef="g2">
			<label text="GiPCR"/>
			<bbox x="196" y="180" w="108" h="60"/>
		</glyph>
		
		<glyph class="biological activity" id="g6" compartmentRef="g2">
			<label text="GIRK"/>
			<bbox x="426" y="360" w="108" h="60"/>
		</glyph>
		
		<glyph class="biological activity" id="g7" compartmentRef="g2">
			<label text="adenylate
cyclase"/>
			<bbox x="126" y="460" w="108" h="60"/>
		</glyph>
		
		<arc class="positive influence" source="g4" target="g5" id="a1">
			<start x="250" y="80" />
			<end x="250" y="180" />
		</arc>

		<arc class="equivalence arc" source="g5" target="g3.1" id="a2">
			<start x="250" y="240" />
			<end x="250" y="300" />
		</arc>

		<arc class="equivalence arc" source="g7" target="g3.2" id="a3">
			<start x="180" y="460" />
			<end x="180" y="420" />
		</arc>

		<arc class="equivalence arc" source="g6" target="g3.3" id="a4">
			<start x="426" y="390" />
			<end x="360" y="390" />
		</arc>
		
		<arc class="equivalence arc" source="g2" target="g3.4" id="a5">
			<start x="505" y="320" />
			<end x="360" y="320" />
		</arc>
		
		<arc class="equivalence arc" source="g1" target="g3.5" id="a6">
			<start x="515" y="350" />
			<end x="360" y="350" />
		</arc>

	</map>
	<map version="http://identifiers.org/combine.specifications/sbgn.af.level-1.version-1.2" id="map2">
	
		<glyph class="compartment" id="g01" compartmentOrder="1.0">
			<label text="membrane">
				<bbox x="244" y="493" w="72" h="18"/>
			</label>
			<bbox x="35" y="140" w="490" h="380"/>
		</glyph>

		<glyph class="compartment" id="g02" compartmentOrder="2.0">
			<label text="cytosol">
				<bbox x="254" y="452" w="50" h="18"/>
			</label>
			<bbox x="45" y="160" w="470" h="320"/>
		</glyph>
		
		<glyph class="biological activity" id="g03" compartmentRef="g02">
			<label text="GiPCR"/>
			<bbox x="206" y="130" w="108" h="60"/>
		</glyph>
		
		<glyph class="biological activity" id="g04" compartmentRef="g02">
			<label text="Giα"/>
			<bbox x="136" y="270" w="108" h="60"/>
		</glyph>
		
		<glyph class="biological activity" id="g05" compartmentRef="g02">
			<label text="Gβγ"/>
			<bbox x="296" y="270" w="108" h="60"/>
		</glyph>
		
		<glyph class="biological activity" id="g06" compartmentRef="g02">
			<label text="GIRK"/>
			<bbox x="436" y="330" w="108" h="60"/>
		</glyph>
		
		<glyph class="biological activity" id="g07" compartmentRef="g02">
			<label text="adenylate
cyclase"/>
			<bbox x="136" y="410" w="108" h="60"/>
		</glyph>

		<glyph class="tag" orientation="down" id="g08">
			<label text="1"/>
			<bbox x="250" y="30" w="20" h="40"/>
		</glyph>
		
		<glyph class="tag" orientation="up" id="g09">
			<label text="2"/>
			<bbox x="180" y="540" w="20" h="40"/>
		</glyph>
		
		<glyph class="tag" orientation="left" id="g010">
			<label text="3"/>
			<bbox x="600" y="350" w="40" h="20"/>
		</glyph>
		
		<glyph class="tag" orientation="left" id="g011">
			<label text="4"/>
			<bbox x="600" y="260" w="40" h="20"/>
		</glyph>
		
		<glyph class="tag" orientation="left" id="g012">
			<label text="5"/>
			<bbox x="600" y="290" w="40" h="20"/>
		</glyph>

		<arc class="positive influence" source="g03" target="g04" id="a01">
			<start x="244" y="190" />
			<end x="204" y="270" />
		</arc>

		<arc class="positive influence" source="g03" target="g05" id="a02">
			<start x="280" y="190"/>
			<end x="332" y="270" />
		</arc>

		<arc class="positive influence" source="g05" target="g06" id="a03">
			<start x="350" y="330"/>
			<next x="350" y="360"/>
			<end x="436" y="360"/>
		</arc>

		<arc class="negative influence" source="g04" target="g07" id="a04">
			<start x="190" y="330"/>
			<end x="190" y="405"/>
		</arc>

		<arc class="equivalence arc" source="g03" target="g08" id="a05">
			<start x="260" y="130"/>
			<end x="260" y="70"/>
		</arc>

		<arc class="equivalence arc" source="g07" target="g09" id="a06">
			<start x="190" y="470"/>
			<end x="190" y="540"/>
		</arc>

		<arc class="equivalence arc" source="g06" target="g010" id="a07">
			<start x="544" y="360"/>
			<end x="600" y="360"/>
		</arc>
		
		<arc class="equivalence arc" source="g02" target="g011" id="a08">
			<start x="515" y="270"/>
			<end x="600" y="270"/>
		</arc>
		
		<arc class="equivalence arc" source="g01" target="g012" id="a09">
			<start x="525" y="300"/>
			<end x="600" y="300"/>
		</arc>

	</map>
</sbgn>
			
../test-files/AF/two_edges_between_two_activities.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
	<map version="http://identifiers.org/combine.specifications/sbgn.af.level-1.version-1.2" id="map1">

		<glyph class="biological activity" id="g1">
			<label text="Grb2"/>
			<bbox x="76" y="20" w="108" h="40"/>
		</glyph>

		<glyph class="biological activity" id="g2">
			<label text="Spry"/>
			<bbox x="16" y="126" w="108" h="40"/>
			<glyph class="unit of information" id="g2a">
				<entity name="unspecified entity"/>
				<bbox x="28" y="157" w="30" h="18"/>
			</glyph>
		</glyph>

		<glyph class="biological activity" id="g3">
			<label text="GAB1"/>
			<bbox x="186" y="126" w="108" h="40"/>
		</glyph>

		<glyph class="biological activity" id="g4">
			<label text="p85 PI3K"/>
			<bbox x="86" y="230" w="108" h="40"/>
		</glyph>

		<arc class="positive influence" source="g1" target="g2" id="a1">
			<start x="97" y="60" />
			<end x="69" y="126">
			<point x="77" y="75" />
			<point x="66" y="100" />
			</end>
		</arc>

		<arc class="positive influence" source="g1" target="g3" id="a2">
			<start x="152" y="60" />
			<end x="216" y="126" />
		</arc>

		<arc class="negative influence" source="g2" target="g1" id="a3">
			<start x="80" y="126" />
			<end x="115" y="65" />
		</arc>

		<arc class="positive influence" source="g3" target="g4" id="a4">
			<start x="219" y="166" />
			<end x="159" y="230" />
		</arc>

	</map>
</sbgn>
			
../test-files/ER/ER_Reference_Card.png
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
    <map version="http://identifiers.org/combine.specifications/sbgn.er.level-1.version-2" id="map1">
        <glyph id="glyph2" class="entity">
            <label text="Entity with
State Location"/>
            <bbox y="405.0" x="390.0" h="70.0" w="140.0"/>
            <glyph id="glyph2a" class="location">
                <bbox y="389.0" x="414.0" h="32.0" w="22.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph3" class="entity">
            <label text="Entity with
State Variable"/>
            <bbox y="205.0" x="390.0" h="70.0" w="140.0"/>
            <glyph id="glyph3a" class="state variable">
                <state variable="var" value="val"/>
                <bbox y="196.5" x="397.0" h="17.0" w="56.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph4" class="entity">
            <label text="Entity with
Unit of Information"/>
            <bbox y="105.0" x="390.0" h="70.0" w="140.0"/>
            <glyph id="glyph4a" class="unit of information">
                <label text="pre:label"/>
                <bbox y="96.5" x="397.0" h="17.0" w="56.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph5" class="entity">
            <label text="Entity with
State Existence"/>
            <bbox y="305.0" x="390.0" h="70.0" w="140.0"/>
            <glyph id="glyph5a" class="existence">
                <bbox y="292.5" x="414.0" h="25.0" w="22.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph6" class="annotation">
            <label text="Annotation"/>
            <bbox y="575.0" x="390.0" h="70.0" w="140.0"/>
        </glyph>
        <glyph id="glyph7" class="perturbing agent">
            <label text="Perturbing
Agent"/>
            <bbox y="405.0" x="110.0" h="70.0" w="140.0"/>
        </glyph>
        <glyph id="glyph8" class="phenotype">
            <label text="Phenotype"/>
            <bbox y="445.0" x="705.0" h="70.0" w="140.0"/>
        </glyph>
        <glyph id="glyph23" class="variable value">
            <label text="Variable Value"/>
            <bbox y="615.0" x="715.0" h="30.0" w="120.0"/>
        </glyph>
        <glyph id="glyph27" class="and">
            <bbox y="515.0" x="105.0" h="50.0" w="50.0"/>
        </glyph>
        <glyph id="glyph28" class="not">
            <bbox y="610.0" x="105.0" h="50.0" w="50.0"/>
        </glyph>
        <glyph id="glyph29" class="delay">
            <bbox y="610.0" x="205.0" h="50.0" w="50.0"/>
        </glyph>
        <glyph id="glyph31" class="or">
            <bbox y="515.0" x="205.0" h="50.0" w="50.0"/>
        </glyph>
        <glyph id="glyph1" class="entity">
            <label text="Entity"/>
            <bbox y="105.0" x="110.0" h="70.0" w="140.0"/>
        </glyph>
        <glyph id="glyph0" class="entity">
            <label text="Entity"/>
            <bbox y="305.0" x="110.0" h="70.0" w="140.0"/>
        </glyph>
        <glyph id="glyph14" class="entity">
            <label text="Source
Entity"/>
            <bbox y="587.5" x="1000.0" h="55.0" w="100.0"/>
        </glyph>
        <glyph id="glyph30" class="and">
            <bbox y="590.0" x="1225.0" h="50.0" w="50.0"/>
            <port y="615.0" x="1200.0" id="glyph30.1"/>
        </glyph>
        <glyph id="glyph33" class="variable value">
            <label text="val"/>
            <bbox y="92.0" x="729.0" h="16.0" w="40.0"/>
        </glyph>
        <glyph id="glyph22" class="entity">
            <label text="Entity"/>
            <bbox y="170.0" x="725.0" h="50.0" w="100.0"/>
            <glyph id="glyph22a" class="state variable">
                <state variable="var" value="val"/>
                <bbox y="161.5" x="722.0" h="17.0" w="56.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph25" class="entity">
            <label text="Entity"/>
            <bbox y="240.0" x="830.0" h="40.0" w="80.0"/>
        </glyph>
        <glyph id="glyph26" class="entity">
            <label text="Entity"/>
            <bbox y="380.0" x="830.0" h="40.0" w="80.0"/>
        </glyph>
        <glyph id="glyph24" class="entity">
            <label text="Entity"/>
            <bbox y="310.0" x="640.0" h="40.0" w="80.0"/>
        </glyph>
        <glyph id="glyph9" class="entity">
            <label text="Source
Entity"/>
            <bbox y="187.5" x="1000.0" h="55.0" w="100.0"/>
        </glyph>
        <glyph id="glyph18" class="phenotype">
            <label text="Target"/>
            <bbox y="187.5" x="1200.0" h="55.0" w="100.0"/>
        </glyph>
        <glyph id="glyph10" class="entity">
            <label text="Source
Entity"/>
            <bbox y="267.5" x="1000.0" h="55.0" w="100.0"/>
        </glyph>
        <glyph id="glyph17" class="phenotype">
            <label text="Target"/>
            <bbox y="267.5" x="1200.0" h="55.0" w="100.0"/>
        </glyph>
        <glyph id="glyph12" class="entity">
            <label text="Source
Entity"/>
            <bbox y="347.5" x="1000.0" h="55.0" w="100.0"/>
        </glyph>
        <glyph id="glyph21" class="phenotype">
            <label text="Target"/>
            <bbox y="347.5" x="1200.0" h="55.0" w="100.0"/>
        </glyph>
        <glyph id="glyph13" class="entity">
            <label text="Source
Entity"/>
            <bbox y="507.5" x="1000.0" h="55.0" w="100.0"/>
        </glyph>
        <glyph id="glyph20" class="phenotype">
            <label text="Target"/>
            <bbox y="507.5" x="1200.0" h="55.0" w="100.0"/>
        </glyph>
        <glyph id="glyph11" class="entity">
            <label text="Source
Entity"/>
            <bbox y="427.5" x="1000.0" h="55.0" w="100.0"/>
        </glyph>
        <glyph id="glyph16" class="phenotype">
            <label text="Target"/>
            <bbox y="427.5" x="1200.0" h="55.0" w="100.0"/>
        </glyph>
        <glyph id="glyph15" class="entity">
            <label text="Source
Entity"/>
            <bbox y="107.5" x="1000.0" h="55.0" w="100.0"/>
        </glyph>
        <glyph id="glyph19" class="phenotype">
            <label text="Target"/>
            <bbox y="107.5" x="1200.0" h="55.0" w="100.0"/>
        </glyph>
        <arc target="glyph0" source="glyph1" id="arc0" class="interaction">
            <glyph id="arc0.0" class="outcome">
                <bbox y="230.0" x="170.0" h="20.0" w="20.0"/>
            </glyph>
            <start y="175.0" x="180.0"/>
            <end y="305.0" x="180.0"/>
        </arc>
        <arc target="glyph30.1" source="glyph14" id="arc1" class="logic arc">
            <start y="615.0" x="1100.0"/>
            <end y="615.0" x="1200.0"/>
        </arc>
        <arc target="glyph22" source="glyph33" id="arc2" class="assignment">
            <start y="108.0" x="751.18945"/>
            <end y="165.0" x="750.0"/>
        </arc>
        <arc target="glyph18" source="glyph9" id="arc6" class="stimulation">
            <start y="215.0" x="1100.0"/>
            <end y="215.0" x="1200.0"/>
        </arc>
        <arc target="glyph17" source="glyph10" id="arc7" class="necessary stimulation">
            <start y="295.0" x="1100.0"/>
            <end y="295.0" x="1200.0"/>
        </arc>
        <arc target="glyph21" source="glyph12" id="arc8" class="absolute stimulation">
            <start y="375.0" x="1100.0"/>
            <end y="375.0" x="1200.0"/>
        </arc>
        <arc target="glyph20" source="glyph13" id="arc9" class="absolute inhibition">
            <start y="535.0" x="1100.0"/>
            <end y="535.0" x="1200.0"/>
        </arc>
        <arc target="glyph16" source="glyph11" id="arc10" class="inhibition">
            <start y="455.0" x="1100.0"/>
            <end y="455.0" x="1200.0"/>
        </arc>
        <arc target="glyph19" source="glyph15" id="arc11" class="modulation">
            <start y="135.0" x="1100.0"/>
            <end y="135.0" x="1200.0"/>
        </arc>
        <arcgroup class="interaction">
            <glyph id="glyph32" class="interaction">
                <bbox y="312.5" x="792.5" h="35.0" w="35.0"/>
            </glyph>
            <arc target="glyph32" source="glyph25" id="arc3" class="interaction">
                <start y="280.0" x="852.8571"/>
                <end y="312.5" x="825.0"/>
            </arc>
            <arc target="glyph32" source="glyph26" id="arc4" class="interaction">
                <start y="380.0" x="852.8571"/>
                <end y="347.5" x="825.0"/>
            </arc>
            <arc target="glyph24" source="glyph32" id="arc5" class="interaction">
                <glyph id="glyph38" class="cardinality">
                    <label text="N"/>
                    <bbox y="319.0" x="751.0" h="17.5" w="22.5"/>
                </glyph>
                <start y="330.0" x="792.5"/>
                <end y="330.0" x="720.0"/>
            </arc>
        </arcgroup>
    </map>
</sbgn>
			
../test-files/ER/OR gate.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
<map version="http://identifiers.org/combine.specifications/sbgn.er.level-1.version-2" id="map1">
	<glyph class="entity" id="g1">
		<label text="Sense" />
		<bbox x="15" y="55" w="110" h="60" />
		<glyph class="unit of information" id="g1_1">
			<label text="mt:dna" />
			<bbox x="45" y="45" w="50" h="15" />
		</glyph>
	</glyph>

	<glyph class="entity" id="g2">
		<label text="Antisense" />
		<bbox x="315" y="55" w="110" h="60" />
		<glyph class="unit of information" id="g2_1">
			<label text="mt:dna" />
			<bbox x="345" y="45" w="50" h="15" />
		</glyph>
	</glyph>

	<glyph class="entity" id="g3">
		<label text="3' primer" />
		<bbox x="15" y="355" w="110" h="60" />
		<glyph class="unit of information" id="g3_1">
			<label text="mt:dna" />
			<bbox x="45" y="407" w="50" h="15" />
		</glyph>
	</glyph>

	<glyph class="entity" id="g4">
		<label text="5' primer" />
		<bbox x="315" y="355" w="110" h="60" />
		<glyph class="unit of information" id="g4_1">
			<label text="mt:dna" />
			<bbox x="345" y="405" w="50" h="15" />
		</glyph>
	</glyph>

	<glyph class="or" id="g5">
		<bbox x="195" y="190" w="48" h="48" />
		<port x="217" y="263" id="g5_1" />
		<port x="217" y="188" id="g5_2" />
	</glyph>

	<arc class="interaction" source="g1" target="g2" id="a1">
		<port x="217" y="83" id="g6" />
		<start x="120" y="83" />
		<end x="315" y="83" />
	</arc>

	<arc class="interaction" source="g1" target="g3" id="a2">
		<glyph class="outcome" id="g7" >
			<bbox x="60" y="255" w="16" h="16" />
		</glyph>
		<start x="65" y="113" />
		<end x="65" y="353" />
	</arc>

	<arc class="interaction" source="g2" target="g4" id="a3">
		<glyph class="outcome" id="g8" >
			<bbox x="360" y="255" w="16" h="16" />
		</glyph>
		<start x="367" y="113" />
		<end x="367" y="353" />
	</arc>

	<arc class="logic arc" source="g7" target="g5_1" id="a4">
		<start x="75" y="263" />
		<end x="217" y="263" />
	</arc>

	<arc class="logic arc" source="g8" target="g5_1" id="a5">
		<start x="362" y="263" />
		<end x="217" y="263" />
	</arc>

	<arc class="absolute inhibition" source="g5_2" target="g6" id="a6">
		<start x="217" y="188" />
		<end x="217" y="93" />
	</arc>
</map>
</sbgn>
			
../test-files/ER/absolute inhibition.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
<map version="http://identifiers.org/combine.specifications/sbgn.er.level-1.version-2" id="map1">
	<glyph class="entity" id="g1">
		<label text="Sense" />
		<bbox x="86" y="160" w="108" h="60" />
		<glyph class="unit of information" id="g1_1">
			<label text="mt:dna" />
			<bbox x="117" y="152" w="46" h="15" />
		</glyph>
	</glyph>

	<glyph class="entity" id="g2">
		<label text="Antisense" />
		<bbox x="386" y="160" w="108" h="60" />
		<glyph class="unit of information" id="g2_1">
			<label text="mt:dna" />
			<bbox x="417" y="152" w="46" h="15" />
		</glyph>
	</glyph>

	<glyph class="perturbing agent" id="g3">
		<label text="Heat" />
		<bbox x="236" y="30" w="108" h="60" />
	</glyph>

	<arc class="interaction" source="g1" target="g2" id="a1">
		<port x="290" y="190" id="g4" />
		<start x="194" y="190" />
		<end x="386" y="190" />
	</arc>

	<arc class="absolute inhibition" source="g3" target="g4" id="a2">
		<start x="290" y="90" />
		<end x="290" y="186" />
	</arc>
</map>
</sbgn>
			
../test-files/ER/absolute stimulation.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
<map version="http://identifiers.org/combine.specifications/sbgn.er.level-1.version-2" id="map1">
	<glyph class="entity" id="g1">
		<label text="Sense" />
		<bbox x="86" y="160" w="108" h="60" />
		<glyph class="unit of information" id="g1_1">
			<label text="mt:dna" />
			<bbox x="117" y="152" w="46" h="15" />
		</glyph>
	</glyph>

	<glyph class="entity" id="g2">
		<label text="Antisense" />
		<bbox x="386" y="160" w="108" h="60" />
		<glyph class="unit of information" id="g2_1">
			<label text="mt:dna" />
			<bbox x="417" y="152" w="46" h="15" />
		</glyph>
	</glyph>

	<glyph class="perturbing agent" id="g3">
		<label text="Heat" />
		<bbox x="236" y="30" w="108" h="60" />
	</glyph>

	<arc class="interaction" source="g1" target="g2" id="a1">
		<port x="290" y="190" id="g4" />
		<start x="194" y="190" />
		<end x="386" y="190" />
	</arc>

	<arc class="absolute stimulation" source="g3" target="g4" id="a2">
		<start x="290" y="90" />
		<end x="290" y="186" />
	</arc>
</map>
</sbgn>
			
../test-files/ER/binary-no-outcome.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
<map version="http://identifiers.org/combine.specifications/sbgn.er.level-1.version-2" id="map1">
	<glyph class="entity" id="g1">
		<label text="A" />
		<bbox x="16" y="20" w="108" h="60" />
	</glyph>

	<glyph class="entity" id="g2">
		<label text="B" />
		<bbox x="296" y="20" w="108" h="60" />
	</glyph>

	<arcgroup class="interaction">
	
		<glyph class="interaction" id="g3">
			<bbox x="189" y="29" w="42" h="42" />
		</glyph>

		<arc class="interaction" source="g3" target="g1" id="a1">
			<start x="189" y="50" />
			<end x="124" y="50" />
		</arc>

		<arc class="interaction" source="g3" target="g2" id="a2">
			<start x="231" y="50" />
			<end x="296" y="50" />
		</arc>

	</arcgroup>
	
</map>
</sbgn>
			
../test-files/ER/binary-with-perturbation-and-phenotype.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
<map version="http://identifiers.org/combine.specifications/sbgn.er.level-1.version-2" id="map1">
	<glyph class="entity" id="g1">
		<label text="A" />
		<bbox x="26" y="100" w="108" h="60" />
	</glyph>

	<glyph class="entity" id="g2">
		<label text="B" />
		<bbox x="296" y="100" w="108" h="60" />
	</glyph>

	<glyph class="perturbing agent" id="g3">
		<label text="Heat" />
		<bbox x="186" y="10" w="108" h="60" />
	</glyph>

	<glyph class="phenotype" id="g4">
		<label text="Phenotype X" />
		<bbox x="126" y="190" w="108" h="60" />
	</glyph>

	<arc class="interaction" source="g1" target="g2" id="a1">
		<glyph class="outcome" id="g5">
			<bbox x="174" y="124" w="12" h="12" />
		</glyph>
		<port x="240" y="130" id="g6" />
		<start x="134" y="130" />
		<end x="296" y="130" />
	</arc>

	<arc class="absolute inhibition" source="g3" target="g6" id="a2">
		<start x="240" y="70" />
		<end x="240" y="125" />
	</arc>

	<arc class="stimulation" source="g5" target="g4" id="a3">
		<start x="180" y="136" />
		<end x="180" y="190" />
	</arc>

</map>
</sbgn>
			
../test-files/ER/cis.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
<map version="http://identifiers.org/combine.specifications/sbgn.er.level-1.version-2" id="map1">
	<glyph id="id1" class="entity">
		<label text="CaMKII"/>
		<bbox x="30" y="30" w="240" h="60"/>
		<glyph id="id2" class="unit of information">
			<label text="mt:prot"/>
			<bbox x="125" y="80" w="47" h="15"/>
		</glyph>
	</glyph>
	<arc source="id1" target="id1" class="interaction" id="a1">
		<glyph id="id3" class="outcome">
			<bbox x="202" y="132" w="16" h="16"/>
		</glyph>
		<glyph id="id4" class="cardinality">
			<label text="cis"/>
			<bbox x="114" y="160" w="30" h="18"/>
		</glyph>
		<start x="88" y="90"/>
		<next x="88" y="168"/>
		<next x="208" y="168"/>
		<end x="208" y="90"/>
	</arc>
</map>
</sbgn>
			
../test-files/ER/delay.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
<map version="http://identifiers.org/combine.specifications/sbgn.er.level-1.version-2" id="map1">
	<glyph class="variable value" id="g1">
		<label text="P" />
		<bbox x="267" y="50" w="20" h="20" />
	</glyph>

	<glyph class="entity" id="g2">
		<label text="CaMKII" />
		<bbox x="142" y="210" w="180" h="60" />
		<glyph class="state variable" id="g2_1">
			<state value="P" variable="T286" />
			<bbox x="159" y="202" w="56" h="15" />
		</glyph>
		<glyph class="state variable" id="g2_2">
			<state variable="T306" />
			<bbox x="258" y="202" w="38" h="15" />
		</glyph>
		<glyph class="unit of information" id="g2_3">
			<label text="mt:prot" />
			<bbox x="209" y="262" w="47" h="15" />
		</glyph>
	</glyph>

	<glyph class="delay" id="g3">
		<bbox x="71" y="194" w="42" h="42" />
		<port x="123" y="215" id="g3_1" />
		<port x="61" y="215" id="g3_2" />
	</glyph>

	<arc class="assignment" source="g1" target="g2_2" id="a1">
		<port x="277" y="120" id="g4" />
		<start x="277" y="70" />
		<end x="277" y="202" />
	</arc>

	<arc class="logic arc" source="g2" target="g3_1" id="a2">
		<start x="142" y="215" />
		<end x="123" y="215" />
	</arc>

	<arc class="necessary stimulation" source="g3_2" target="g4" id="a3">
		<start x="61" y="215" />
		<next x="50" y="215"/>
		<next x="50" y="120"/>
		<end x="277" y="120" />
	</arc>
</map>
</sbgn>
			
../test-files/ER/existence_variable.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
  <map version="http://identifiers.org/combine.specifications/sbgn.er.level-1.version-2" id="map1">
	<glyph class="entity" id="glyph1">
		<label text="Sense"/>
		<bbox x="36" y="40" w="108" h="60"/>
		<glyph class="unit of information" id="glyph1a">
			<label text="mt:DNA"/>
			<bbox x="66" y="32" w="45" h="15"/>
		</glyph>
		<glyph class="existence" id="glyph1b">
			<bbox x="80" y="90" w="20" h="20"/>
		</glyph>
	</glyph>
	<glyph class="variable value" id="glyph2">
		<label text="T"/>
		<bbox x="80" y="170" w="20" h="20"/>
	</glyph>
	<arc class="assignment" source="glyph2" target="glyph1b" id="a1">
		<start x="90" y="170" />
		<end x="90" y="110" />
	</arc>
  </map>
</sbgn>
			
../test-files/ER/implicit_xor.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
  <map version="http://identifiers.org/combine.specifications/sbgn.er.level-1.version-2" id="map1">
	<glyph class="entity" id="glyph1">
		<label text="CaMKII"/>
		<bbox x="60" y="130" w="120" h="60"/>
		<glyph class="unit of information" id="glyph1a">
			<label text="mt:prot"/>
			<bbox x="97" y="182" w="46" h="15"/>
		</glyph>
		<glyph class="state variable" id="glyph1b">
			<state value="P" variable="T286"/>
			<bbox x="62" y="122" w="54" h="15"/>
		</glyph>
		<glyph class="state variable" id="glyph1c">
			<state variable="T306"/>
			<bbox x="132" y="122" w="36" h="15"/>
		</glyph>
	</glyph>
	<glyph class="variable value" id="glyph2">
		<label text="T"/>
		<bbox x="60" y="40" w="20" h="20"/>
	</glyph>
	<glyph class="variable value" id="glyph3">
		<label text="F"/>
		<bbox x="100" y="40" w="20" h="20"/>
	</glyph>
	<glyph class="implicit xor" id="glyph4">
		<bbox x="90" y="90" w="0" h="0"/>
	</glyph>
	<arc class="assignment" source="glyph2" target="glyph4" id="a1">
		<start x="75" y="59"/>
		<end x="90" y="90"/>
	</arc>
	<arc class="assignment" source="glyph3" target="glyph4" id="a2">
		<start x="105" y="59"/>
		<end x="90" y="90"/>
	</arc>
	<arc class="assignment" source="glyph4" target="glyph1b" id="a3">
		<start x="90" y="90"/>
		<end x="90" y="122"/>
	</arc>
  </map>
</sbgn>
			
../test-files/ER/invisible node.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
<map version="http://identifiers.org/combine.specifications/sbgn.er.level-1.version-2" id="map1">
	<glyph class="variable value" id="g1">
		<label text="T" /> <!-- should this be a state instead? [!] -->
		<bbox x="55" y="30" w="20" h="20" />
	</glyph>

	<glyph class="entity" id="g2">
		<label text="Ca2+" />
		<bbox x="40" y="160" w="110" h="60" />
		<glyph class="existence" id="g2_1">
			<bbox x="55" y="150" w="20" h="20" />
		</glyph>
		<glyph class="unit of information" id="g2_2">
			<label text="mt:ion" />
			<bbox x="98" y="151" w="43" h="14" />
		</glyph>
	</glyph>

	<glyph class="perturbing agent" id="g3">
		<label text="dV" />
		<bbox x="105" y="60" w="110" h="60" />
	</glyph>

	<arc class="assignment" source="g1" target="g2_1" id="a1">
		<port x="64" y="88" id="g4" />
		<start x="64" y="50" />
		<end x="64" y="150" />
	</arc>

	<arc class="stimulation" source="g3" target="g4" id="a2">
		<start x="130" y="88" />
		<end x="64" y="88" />
	</arc>
</map>
</sbgn>
			
../test-files/ER/location.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
  <map version="http://identifiers.org/combine.specifications/sbgn.er.level-1.version-2" id="map1">
	<glyph class="entity" id="glyph1">
		<label text="GluR"/>
		<bbox x="36" y="170" w="108" h="60"/>
		<glyph class="unit of information" id="glyph1a">
			<label text="mt:prot"/>
			<bbox x="67" y="222" w="46" h="15"/>
		</glyph>
		<glyph class="location" id="glyph1b">
			<bbox x="52" y="160" w="20" h="20"/>
		</glyph>
		<glyph class="state variable" id="glyph1c">
			<state variable="T306"/>
			<bbox x="99" y="162" w="36" h="15"/>
		</glyph>
	</glyph>
	<glyph class="variable value" id="glyph2">
		<label text="PSD"/>
		<bbox x="45" y="30" w="36" h="20"/>
	</glyph>
	<glyph class="variable value" id="glyph3">
		<label text="T"/>
		<bbox x="107" y="30" w="20" h="20"/>
	</glyph>
	<arc class="assignment" source="glyph2" target="glyph1b" id="a1">
		<port x="63" y="80" id="glyph5"/>
		<start x="63" y="50"/>
		<end x="63" y="160"/>
	</arc>
	<arc class="assignment" source="glyph3" target="glyph1c" id="a2">
		<glyph class="outcome" id="glyph4">
			<bbox x="111" y="74" w="12" h="12"/>
		</glyph>
		<start x="117" y="50"/>
		<end x="117" y="162"/>
	</arc>
	<arc class="stimulation" source="glyph4" target="glyph5" id="a3">
		<start x="111" y="80"/>
		<end x="63" y="80"/>
	</arc>
  </map>
</sbgn>
			
../test-files/ER/outcome-dual.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
<map version="http://identifiers.org/combine.specifications/sbgn.er.level-1.version-2" id="map1">
	<glyph id="id1" class="entity">
		<label text="Sense"/>
		<bbox x="135" y="20" w="110" h="60"/>
		<glyph id="id1_1" class="unit of information">
			<label text="mt:dna"/>
			<bbox x="166" y="10" w="47" h="15"/>
		</glyph>
	</glyph>

	<glyph id="id2" class="entity">
		<label text="3' primer"/>
		<bbox x="135" y="220" w="110" h="60"/>
		<glyph id="id2_1" class="unit of information">
			<label text="mt:dna"/>
			<bbox x="166" y="272" w="47" h="15"/>
		</glyph>
	</glyph>

	<glyph id="id3" class="phenotype">
		<label text="Phenotype A"/>
		<bbox x="275" y="100" w="110" h="60"/>
	</glyph>

	<glyph id="id4" class="phenotype">
		<label text="Phenotype B"/>
		<bbox x="5" y="140" w="110" h="60"/>
	</glyph>

	<arc source="id1" target="id2" class="interaction" id="a1">
		<glyph id="id5" class="outcome">
			<bbox x="180" y="120" w="16" h="16"/>
		</glyph>
		<glyph id="id6" class="outcome">
			<bbox x="180" y="160" w="16" h="16"/>
		</glyph>
		<start x="188" y="80"/>
		<end x="188" y="220"/>
	</arc>

	<arc source="id5" target="id3" class="modulation" id="a2">
		<start x="196" y="128"/>
		<end x="275" y="128"/>
	</arc>

	<arc source="id6" target="id4" class="inhibition" id="a3">
		<start x="180" y="168"/>
		<end x="120" y="168"/>
	</arc>
</map>
</sbgn>
			
../test-files/ER/outcome-simplified.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
<map version="http://identifiers.org/combine.specifications/sbgn.er.level-1.version-2" id="map1">
	<glyph id="id1" class="entity">
		<label text="Sense"/>
		<bbox x="66" y="40" w="108" h="60"/>
		<glyph id="id1_1" class="unit of information">
			<label text="mt:dna"/>
			<bbox x="96" y="32" w="48" h="15"/>
		</glyph>
	</glyph>

	<glyph id="id2" class="entity">
		<label text="3' primer"/>
		<bbox x="66" y="220" w="108" h="60"/>
		<glyph id="id2_1" class="unit of information">
			<label text="mt:dna"/>
			<bbox x="96" y="272" w="48" h="15"/>
		</glyph>
	</glyph>

	<glyph id="id3" class="phenotype">
		<label text="Phenotype X"/>
		<bbox x="176" y="130" w="108" h="60"/>
	</glyph>

	<arc source="id1" target="id2" class="interaction" id="a1">
		<glyph id="id4" class="outcome">
			<bbox x="114" y="154" w="12" h="12"/>
		</glyph>
		<start x="120" y="100"/>
		<end x="120" y="220"/>
	</arc>

	<arc source="id4" target="id3" class="stimulation" id="a2">
		<start x="126" y="160"/>
		<end x="176" y="160"/>
	</arc>
</map>
</sbgn>
			
../test-files/ER/phosphorylation.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
  <map version="http://identifiers.org/combine.specifications/sbgn.er.level-1.version-2" id="map1">
	<glyph class="entity" id="glyph1">
		<label text="CaMKII"/>
		<bbox x="60" y="130" w="120" h="60"/>
		<glyph class="unit of information" id="glyph1a">
			<label text="mt:prot"/>
			<bbox x="97" y="182" w="46" h="15"/>
		</glyph>
		<glyph class="state variable" id="glyph1b">
			<state value="P" variable="T286"/>
			<bbox x="62" y="122" w="54" h="15"/>
		</glyph>
		<glyph class="state variable" id="glyph1c">
			<state variable="T306"/>
			<bbox x="132" y="122" w="36" h="15"/>
		</glyph>
	</glyph>
	<glyph class="variable value" id="glyph2">
		<label text="T"/>
		<bbox x="60" y="40" w="20" h="20"/>
	</glyph>
	<glyph class="variable value" id="glyph3">
		<label text="F"/>
		<bbox x="100" y="40" w="20" h="20"/>
	</glyph>
	<glyph class="variable value" id="glyph4">
		<label text="P"/>
		<bbox x="140" y="40" w="20" h="20"/>
	</glyph>
	<glyph class="implicit xor" id="glyph5">
		<bbox x="90" y="90" w="0" h="0"/>
	</glyph>
	<arc class="assignment" source="glyph2" target="glyph5" id="a1">
		<start x="75" y="59"/>
		<end x="90" y="90"/>
	</arc>
	<arc class="assignment" source="glyph3" target="glyph5" id="a2">
		<start x="105" y="59"/>
		<end x="90" y="90"/>
	</arc>
	<arc class="assignment" source="glyph5" target="glyph1b" id="a3">
		<start x="90" y="90"/>
		<end x="90" y="122"/>
	</arc>
	<arc class="assignment" source="glyph4" target="glyph1c" id="a4">
		<start x="150" y="60"/>
		<end x="150" y="122"/>
	</arc>
  </map>
</sbgn>
			
../test-files/ER/ternary-interaction.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
<map version="http://identifiers.org/combine.specifications/sbgn.er.level-1.version-2" id="map1">
	<glyph class="entity" id="g1">
		<label text="A" />
		<bbox x="56" y="30" w="108" h="60" />
	</glyph>

	<glyph class="entity" id="g2">
		<label text="B" />
		<bbox x="176" y="30" w="108" h="60" />
	</glyph>

	<glyph class="entity" id="g3">
		<label text="C" />
		<bbox x="296" y="30" w="108" h="60" />
	</glyph>


	<glyph class="phenotype" id="g5">
		<label text="phenotype X" />
		<bbox x="176" y="250" w="108" h="60" />
	</glyph>

	<arc class="stimulation" source="g4_1" target="g5" id="a1">
		<start x="230" y="207" />
		<end x="230" y="250" />
	</arc>	

	<arcgroup class="interaction">
	
		<glyph class="interaction" id="g4">
			<bbox x="209" y="159" w="42" h="42" />
			<glyph class="outcome" id="g4_1">
				<bbox x="224" y="195" w="12" h="12" />
			</glyph>
		</glyph>
		
		<arc class="interaction" source="g4" target="g1" id="a2">
			<start x="215" y="164" />
			<end x="142" y="90" />
		</arc>

		<arc class="interaction" source="g4" target="g2" id="a3">
			<start x="230" y="159" />
			<end x="230" y="90" />
		</arc>

		<arc class="interaction" source="g4" target="g3" id="a4">
			<start x="245" y="164" />
			<end x="318" y="90" />
		</arc>
		
	</arcgroup>
	
</map>
</sbgn>
			
../test-files/ER/ternary-with-cardinality.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
<map version="http://identifiers.org/combine.specifications/sbgn.er.level-1.version-2" id="map1">

	<glyph class="entity" id="g1">
		<label text="A" />
		<bbox x="16" y="150" w="108" h="60" />
	</glyph>

	<glyph class="entity" id="g2">
		<label text="B" />
		<bbox x="296" y="150" w="108" h="60" />
	</glyph>

	<glyph class="phenotype" id="g4">
		<label text="phenotype X" />
		<bbox x="176" y="250" w="108" h="60" />
	</glyph>
	
	<arc class="stimulation" source="g3_1" target="g4" id="a1">
		<start x="230" y="207" />
		<end x="230" y="250" />
	</arc>	

	<arcgroup class="interaction">
	
		<glyph class="interaction" id="g3">
			<bbox x="209" y="159" w="42" h="42" />
			<glyph class="outcome" id="g3_1">
				<bbox x="224" y="195" w="12" h="12" />
			</glyph>
		</glyph>

		<arc class="interaction" source="g3" target="g1" id="a2">
			<glyph class="cardinality" id="g5">
				<label text="2" />
				<bbox x="162" y="172" w="20" h="15" />
			</glyph>
			<start x="209" y="180" />
			<end x="124" y="180" />
		</arc>

		<arc class="interaction" source="g3" target="g2" id="a3">
			<start x="251" y="180" />
			<end x="296" y="180" />
		</arc>
	
	</arcgroup>

</map>
</sbgn>
			
../test-files/ER/ternary-with-perturbation-and-phenotype.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
<map version="http://identifiers.org/combine.specifications/sbgn.er.level-1.version-2" id="map1">
	<glyph class="entity" id="g1">
		<label text="A" />
		<bbox x="16" y="100" w="108" h="60" />
	</glyph>

	<glyph class="entity" id="g2">
		<label text="B" />
		<bbox x="296" y="50" w="108" h="60" />
	</glyph>

	<glyph class="entity" id="g3">
		<label text="C" />
		<bbox x="296" y="150" w="108" h="60" />
	</glyph>

	<glyph class="perturbing agent" id="g5">
		<label text="Heat" />
		<bbox x="156" y="10" w="108" h="60" />
	</glyph>

	<glyph class="phenotype" id="g6">
		<label text="phenotype X" />
		<bbox x="156" y="200" w="108" h="60" />
	</glyph>

	<arc class="absolute inhibition" source="g5" target="g4_2" id="a1">
		<start x="210" y="70" />
		<end x="210" y="104" />
	</arc>	
	
	<arc class="stimulation" source="g4_1" target="g6" id="a2">
		<start x="210" y="157" />
		<end x="210" y="200" />
	</arc>	
	
	<arcgroup class="interaction">

		<glyph class="interaction" id="g4">
			<bbox x="189" y="109" w="42" h="42" />
			<glyph class="outcome" id="g4_1">
				<bbox x="204" y="145" w="12" h="12" />
			</glyph>
			<port x="210" y="109" id="g4_2" />
		</glyph>

		<arc class="interaction" source="g4" target="g3" id="a3">
			<start x="230" y="137" />
			<end x="296" y="161" />
		</arc>

		<arc class="interaction" source="g4" target="g1" id="a4">
			<start x="189" y="130" />
			<end x="124" y="130" />
		</arc>

		<arc class="interaction" source="g4" target="g2" id="a5">
			<start x="230" y="123" />
			<end x="296" y="99" />
		</arc>
		
	</arcgroup>
	
</map>
</sbgn>
			
../test-files/ER/trans.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
<map version="http://identifiers.org/combine.specifications/sbgn.er.level-1.version-2" id="map1">
	<glyph id="id1" class="entity">
		<label text="CaMKII"/>
		<bbox x="30" y="30" w="240" h="60"/>
		<glyph id="id2" class="unit of information">
			<label text="mt:prot"/>
			<bbox x="125" y="80" w="47" h="15"/>
		</glyph>
	</glyph>
	<arc source="id1" target="id1" class="interaction" id="a1">
		<glyph id="id3" class="outcome">
			<bbox x="202" y="132" w="16" h="16"/>
		</glyph>
		<glyph id="id4" class="cardinality">
			<label text="trans"/>
			<bbox x="114" y="160" w="35" h="18"/>
		</glyph>
		<start x="88" y="90"/>
		<next x="88" y="168"/>
		<next x="208" y="168"/>
		<end x="208" y="90"/>
	</arc>
</map>
</sbgn>
			
../test-files/PD/PD_Reference_Card.png
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
    <map version="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.3" id="map1">
        <glyph compartmentOrder="-62.0" id="glyph0" class="compartment">
            <label text="Connecting Arcs">
                <bbox y="54.0" x="1219.0" h="18.0" w="112.0"/>
            </label>
            <bbox y="50.0" x="1080.0" h="850.0" w="390.0"/>
        </glyph>
        <glyph compartmentOrder="-61.0" id="glyph1" class="compartment">
            <label text="Entity Pool Nodes (EPN)">
                <bbox y="54.0" x="144.5" h="18.0" w="161.0"/>
            </label>
            <bbox y="50.0" x="50.0" h="850.0" w="350.0"/>
        </glyph>
        <glyph compartmentOrder="-60.0" id="glyph2" class="compartment">
            <label text="Auxiliary Units">
                <bbox y="54.0" x="527.0" h="18.0" w="96.0"/>
            </label>
            <bbox y="50.0" x="420.0" h="430.0" w="310.0"/>
        </glyph>
        <glyph compartmentOrder="-59.0" id="glyph3" class="compartment">
            <label text="Process Nodes">
                <bbox y="54.0" x="853.0" h="18.0" w="104.0"/>
            </label>
            <bbox y="50.0" x="750.0" h="430.0" w="310.0"/>
        </glyph>
        <glyph compartmentOrder="-58.0" id="glyph4" class="compartment">
            <label text="Reference Nodes">
                <bbox y="704.0" x="680.5" h="18.0" w="119.0"/>
            </label>
            <bbox y="700.0" x="420.0" h="200.0" w="640.0"/>
        </glyph>
        <glyph id="glyph5" class="complex" compartmentRef="glyph1">
            <label text="Complex">
                <bbox y="622.0" x="193.5" h="18.0" w="63.0"/>
            </label>
            <bbox y="620.0" x="70.0" h="240.0" w="310.0"/>
            <glyph id="glyph5a" class="unit of information">
                <label text="INFO"/>
                <bbox y="852.0" x="128.0" h="16.0" w="39.0"/>
            </glyph>
            <glyph id="glyph5b" class="state variable">
                <state value="varY"/>
                <bbox y="849.0" x="205.0" h="22.0" w="40.0"/>
            </glyph>
            <glyph id="glyph8" class="complex">
                <bbox y="650.0" x="220.0" h="180.0" w="150.0"/>
                <glyph id="glyph8a" class="state variable">
                    <state value="varX"/>
                    <bbox y="819.0" x="275.0" h="22.0" w="40.0"/>
                </glyph>
                <glyph id="glyph43" class="simple chemical">
                    <label text="LABEL"/>
                    <bbox y="745.0" x="285.0" h="60.0" w="60.0"/>
                </glyph>
                <glyph id="glyph33" class="macromolecule">
                    <label text="LABEL"/>
                    <bbox y="670.0" x="241.0" h="60.0" w="108.0"/>
                    <glyph id="glyph33a" class="unit of information">
                        <label text="INFO"/>
                        <bbox y="662.0" x="248.5" h="16.0" w="39.0"/>
                    </glyph>
                    <glyph id="glyph33b" class="state variable">
                        <state value="varW"/>
                        <bbox y="659.0" x="301.0" h="22.0" w="42.0"/>
                    </glyph>
                </glyph>
            </glyph>
            <glyph id="glyph30" class="macromolecule">
                <label text="LABEL"/>
                <bbox y="710.0" x="91.0" h="60.0" w="108.0"/>
                <glyph id="glyph30a" class="unit of information">
                    <label text="INFO"/>
                    <bbox y="702.0" x="98.5" h="16.0" w="39.0"/>
                </glyph>
                <glyph id="glyph30b" class="state variable">
                    <state value="varZ"/>
                    <bbox y="699.0" x="153.5" h="22.0" w="37.0"/>
                </glyph>
            </glyph>
        </glyph>
        <glyph compartmentOrder="-57.0" id="glyph6" class="compartment">
            <label text="Logical Operators">
                <bbox y="504.0" x="844.0" h="18.0" w="122.0"/>
            </label>
            <bbox y="500.0" x="750.0" h="180.0" w="310.0"/>
        </glyph>
        <glyph compartmentOrder="-56.0" id="glyph7" class="compartment">
            <label text="Container Nodes (CN)">
                <bbox y="504.0" x="501.0" h="18.0" w="148.0"/>
            </label>
            <bbox y="500.0" x="420.0" h="180.0" w="310.0"/>
        </glyph>
        <glyph compartmentOrder="-55.0" id="glyph9" class="compartment">
            <label text="Compartment">
                <bbox y="558.0" x="528.0" h="18.0" w="94.0"/>
            </label>
            <bbox y="550.0" x="485.0" h="100.0" w="180.0"/>
            <glyph id="glyph9a" class="unit of information">
                <label text="e:INFO"/>
                <bbox y="541.5" x="505.0" h="17.0" w="50.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph10" class="submap">
            <label text="Submap"/>
            <bbox y="750.0" x="585.0" h="120.0" w="160.0"/>
            <glyph id="glyph48" orientation="right" class="terminal">
                <label text="A"/>
                <bbox y="795.0" x="585.0" h="30.0" w="50.0"/>
            </glyph>
            <glyph id="glyph47" orientation="left" class="terminal">
                <label text="B"/>
                <bbox y="765.0" x="695.0" h="30.0" w="50.0"/>
            </glyph>
            <glyph id="glyph49" orientation="left" class="terminal">
                <label text="C"/>
                <bbox y="825.0" x="695.0" h="30.0" w="50.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph11" class="macromolecule multimer" compartmentRef="glyph1">
            <label text="Multimer
Macromolecule"/>
            <bbox y="505.0" x="82.0" h="70.0" w="126.0"/>
            <glyph id="glyph11a" class="unit of information">
                <label text="N:5"/>
                <bbox y="497.0" x="98.0" h="16.0" w="31.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph12" class="nucleic acid feature multimer" compartmentRef="glyph1">
            <label text="Multimer
Nucleic Acid
Feature"/>
            <bbox y="505.0" x="242.0" h="70.0" w="126.0"/>
            <glyph id="glyph12a" class="unit of information">
                <label text="N:2"/>
                <bbox y="497.0" x="258.0" h="16.0" w="31.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph13" class="complex multimer" compartmentRef="glyph1">
            <label text="Multimer
Complex">
                <bbox y="412.5" x="113.5" h="35.0" w="63.0"/>
            </label>
            <bbox y="395.0" x="82.0" h="70.0" w="126.0"/>
            <glyph id="glyph13a" class="unit of information">
                <label text="N:5"/>
                <bbox y="387.0" x="98.0" h="16.0" w="31.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph14" class="macromolecule" compartmentRef="glyph2">
            <label text="EPN with
Clone Marker"/>
            <clone/>
            <bbox y="275.0" x="512.0" h="80.0" w="126.0"/>
        </glyph>
        <glyph id="glyph15" class="macromolecule" compartmentRef="glyph2">
            <label text="EPN with
Clone Marker"/>
            <clone>
                <label text="Clone Label">
                    <bbox y="439.0" x="541.5" h="14.0" w="67.0"/>
                </label>
            </clone>
            <bbox y="375.0" x="512.0" h="80.0" w="126.0"/>
        </glyph>
        <glyph id="glyph16" class="unspecified entity" compartmentRef="glyph1">
            <label text="Unspecified
Entity"/>
            <bbox y="95.0" x="82.0" h="70.0" w="126.0"/>
        </glyph>
        <glyph id="glyph17" class="macromolecule" compartmentRef="glyph1">
            <label text="Macromolecule"/>
            <bbox y="185.0" x="82.0" h="70.0" w="126.0"/>
        </glyph>
        <glyph id="glyph18" class="nucleic acid feature" compartmentRef="glyph1">
            <label text="Nucleic Acid
Feature"/>
            <bbox y="185.0" x="242.0" h="70.0" w="126.0"/>
        </glyph>
        <glyph id="glyph19" class="perturbing agent" compartmentRef="glyph1">
            <label text="Perturbing
Agent"/>
            <bbox y="275.0" x="242.0" h="70.0" w="126.0"/>
        </glyph>
        <glyph id="glyph20" class="macromolecule" compartmentRef="glyph2">
            <label text="EPN with
Unit of Information"/>
            <bbox y="95.0" x="515.0" h="70.0" w="120.0"/>
            <glyph id="glyph20a" class="unit of information">
                <label text="pre:label"/>
                <bbox y="87.0" x="516.5" h="16.0" w="57.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph26" class="macromolecule" compartmentRef="glyph2">
            <label text="EPN with
State Variable"/>
            <bbox y="185.0" x="515.0" h="70.0" w="120.0"/>
            <glyph id="glyph26a" class="state variable">
                <state variable="var" value="val"/>
                <bbox y="173.0" x="516.5" h="24.0" w="57.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph27" class="simple chemical multimer" compartmentRef="glyph1">
            <label text="Multimer
Simple
Chemical"/>
            <bbox y="395.0" x="270.0" h="70.0" w="70.0"/>
            <glyph id="glyph27a" class="unit of information">
                <label text="N:2"/>
                <bbox y="387.0" x="272.0" h="16.0" w="31.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph35" class="phenotype">
            <label text="Phenotype"/>
            <bbox y="360.0" x="851.0" h="60.0" w="108.0"/>
        </glyph>
        <glyph id="glyph36" orientation="right" class="tag">
            <label text="Tag"/>
            <bbox y="780.0" x="931.0" h="60.0" w="108.0"/>
        </glyph>
        <glyph id="glyph41" class="source and sink" compartmentRef="glyph1">
            <bbox y="275.0" x="110.0" h="70.0" w="70.0"/>
        </glyph>
        <glyph id="glyph42" class="simple chemical" compartmentRef="glyph1">
            <label text="Simple
Chemical"/>
            <bbox y="95.0" x="270.0" h="70.0" w="70.0"/>
        </glyph>
        <glyph id="glyph44" class="or">
            <bbox y="569.0" x="884.0" h="42.0" w="42.0"/>
        </glyph>
        <glyph id="glyph45" class="not">
            <bbox y="569.0" x="954.0" h="42.0" w="42.0"/>
        </glyph>
        <glyph id="glyph46" class="and">
            <bbox y="569.0" x="814.0" h="42.0" w="42.0"/>
        </glyph>
        <glyph id="glyph54" class="association">
            <bbox y="268.0" x="893.0" h="24.0" w="24.0"/>
        </glyph>
        <glyph id="glyph55" class="uncertain process">
            <bbox y="218.0" x="893.0" h="24.0" w="24.0"/>
        </glyph>
        <glyph id="glyph56" class="dissociation">
            <bbox y="318.0" x="893.0" h="24.0" w="24.0"/>
        </glyph>
        <glyph id="glyph58" class="process">
            <bbox y="118.0" x="893.0" h="24.0" w="24.0"/>
        </glyph>
        <glyph id="glyph60" class="omitted process">
            <bbox y="168.0" x="893.0" h="24.0" w="24.0"/>
        </glyph>
        <glyph id="glyph40" class="unspecified entity" compartmentRef="glyph4">
            <label text="EPN
or CN"/>
            <bbox y="785.0" x="445.0" h="50.0" w="100.0"/>
        </glyph>
        <glyph id="glyph38" class="unspecified entity" compartmentRef="glyph4">
            <label text="EPN
or CN"/>
            <bbox y="750.0" x="785.0" h="50.0" w="100.0"/>
        </glyph>
        <glyph id="glyph39" class="unspecified entity" compartmentRef="glyph4">
            <label text="EPN
or CN"/>
            <bbox y="820.0" x="785.0" h="50.0" w="100.0"/>
        </glyph>
        <glyph id="glyph37" orientation="right" class="tag">
            <label text="LABEL"/>
            <bbox y="790.0" x="1121.0" h="60.0" w="108.0"/>
        </glyph>
        <glyph id="glyph29" class="unspecified entity" compartmentRef="glyph0">
            <label text="EPN"/>
            <bbox y="790.0" x="1321.0" h="60.0" w="108.0"/>
        </glyph>
        <glyph id="glyph28" class="unspecified entity" compartmentRef="glyph0">
            <label text="Source
EPN"/>
            <bbox y="710.0" x="1121.0" h="60.0" w="108.0"/>
        </glyph>
        <glyph id="glyph32" class="unspecified entity" compartmentRef="glyph0">
            <label text="Target
Logical
Operator"/>
            <bbox y="710.0" x="1321.0" h="60.0" w="108.0"/>
        </glyph>
        <glyph id="glyph22" class="unspecified entity" compartmentRef="glyph0">
            <label text="Source
EPN or
Logical Operator"/>
            <bbox y="255.0" x="1115.0" h="70.0" w="120.0"/>
        </glyph>
        <glyph id="glyph61" class="process">
            <bbox y="278.0" x="1363.0" h="24.0" w="24.0"/>
        </glyph>
        <glyph id="glyph21" class="unspecified entity" compartmentRef="glyph0">
            <label text="Source
EPN or
Logical Operator"/>
            <bbox y="345.0" x="1115.0" h="70.0" w="120.0"/>
        </glyph>
        <glyph id="glyph57" class="process">
            <bbox y="368.0" x="1363.0" h="24.0" w="24.0"/>
        </glyph>
        <glyph id="glyph23" class="unspecified entity" compartmentRef="glyph0">
            <label text="Source
EPN or
Logical Operator"/>
            <bbox y="435.0" x="1115.0" h="70.0" w="120.0"/>
        </glyph>
        <glyph id="glyph53" class="process">
            <bbox y="458.0" x="1363.0" h="24.0" w="24.0"/>
        </glyph>
        <glyph id="glyph25" class="unspecified entity" compartmentRef="glyph0">
            <label text="Source
EPN or
Logical Operator"/>
            <bbox y="525.0" x="1115.0" h="70.0" w="120.0"/>
        </glyph>
        <glyph id="glyph50" class="process">
            <bbox y="548.0" x="1363.0" h="24.0" w="24.0"/>
        </glyph>
        <glyph id="glyph24" class="unspecified entity" compartmentRef="glyph0">
            <label text="Source
EPN or
Logical Operator"/>
            <bbox y="615.0" x="1115.0" h="70.0" w="120.0"/>
        </glyph>
        <glyph id="glyph59" class="process">
            <bbox y="638.0" x="1363.0" h="24.0" w="24.0"/>
        </glyph>
        <glyph id="glyph51" class="process">
            <bbox y="188.0" x="1163.0" h="24.0" w="24.0"/>
            <port y="200.0" x="1199.0" id="glyph51.2"/>
        </glyph>
        <glyph id="glyph31" class="unspecified entity" compartmentRef="glyph0">
            <label text="Target
EPN"/>
            <bbox y="170.0" x="1321.0" h="60.0" w="108.0"/>
        </glyph>
        <glyph id="glyph34" class="unspecified entity" compartmentRef="glyph0">
            <label text="Source
EPN"/>
            <bbox y="90.0" x="1121.0" h="60.0" w="108.0"/>
        </glyph>
        <glyph id="glyph52" class="process">
            <bbox y="108.0" x="1363.0" h="24.0" w="24.0"/>
            <port y="120.0" x="1351.0" id="glyph52.1"/>
        </glyph>
        <arc target="glyph48" source="glyph40" id="arc0" class="equivalence arc">
            <start y="810.0" x="545.0"/>
            <end y="810.0" x="585.0"/>
        </arc>
        <arc target="glyph38" source="glyph47" id="arc1" class="equivalence arc">
            <start y="778.913" x="745.0"/>
            <end y="777.1739" x="785.0"/>
        </arc>
        <arc target="glyph39" source="glyph49" id="arc2" class="equivalence arc">
            <start y="841.087" x="745.0"/>
            <end y="842.8261" x="785.0"/>
        </arc>
        <arc target="glyph29" source="glyph37" id="arc3" class="equivalence arc">
            <start y="820.0" x="1229.0"/>
            <end y="820.0" x="1321.0"/>
        </arc>
        <arc target="glyph32" source="glyph28" id="arc4" class="logic arc">
            <start y="740.0" x="1229.0"/>
            <end y="740.0" x="1321.0"/>
        </arc>
        <arc target="glyph61" source="glyph22" id="arc5" class="modulation">
            <start y="290.0" x="1235.0"/>
            <end y="290.0" x="1363.0"/>
        </arc>
        <arc target="glyph57" source="glyph21" id="arc6" class="stimulation">
            <start y="380.0" x="1235.0"/>
            <end y="380.0" x="1363.0"/>
        </arc>
        <arc target="glyph53" source="glyph23" id="arc7" class="catalysis">
            <start y="470.0" x="1235.0"/>
            <end y="470.0" x="1363.0"/>
        </arc>
        <arc target="glyph50" source="glyph25" id="arc8" class="inhibition">
            <start y="560.0" x="1235.0"/>
            <end y="560.0" x="1363.0"/>
        </arc>
        <arc target="glyph59" source="glyph24" id="arc9" class="necessary stimulation">
            <start y="650.0" x="1235.0"/>
            <end y="650.0" x="1363.0"/>
        </arc>
        <arc target="glyph31" source="glyph51.2" id="arc10" class="production">
            <glyph id="glyph72" class="cardinality">
                <label text="N"/>
                <bbox y="180.0" x="1251.0" h="18.5" w="24.5"/>
            </glyph>
            <start y="200.0" x="1199.0"/>
            <end y="200.0" x="1321.0"/>
        </arc>
        <arc target="glyph52.1" source="glyph34" id="arc11" class="consumption">
            <glyph id="glyph73" class="cardinality">
                <label text="N"/>
                <bbox y="101.0" x="1259.0" h="18.5" w="24.5"/>
            </glyph>
            <start y="120.0" x="1229.0"/>
            <end y="120.0" x="1351.0"/>
        </arc>
    </map>
</sbgn>
			
../test-files/PD/activated_stat1alpha_induction_of_the_irf1_gene.png
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
    <map version="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.3" id="map1">
        <glyph id="glyph8" class="source and sink">
            <bbox y="600.0" x="310.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph6" class="process">
            <bbox y="620.0" x="420.0" h="20.0" w="20.0"/>
            <port id="glyph6.1" y="630.0" x="410.0"/>
            <port id="glyph6.2" y="630.0" x="450.0"/>
        </glyph>
        <glyph id="glyph3" class="nucleic acid feature">
            <label text="IRF1"/>
            <bbox y="600.0" x="500.0" h="60.0" w="120.0"/>
            <glyph id="glyph3a" class="unit of information">
                <label text="ct:mRNA"/>
                <bbox y="591.0" x="528.5" h="18.0" w="63.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph7" class="source and sink">
            <bbox y="720.0" x="440.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph5" class="process">
            <bbox y="740.0" x="550.0" h="20.0" w="20.0"/>
            <port id="glyph5.1" y="750.0" x="540.0"/>
            <port id="glyph5.2" y="750.0" x="580.0"/>
        </glyph>
        <glyph id="glyph15" class="macromolecule">
            <label text="IRF1"/>
            <bbox y="720.0" x="620.0" h="60.0" w="120.0"/>
            <glyph id="glyph15a" class="unit of information">
                <label text="mt:prot"/>
                <bbox y="711.0" x="653.5" h="18.0" w="53.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph14" class="nucleic acid feature">
            <label text="IRF1"/>
            <bbox y="410.0" x="490.0" h="60.0" w="120.0"/>
            <glyph id="glyph14a" class="unit of information">
                <label text="ct:gene"/>
                <bbox y="401.0" x="522.5" h="18.0" w="55.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph13" class="complex">
            <bbox y="300.0" x="100.0" h="270.0" w="220.0"/>
            <glyph id="glyph11" class="complex">
                <bbox y="325.0" x="120.0" h="140.0" w="180.0"/>
                <glyph id="glyph10" class="macromolecule">
                    <label text="STAT1α"/>
                    <bbox y="365.0" x="140.0" h="60.0" w="140.0"/>
                    <glyph id="glyph10a" class="unit of information">
                        <label text="mt:prot"/>
                        <bbox y="356.0" x="183.5" h="18.0" w="53.0"/>
                    </glyph>
                    <glyph id="glyph10b" class="state variable">
                        <state variable="Y701" value="P"/>
                        <bbox y="411.0" x="140.5" h="28.0" w="69.0"/>
                    </glyph>
                    <glyph id="glyph10c" class="state variable">
                        <state variable="Y727" value="P"/>
                        <bbox y="411.0" x="210.5" h="28.0" w="69.0"/>
                    </glyph>
                </glyph>
            </glyph>
            <glyph id="glyph12" class="nucleic acid feature">
                <label text="IRF1-GAS"/>
                <bbox y="490.0" x="150.0" h="60.0" w="120.0"/>
                <glyph id="glyph12a" class="unit of information">
                    <label text="ct:grr"/>
                    <bbox y="481.0" x="189.0" h="18.0" w="42.0"/>
                </glyph>
            </glyph>
        </glyph>
        <glyph id="glyph4" orientation="vertical" class="and">
            <bbox y="500.0" x="410.0" h="40.0" w="40.0"/>
            <port id="glyph4.2" y="560.0" x="430.0"/>
            <port id="glyph4.1" y="480.0" x="430.0"/>
        </glyph>
        <glyph id="glyph0" class="complex">
            <bbox y="40.0" x="40.0" h="140.0" w="180.0"/>
            <glyph id="glyph1" class="macromolecule">
                <label text="STAT1α"/>
                <bbox y="80.0" x="60.0" h="60.0" w="140.0"/>
                <glyph id="glyph1a" class="unit of information">
                    <label text="mt:prot"/>
                    <bbox y="71.0" x="68.5" h="18.0" w="53.0"/>
                </glyph>
                <glyph id="glyph1b" class="state variable">
                    <state variable="Y701" value="P"/>
                    <bbox y="126.0" x="60.5" h="28.0" w="69.0"/>
                </glyph>
                <glyph id="glyph1c" class="state variable">
                    <state variable="Y727" value="P"/>
                    <bbox y="126.0" x="130.5" h="28.0" w="69.0"/>
                </glyph>
            </glyph>
        </glyph>
        <glyph id="glyph2" class="nucleic acid feature">
            <label text="IRF1-GAS"/>
            <bbox y="80.0" x="270.0" h="60.0" w="120.0"/>
            <glyph id="glyph2a" class="unit of information">
                <label text="ct:grr"/>
                <bbox y="71.0" x="279.0" h="18.0" w="42.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph9" orientation="vertical" class="association">
            <bbox y="220.0" x="200.0" h="20.0" w="20.0"/>
            <port id="glyph9.2" y="250.0" x="210.0"/>
            <port id="glyph9.1" y="210.0" x="210.0"/>
        </glyph>
        <arc target="glyph6" source="glyph4.2" class="necessary stimulation" id="a01">
            <start y="560.0" x="430.0"/>
            <end y="620.0" x="430.0"/>
        </arc>
        <arc target="glyph5" source="glyph3" class="necessary stimulation" id="a02">
            <start y="660.0" x="560.0"/>
            <end y="740.0" x="560.0"/>
        </arc>
        <arc target="glyph6.1" source="glyph8" class="consumption" id="a03">
            <start y="630.0" x="370.0"/>
            <end y="630.0" x="410.0"/>
        </arc>
        <arc target="glyph3" source="glyph6.2" class="production" id="a04">
            <start y="630.0" x="450.0"/>
            <end y="630.0" x="500.0"/>
        </arc>
        <arc target="glyph5.1" source="glyph7" class="consumption" id="a05">
            <start y="750.0" x="500.0"/>
            <end y="750.0" x="540.0"/>
        </arc>
        <arc target="glyph15" source="glyph5.2" class="production" id="a06">
            <start y="750.0" x="580.0"/>
            <end y="750.0" x="620.0"/>
        </arc>
        <arc target="glyph13" source="glyph9.2" class="production" id="a07">
            <start y="250.0" x="210.0"/>
            <end y="300.0" x="210.0"/>
        </arc>
        <arc target="glyph4.1" source="glyph14" class="logic arc" id="a08">
            <start y="460.0" x="490.0"/>
            <end y="480.0" x="430.0"/>
        </arc>
        <arc target="glyph4.1" source="glyph13" class="logic arc" id="a09">
            <start y="457.5" x="320.0"/>
            <end y="480.0" x="430.0"/>
        </arc>
        <arc target="glyph9.1" source="glyph0" class="consumption" id="a10">
            <start y="180.0" x="186.0"/>
            <end y="210.0" x="210.0"/>
        </arc>
        <arc target="glyph9.1" source="glyph2" class="consumption" id="a11">
            <start y="140.0" x="294.0"/>
            <end y="210.0" x="210.0"/>
        </arc>
    </map>
</sbgn>
			
../test-files/PD/adh.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
  <map version="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.3" id="map1">
	<bbox x="0" y="0" w="363" h="253"/>
	<glyph class="simple chemical" id="glyph1">
		<label text="Ethanol"/> <!-- fontsize="" etc -->
		<!-- Line breaks are allowed in the text attribute -->
		<bbox x="40" y="120" w="60" h="60"/>
	</glyph>
	<glyph class="simple chemical" id="glyph_ethanal">
		<label text="Ethanal" />
		<bbox x="220" y="110" w="60" h="60"/>
	</glyph>
	<glyph class="macromolecule" id="glyph_adh1">
		<label text="ADH1" />
		<bbox x="106" y="20" w="108" h="60"/>
	</glyph>
	<glyph class="simple chemical" id="glyph_h">
		<label text="H+" />
		<bbox x="220" y="190" w="60" h="60"/>
	</glyph>
	<glyph class="simple chemical" id="glyph_nad">
		<label text="NAD+" />
		<bbox x="40" y="190" w="60" h="60"/>
	</glyph>
	<glyph class="simple chemical" id="glyph_nadh">
		<label text="NADH" />
		<bbox x="300" y="150" w="60" h="60"/>
	</glyph>
	
	<glyph class="process" orientation="horizontal" id="pn1">
		<bbox x="148" y="168" w="24" h="24"/>
		<port x="136" y="180" id="pn1.1"/>
		<port x="184" y="180" id="pn1.2"/>
	</glyph>

	<arc class="consumption" source="glyph1" target="pn1.1" id="a01">
		<start x="98" y="160" />
		<end x="136" y="180" />
	</arc>
	
	<arc class="production" source="pn1.2" target="glyph_nadh" id="a02">
		<start x="184" y="180" />			
		<end x="300" y="180" />
	</arc>
	
	<arc class="catalysis" source="glyph_adh1" target="pn1" id="a03">
		<start x="160" y="80" />
		<end x="160" y="168" />		
	</arc>

	<arc class="production" source="pn1.2" target="glyph_h" id="a04">
		<start x="184" y="180" />			
		<end x="224" y="202" />
	</arc>
	<arc class="production" source="pn1.2" target="glyph_ethanal" id="a05">
		<start x="184" y="180" />			
		<end x="224" y="154" />
	</arc>
	<arc class="consumption" source="glyph_nad" target="pn1.1" id="a06">
		<start x="95" y="202" />
		<end x="136" y="180" />			
	</arc>
  </map>
</sbgn>
			
../test-files/PD/and.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
  <map version="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.3" id="map1">
    <glyph class="nucleic acid feature" id="glyph0">
        <label text="IRF1"/>
        <bbox x="440" y="330" w="120" h="60"/>
        <glyph class="unit of information" id="glyph0a">
            <label text="ct:mRNA"/>
            <bbox x="468" y="321" w="63" h="18"/>
        </glyph>
    </glyph>
	
    <glyph class="and" id="glyph1" orientation="vertical">
        <bbox x="350" y="230" w="40" h="40"/>
		<port x="370" y="210" id="glyph1.1"/>
		<port x="370" y="290" id="glyph1.2"/>
    </glyph>
	
    <glyph class="process" id="glyph2" orientation="vertical">
        <bbox x="360" y="350" w="20" h="20"/>
        <port x="350" y="360" id="glyph2.1"/>
        <port x="390" y="360" id="glyph2.2"/>
    </glyph>
	
    <glyph class="source and sink" id="glyph3">
        <bbox x="250" y="330" w="60" h="60"/>
    </glyph>
	
	
    <glyph class="complex" id="glyph7">
        <bbox x="40" y="30" w="220" h="270"/>
		
		<glyph class="complex" id="glyph5">
			<bbox x="60" y="55" w="180" h="140"/>
							
			<glyph class="macromolecule" id="glyph4">
				<label text="STAT1α"/>
				<bbox x="80" y="95" w="140" h="60"/>
				<glyph class="unit of information" id="glyph4a">
					<label text="mt:prot"/>
					<bbox x="123" y="86" w="53" h="18"/>
				</glyph>
				<glyph class="state variable" id="glyph4b">
					<state value="P" variable="Y701"/>
					<bbox x="80" y="141" w="69" h="28"/>
				</glyph>
				<glyph class="state variable" id="glyph4c">
					<state value="P" variable="Y727"/>
					<bbox x="150" y="141" w="69" h="28"/>
				</glyph>
			</glyph>
			
		</glyph>
		
		<glyph class="nucleic acid feature" id="glyph6">
			<label text="IRF1-GAS"/>
			<bbox x="90" y="220" w="120" h="60"/>
			<glyph class="unit of information" id="glyph6a">
				<label text="ct:grr"/>
				<bbox x="129" y="211" w="42" h="18"/>
			</glyph>
		</glyph>
		
    </glyph>
	
    <glyph class="nucleic acid feature" id="glyph8">
        <label text="IRF1"/>
        <bbox x="430" y="140" w="120" h="60"/>
        <glyph class="unit of information" id="glyph8a">
            <label text="ct:gene"/>
            <bbox x="462" y="131" w="55" h="18"/>
        </glyph>
    </glyph>
	
    <arc class="necessary stimulation" source="glyph1.2" target="glyph2" id="a01">
        <start x="370" y="290" />
        <end x="370" y="350" />
    </arc>
	
    <arc class="consumption" source="glyph3" target="glyph2.1" id="a02">
        <start x="310" y="360" />
        <end x="350" y="360" />
    </arc>
	
    <arc class="production" source="glyph2.2" target="glyph0" id="a03">
        <start x="390" y="360" />
        <end x="440" y="360" />
    </arc>
	
    <arc class="logic arc" source="glyph8" target="glyph1.1" id="a04">
        <start x="430" y="189" />
        <end x="370" y="210" />
    </arc>
	
    <arc class="logic arc" source="glyph7" target="glyph1.1" id="a05">
        <start x="260" y="188" />
        <end x="370" y="210" />
    </arc>
  </map>
</sbgn>
			
../test-files/PD/annotation.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
  <map version="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.3" id="map1">
    <glyph id="g1" class="macromolecule">
	  <label text="LABEL"/>
	  <bbox x="90" y="160" w="380" h="210"/>
	</glyph>
	<glyph id="g2" class="annotation">
	  <callout target="g1">
	    <point x="160" y="200"/>
	  </callout>
	  <bbox x="5" y="5" w="220" h="125"/>
	</glyph>
  </map>
</sbgn>
			
../test-files/PD/bool-expr-pd.png
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
    <map version="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.3" id="map1">
        <glyph id="glyph1" class="macromolecule">
            <label text="B"/>
            <bbox y="140.0" x="286.0" h="60.0" w="108.0"/>
        </glyph>
        <glyph id="glyph0" class="macromolecule">
            <label text="C"/>
            <bbox y="90.0" x="446.0" h="60.0" w="108.0"/>
        </glyph>
        <glyph id="glyph2" class="macromolecule">
            <label text="D"/>
            <bbox y="90.0" x="636.0" h="60.0" w="108.0"/>
        </glyph>
        <glyph id="glyph5" class="simple chemical">
            <label text="I"/>
            <bbox y="490.0" x="250.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph4" class="simple chemical">
            <label text="II"/>
            <bbox y="490.0" x="460.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph9" class="process">
            <label text=""/>
            <bbox y="508.0" x="368.0" h="24.0" w="24.0"/>
            <port y="520.0" x="356.0" id="glyph9.1"/>
            <port y="520.0" x="404.0" id="glyph9.2"/>
        </glyph>
        <glyph id="glyph3" class="macromolecule">
            <label text="A"/>
            <bbox y="260.0" x="156.0" h="60.0" w="108.0"/>
        </glyph>
        <glyph id="glyph6" class="not">
            <label text="NOT"/>
            <bbox y="249.0" x="319.0" h="42.0" w="42.0"/>
            <port y="228.0" x="340.0" id="glyph6.1"/>
            <port y="312.0" x="340.0" id="glyph6.2"/>
        </glyph>
        <glyph id="glyph7" class="and">
            <label text="AND"/>
            <bbox y="239.0" x="549.0" h="42.0" w="42.0"/>
            <port y="218.0" x="570.0" id="glyph7.1"/>
            <port y="302.0" x="570.0" id="glyph7.2"/>
        </glyph>
        <glyph id="glyph8" class="or">
            <label text="OR"/>
            <bbox y="419.0" x="359.0" h="42.0" w="42.0"/>
            <port y="482.0" x="380.0" id="glyph8.2"/>
            <port y="398.0" x="380.0" id="glyph8.1"/>
        </glyph>
        <arc target="glyph6.1" source="glyph1" id="arc000000" class="logic arc">
            <start y="200.0" x="340.0"/>
            <end y="228.0" x="340.0"/>
        </arc>
        <arc target="glyph7.1" source="glyph0" id="arc000001" class="logic arc">
            <start y="150.0" x="521.4286"/>
            <end y="218.0" x="570.0"/>
        </arc>
        <arc target="glyph7.1" source="glyph2" id="arc000002" class="logic arc">
            <start y="150.0" x="653.2653"/>
            <end y="218.0" x="570.0"/>
        </arc>
        <arc target="glyph9.1" source="glyph5" id="arc000003" class="consumption">
            <start y="520.0" x="310.0"/>
            <end y="520.0" x="356.0"/>
        </arc>
        <arc target="glyph4" source="glyph9.2" id="arc000004" class="production">
            <start y="520.0" x="404.0"/>
            <end y="520.0" x="460.0"/>
        </arc>
        <arc target="glyph9" source="glyph8.2" id="arc000005" class="stimulation">
            <start y="482.0" x="380.0"/>
            <end y="508.0" x="380.0"/>
        </arc>
        <arc target="glyph8.1" source="glyph3" id="arc000006" class="logic arc">
            <start y="320.0" x="257.22223"/>
            <end y="398.0" x="380.0"/>
        </arc>
        <arc target="glyph8.1" source="glyph6.2" id="arc000007" class="logic arc">
            <start y="312.0" x="340.0"/>
            <end y="398.0" x="380.0"/>
        </arc>
        <arc target="glyph8.1" source="glyph7.2" id="arc000008" class="logic arc">
            <start y="302.0" x="570.0"/>
            <end y="398.0" x="380.0"/>
        </arc>
    </map>
</sbgn>
			
../test-files/PD/clone-marker.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
  <map version="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.3" id="map1">
	<glyph class="simple chemical" id="glyph1">
		<label text="Glucose"/>
		<bbox x="20" y="110" w="60" h="60"/>
	</glyph>
	<glyph class="simple chemical" id="glyph2">
		<label text="ATP"/>
		<clone/>
		<bbox x="70" y="200" w="60" h="60"/>
	</glyph>
	<glyph class="simple chemical" id="glyph3">
		<label text="ADP"/>
		<clone/>
		<bbox x="200" y="200" w="60" h="60"/>
	</glyph>
	<glyph class="simple chemical" id="glyph4">
		<label text="Glucose
6P"/> <!-- contains line break -->
		<bbox x="250" y="110" w="60" h="60"/>
	</glyph>
	<glyph class="simple chemical" id="glyph5">
		<label text="Fructose
6P"/> <!-- contains line break -->
		<bbox x="450" y="110" w="60" h="60"/>
	</glyph>
	<glyph class="simple chemical" id="glyph6">
		<label text="ATP"/>
		<clone/>
		<bbox x="500" y="200" w="60" h="60"/>
	</glyph>
	<glyph class="simple chemical" id="glyph7">
		<label text="ADP"/>
		<clone/>
		<bbox x="630" y="200" w="60" h="60"/>
	</glyph>
	<glyph class="simple chemical" id="glyph8">
		<label text="Fructose
1,6P"/> <!-- contains line break -->
		<bbox x="660" y="110" w="60" h="60"/>
	</glyph>

	<glyph class="process" orientation="horizontal" id="glyph9">
		<bbox x="150" y="130" w="20" h="20"/>
		<port x="140" y="140" id="glyph9a"/>
		<port x="180" y="140" id="glyph9b"/>
	</glyph>
	<glyph class="process" orientation="horizontal" id="glyph10">
		<bbox x="360" y="130" w="20" h="20"/>
		<port x="350" y="140" id="glyph10a"/>
		<port x="390" y="140" id="glyph10b"/>
	</glyph>
	<glyph class="process" orientation="horizontal" id="glyph11">
		<bbox x="580" y="130" w="20" h="20"/>
		<port x="570" y="140" id="glyph11a"/>
		<port x="610" y="140" id="glyph11b"/>
	</glyph>

	<arc class="consumption" source="glyph1" target="glyph9a" id="a01">
		<start x="80" y="140" />
		<end x="140" y="140" />
	</arc>
	<arc class="consumption" source="glyph2" target="glyph9a" id="a02">
		<start x="110" y="201" />
		<end x="140" y="140" />			
	</arc>
	<arc class="consumption" source="glyph4" target="glyph10a" id="a03">
		<start x="310" y="140" />
		<end x="350" y="140" />			
	</arc>
	<arc class="consumption" source="glyph5" target="glyph11a" id="a04">
		<start x="510" y="140" />
		<end x="570" y="140" />			
	</arc>
	<arc class="consumption" source="glyph6" target="glyph11a" id="a05">
		<start x="540" y="201" />
		<end x="570" y="140" />			
	</arc>

	<arc class="production" source="glyph9b" target="glyph3" id="a06">
		<start x="180" y="140" />
		<end x="214" y="203" />			
	</arc>
	<arc class="production" source="glyph9b" target="glyph4" id="a07">
		<start x="180" y="140" />
		<end x="250" y="140" />			
	</arc>
	<arc class="production" source="glyph10b" target="glyph5" id="a08">
		<start x="390" y="140" />
		<end x="450" y="140" />			
	</arc>
	<arc class="production" source="glyph11b" target="glyph7" id="a09">
		<start x="610" y="140" />
		<end x="644" y="203" />			
	</arc>
	<arc class="production" source="glyph11b" target="glyph8" id="a10">
		<start x="610" y="140" />
		<end x="660" y="140" />			
	</arc>
  </map>
</sbgn>
			
../test-files/PD/compartmentOrder1.png
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
    <map version="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.3" id="map1">
        <glyph compartmentOrder="65538.0" id="d28f4" class="compartment">
            <label text="on top"/>
            <bbox y="30.0" x="21.5" h="71.0" w="118.0"/>
        </glyph>
        <glyph compartmentOrder="65537.0" id="e7e5f" class="compartment">
            <label text="in between"/>
            <bbox y="80.0" x="57.5" h="71.0" w="118.0"/>
        </glyph>
        <glyph compartmentOrder="65536.0" id="be96d" class="compartment">
            <label text="at the bottom"/>
            <bbox y="130" x="89.0" h="71.0" w="118.0"/>
        </glyph>
    </map>
</sbgn>
			
../test-files/PD/compartmentOrder2.png
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
    <map version="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.3" id="map1">
        <glyph compartmentOrder="-2.0" id="d28f4" class="compartment">
            <label text="at the bottom"/>
            <bbox y="30.0" x="21.5" h="71.0" w="118.0"/>
        </glyph>
        <glyph compartmentOrder="65537.0" id="e7e5f" class="compartment">
            <label text="in between"/>
            <bbox y="80.0" x="57.5" h="71.0" w="118.0"/>
        </glyph>
        <glyph compartmentOrder="65538.0" id="be96d" class="compartment">
            <label text="on top"/>
            <bbox y="130.0" x="89.0" h="71.0" w="118.0"/>
        </glyph>
    </map>
</sbgn>
			
../test-files/PD/compartments.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
  <map version="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.3" id="map1">
	<glyph class="compartment" id="glyph1">
		<label text="extracellular"/>
		<bbox x="90" y="70" w="440" h="140"/>
	</glyph>
	<glyph class="compartment" id="glyph8">
		<label text="cytosol"/>
		<bbox x="90" y="230" w="440" h="260"/>
	</glyph>
	
	<glyph class="complex" id="glyph2" compartmentRef="glyph1">
		<bbox x="360" y="150" w="140" h="160"/>
		<glyph class="macromolecule" id="glyph3">
			<label text="IGF"/>
			<bbox x="380" y="171" w="100" h="60"/>
		</glyph>
		<glyph class="macromolecule" id="glyph6">
			<label text="IGFR"/>
			<bbox x="380" y="232" w="100" h="60"/>
		</glyph>
	</glyph>
	
	<glyph class="macromolecule" id="glyph4" compartmentRef="glyph8">
		<label text="IGFR"/>
		<bbox x="120" y="250" w="100" h="60"/>
	</glyph>
	
	<glyph class="macromolecule" id="glyph5" compartmentRef="glyph1">
		<label text="IGF"/>
		<bbox x="170" y="130" w="100" h="60"/>
	</glyph>

	<glyph class="association" id="pn1">
		<bbox x="280" y="270" w="20" h="20"/>
		<port x="270" y="280" id="pn1.1"/>
		<port x="310" y="280" id="pn1.2"/>
	</glyph>
	
	<arc class="production" source="pn1.2" target="glyph2" id="a01">
		<start x="310" y="280" />			
		<end x="360" y="280" />
	</arc>
	<arc class="consumption" source="glyph4" target="pn1.1" id="a02">
		<start x="220" y="280" />
		<end x="270" y="280" />			
	</arc>
	<arc class="consumption" source="glyph5" target="pn1.1" id="a03">
		<start x="233" y="190" />
		<end x="270" y="280" />			
	</arc>
  </map>
</sbgn>
			
../test-files/PD/edgerouting.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
  <map version="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.3" id="map1">
	<glyph class="simple chemical" id="glyph1">
		<label text="Ethanol"/> <!-- fontsize="" etc -->
		<!-- Line breaks are allowed in the text attribute -->
		<bbox x="90" y="240" w="60" h="60"/>
	</glyph>
	
	<glyph class="simple chemical" id="glyph2">
		<label text="NADH" />
		<bbox x="290" y="150" w="60" h="60"/>
	</glyph>
	
	<glyph class="macromolecule" id="glyph3">
		<label text="ADH1" />
		<bbox x="196" y="80" w="108" h="60"/>
	</glyph>
	
	<glyph class="process" orientation="horizontal" id="pn1">
		<bbox x="148" y="168" w="24" h="24"/>
		<port x="136" y="180" id="pn1.1"/>
		<port x="184" y="180" id="pn1.2"/>
	</glyph>

	<arc class="consumption" source="glyph1" target="pn1.1" id="a01">
		<start x="90" y="270" />
		<next x="70" y="270"/>
		<next x="70" y="180"/>
		<end x="136" y="180" />
	</arc>

	<arc class="catalysis" source="glyph3" target="pn1" id="a02">
		<start x="250" y="80" />
		<next x="250" y="50"/>
		<next x="160" y="50"/>
		<end x="160" y="168" />		
	</arc>

	<arc class="production" source="pn1.2" target="glyph2" id="a03">
		<start x="184" y="180" />
		<next x="190" y="180"/>
		<next x="190" y="240"/>
		<next x="240" y="240"/>
		<next x="240" y="180"/>
		<end x="290" y="180" />
	</arc>
  </map>
</sbgn>
			
../test-files/PD/glycolysis.png
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
    <map version="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.3" id="map1">
        <glyph id="glyph9" class="macromolecule">
            <label text="hexokinase"/>
            <bbox y="40.0" x="170.0" h="60.0" w="120.0"/>
        </glyph>
        <glyph id="glyph0" class="simple chemical">
            <label text="glucose"/>
            <bbox y="140.0" x="90.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph6" class="simple chemical">
            <label text="ATP"/>
            <clone/>
            <bbox y="230.0" x="140.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph8" class="process">
            <bbox y="160.0" x="220.0" h="20.0" w="20.0"/>
            <port id="glyph8.1" y="170.0" x="210.0"/>
            <port id="glyph8.2" y="170.0" x="250.0"/>
        </glyph>
        <glyph id="glyph7" class="simple chemical">
            <label text="ADP"/>
            <clone/>
            <bbox y="230.0" x="270.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph12" class="simple chemical">
            <label text="ADP"/>
            <clone/>
            <bbox y="230.0" x="700.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph13" class="simple chemical">
            <label text="ATP"/>
            <clone/>
            <bbox y="230.0" x="570.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph1" class="simple chemical">
            <label text="glucose
6P"/>
            <bbox y="140.0" x="320.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph2" class="simple chemical">
            <label text="fructose
6P"/>
            <bbox y="140.0" x="520.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph15" class="macromolecule">
            <label text="triose-P
isomerase"/>
            <bbox y="140.0" x="1080.0" h="60.0" w="120.0"/>
        </glyph>
        <glyph id="glyph3" class="simple chemical">
            <label text="fructose
1,6P"/>
            <bbox y="140.0" x="730.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph17" class="macromolecule">
            <label text="glucose-6P
isomerase"/>
            <bbox y="40.0" x="380.0" h="60.0" w="120.0"/>
        </glyph>
        <glyph id="glyph10" class="process">
            <bbox y="160.0" x="430.0" h="20.0" w="20.0"/>
            <port id="glyph10.1" y="170.0" x="420.0"/>
            <port id="glyph10.2" y="170.0" x="460.0"/>
        </glyph>
        <glyph id="glyph19" class="macromolecule">
            <label text="phospho
fructokinase"/>
            <bbox y="40.0" x="600.0" h="60.0" w="120.0"/>
        </glyph>
        <glyph id="glyph11" class="process">
            <bbox y="160.0" x="650.0" h="20.0" w="20.0"/>
            <port id="glyph11.2" y="170.0" x="680.0"/>
            <port id="glyph11.1" y="170.0" x="640.0"/>
        </glyph>
        <glyph id="glyph18" class="macromolecule">
            <label text="adolase"/>
            <bbox y="40.0" x="820.0" h="60.0" w="120.0"/>
        </glyph>
        <glyph id="glyph16" class="process">
            <bbox y="160.0" x="870.0" h="20.0" w="20.0"/>
            <port id="glyph16.1" y="170.0" x="860.0"/>
            <port id="glyph16.2" y="170.0" x="900.0"/>
        </glyph>
        <glyph id="glyph22" class="macromolecule">
            <label text="GAPDH"/>
            <bbox y="350.0" x="1080.0" h="60.0" w="120.0"/>
        </glyph>
        <glyph id="glyph4" class="simple chemical">
            <label text="GA-3P"/>
            <bbox y="240.0" x="960.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph23" class="simple chemical">
            <label text="Pi"/>
            <bbox y="280.0" x="880.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph24" class="simple chemical">
            <label text="NAD"/>
            <bbox y="280.0" x="1050.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph25" class="simple chemical">
            <label text="H+"/>
            <bbox y="420.0" x="1050.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph20" orientation="vertical" class="process">
            <bbox y="370.0" x="980.0" h="20.0" w="20.0"/>
            <port id="glyph20.1" y="360.0" x="990.0"/>
            <port id="glyph20.2" y="400.0" x="990.0"/>
        </glyph>
        <glyph id="glyph26" class="simple chemical">
            <label text="NADH"/>
            <bbox y="490.0" x="1050.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph35" class="macromolecule">
            <label text="PGK1"/>
            <bbox y="540.0" x="820.0" h="60.0" w="120.0"/>
        </glyph>
        <glyph id="glyph36" class="macromolecule">
            <label text="PG mutase"/>
            <bbox y="540.0" x="580.0" h="60.0" w="120.0"/>
        </glyph>
        <glyph id="glyph37" class="macromolecule">
            <label text="enolase"/>
            <bbox y="540.0" x="350.0" h="60.0" w="120.0"/>
        </glyph>
        <glyph id="glyph38" class="macromolecule">
            <label text="pyruvate
kinase"/>
            <bbox y="540.0" x="100.0" h="60.0" w="120.0"/>
        </glyph>
        <glyph id="glyph21" class="simple chemical">
            <label text="1,3 BPG"/>
            <bbox y="460.0" x="960.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph42" class="simple chemical">
            <label text="ADP"/>
            <clone/>
            <bbox y="390.0" x="910.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph41" class="simple chemical">
            <label text="ATP"/>
            <clone/>
            <bbox y="390.0" x="780.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph31" class="process">
            <bbox y="480.0" x="870.0" h="20.0" w="20.0"/>
            <port id="glyph31.2" y="490.0" x="900.0"/>
            <port id="glyph31.1" y="490.0" x="860.0"/>
        </glyph>
        <glyph id="glyph27" class="simple chemical">
            <label text="3 PG"/>
            <bbox y="460.0" x="720.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph32" class="process">
            <bbox y="480.0" x="630.0" h="20.0" w="20.0"/>
            <port id="glyph32.2" y="490.0" x="660.0"/>
            <port id="glyph32.1" y="490.0" x="620.0"/>
        </glyph>
        <glyph id="glyph28" class="simple chemical">
            <label text="2 PG"/>
            <bbox y="460.0" x="490.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph43" class="simple chemical">
            <label text="H2O"/>
            <bbox y="390.0" x="320.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph33" class="process">
            <bbox y="480.0" x="400.0" h="20.0" w="20.0"/>
            <port id="glyph33.2" y="490.0" x="430.0"/>
            <port id="glyph33.1" y="490.0" x="390.0"/>
        </glyph>
        <glyph id="glyph29" class="simple chemical">
            <label text="PEP"/>
            <bbox y="460.0" x="270.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph39" class="simple chemical">
            <label text="ADP"/>
            <clone/>
            <bbox y="390.0" x="210.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph40" class="simple chemical">
            <label text="ATP"/>
            <clone/>
            <bbox y="390.0" x="60.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph34" class="process">
            <bbox y="480.0" x="150.0" h="20.0" w="20.0"/>
            <port id="glyph34.2" y="490.0" x="180.0"/>
            <port id="glyph34.1" y="490.0" x="140.0"/>
        </glyph>
        <glyph id="glyph30" class="simple chemical">
            <label text="pyruvate"/>
            <bbox y="460.0" x="30.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph14" orientation="vertical" class="process">
            <bbox y="160.0" x="980.0" h="20.0" w="20.0"/>
            <port id="glyph14.2" y="190.0" x="990.0"/>
            <port id="glyph14.1" y="150.0" x="990.0"/>
        </glyph>
        <glyph id="glyph5" class="simple chemical">
            <label text="DHA-P"/>
            <bbox y="40.0" x="960.0" h="60.0" w="60.0"/>
        </glyph>
        <arc target="glyph8" source="glyph9" class="catalysis" id="a01">
            <start y="100.0" x="230.0"/>
            <end y="160.0" x="230.0"/>
        </arc>
        <arc target="glyph8.1" source="glyph0" class="consumption" id="a02">
            <start y="170.0" x="150.0"/>
            <end y="170.0" x="210.0"/>
        </arc>
        <arc target="glyph1" source="glyph8.2" class="production" id="a03">
            <start y="170.0" x="250.0"/>
            <end y="170.0" x="320.0"/>
        </arc>
        <arc target="glyph8.1" source="glyph6" class="consumption" id="a04">
            <start y="232.58565" x="182.18416"/>
            <end y="170.0" x="210.0"/>
        </arc>
        <arc target="glyph7" source="glyph8.2" class="production" id="a05">
            <start y="170.0" x="250.0"/>
            <end y="236.31943" x="281.5818"/>
        </arc>
        <arc target="glyph12" source="glyph11.2" class="production" id="a06">
            <start y="170.0" x="680.0"/>
            <end y="236.31943" x="711.5818"/>
        </arc>
        <arc target="glyph11.1" source="glyph13" class="consumption" id="a07">
            <start y="232.58565" x="612.18414"/>
            <end y="170.0" x="640.0"/>
        </arc>
        <arc target="glyph10.1" source="glyph1" class="consumption" id="a08">
            <start y="170.0" x="380.0"/>
            <end y="170.0" x="420.0"/>
        </arc>
        <arc target="glyph2" source="glyph10.2" class="production" id="a09">
            <start y="170.0" x="460.0"/>
            <end y="170.0" x="520.0"/>
        </arc>
        <arc target="glyph11.1" source="glyph2" class="consumption" id="a10">
            <start y="170.0" x="580.0"/>
            <end y="170.0" x="640.0"/>
        </arc>
        <arc target="glyph3" source="glyph11.2" class="production" id="a11">
            <start y="170.0" x="680.0"/>
            <end y="170.0" x="730.0"/>
        </arc>
        <arc target="glyph4" source="glyph14.2" class="production" id="a12">
            <start y="190.0" x="990.0"/>
            <end y="240.0" x="990.0"/>
        </arc>
        <arc target="glyph14" source="glyph15" class="catalysis" id="a13">
            <start y="170.0" x="1080.0"/>
            <end y="170.0" x="1000.0"/>
        </arc>
        <arc target="glyph16.1" source="glyph3" class="consumption" id="a14">
            <start y="170.0" x="790.0"/>
            <end y="170.0" x="860.0"/>
        </arc>
        <arc target="glyph5" source="glyph16.2" class="production" id="a15">
            <start y="170.0" x="900.0"/>
            <end y="90.18018" x="967.8018"/>
        </arc>
        <arc target="glyph4" source="glyph16.2" class="production" id="a16">
            <start y="170.0" x="900.0"/>
            <end y="249.81981" x="967.8018"/>
        </arc>
        <arc target="glyph10" source="glyph17" class="catalysis" id="a17">
            <start y="100.0" x="440.0"/>
            <end y="160.0" x="440.0"/>
        </arc>
        <arc target="glyph11" source="glyph19" class="catalysis" id="a18">
            <start y="100.0" x="660.0"/>
            <end y="160.0" x="660.0"/>
        </arc>
        <arc target="glyph16" source="glyph18" class="catalysis" id="a19">
            <start y="100.0" x="880.0"/>
            <end y="160.0" x="880.0"/>
        </arc>
        <arc target="glyph20" source="glyph22" class="catalysis" id="a20">
            <start y="380.0" x="1080.0"/>
            <end y="380.0" x="1000.0"/>
        </arc>
        <arc target="glyph20.1" source="glyph4" class="consumption" id="a21">
            <start y="300.0" x="990.0"/>
            <end y="360.0" x="990.0"/>
        </arc>
        <arc target="glyph21" source="glyph20.2" class="production" id="a22">
            <start y="400.0" x="990.0"/>
            <end y="460.0" x="990.0"/>
        </arc>
        <arc target="glyph20.1" source="glyph23" class="consumption" id="a23">
            <start y="325.89996" x="935.43994"/>
            <end y="360.0" x="990.0"/>
        </arc>
        <arc target="glyph20.1" source="glyph24" class="consumption" id="a24">
            <start y="324.56927" x="1053.7753"/>
            <end y="360.0" x="990.0"/>
        </arc>
        <arc target="glyph25" source="glyph20.2" class="production" id="a25">
            <start y="400.0" x="990.0"/>
            <end y="431.5818" x="1056.3195"/>
        </arc>
        <arc target="glyph26" source="glyph20.2" class="production" id="a26">
            <start y="400.0" x="990.0"/>
            <end y="494.76465" x="1063.7772"/>
        </arc>
        <arc target="glyph31" source="glyph35" class="catalysis" id="a27">
            <start y="540.0" x="880.0"/>
            <end y="500.0" x="880.0"/>
        </arc>
        <arc target="glyph32" source="glyph36" class="catalysis" id="a28">
            <start y="540.0" x="640.0"/>
            <end y="500.0" x="640.0"/>
        </arc>
        <arc target="glyph33" source="glyph37" class="catalysis" id="a29">
            <start y="540.0" x="410.0"/>
            <end y="500.0" x="410.0"/>
        </arc>
        <arc target="glyph34" source="glyph38" class="catalysis" id="a30">
            <start y="540.0" x="160.0"/>
            <end y="500.0" x="160.0"/>
        </arc>
        <arc target="glyph31.2" source="glyph21" class="consumption" id="a31">
            <start y="490.0" x="960.0"/>
            <end y="490.0" x="900.0"/>
        </arc>
        <arc target="glyph31.2" source="glyph42" class="consumption" id="a32">
            <start y="446.0473" x="925.11584"/>
            <end y="490.0" x="900.0"/>
        </arc>
        <arc target="glyph41" source="glyph31.1" class="production" id="a33">
            <start y="490.0" x="860.0"/>
            <end y="441.2132" x="831.2132"/>
        </arc>
        <arc target="glyph27" source="glyph31.1" class="production" id="a34">
            <start y="490.0" x="860.0"/>
            <end y="490.0" x="780.0"/>
        </arc>
        <arc target="glyph32.2" source="glyph27" class="consumption" id="a35">
            <start y="490.0" x="720.0"/>
            <end y="490.0" x="660.0"/>
        </arc>
        <arc target="glyph28" source="glyph32.1" class="production" id="a36">
            <start y="490.0" x="620.0"/>
            <end y="490.0" x="550.0"/>
        </arc>
        <arc target="glyph33.2" source="glyph28" class="consumption" id="a37">
            <start y="490.0" x="490.0"/>
            <end y="490.0" x="430.0"/>
        </arc>
        <arc target="glyph43" source="glyph33.1" class="production" id="a38">
            <start y="490.0" x="390.0"/>
            <end y="442.7777" x="369.52374"/>
        </arc>
        <arc target="glyph29" source="glyph33.1" class="production" id="a39">
            <start y="490.0" x="390.0"/>
            <end y="490.0" x="330.0"/>
        </arc>
        <arc target="glyph34.2" source="glyph29" class="consumption" id="a40">
            <start y="490.0" x="270.0"/>
            <end y="490.0" x="180.0"/>
        </arc>
        <arc target="glyph34.2" source="glyph39" class="consumption" id="a41">
            <start y="442.7777" x="220.47626"/>
            <end y="490.0" x="180.0"/>
        </arc>
        <arc target="glyph40" source="glyph34.1" class="production" id="a42">
            <start y="490.0" x="140.0"/>
            <end y="441.2132" x="111.2132"/>
        </arc>
        <arc target="glyph30" source="glyph34.1" class="production" id="a43">
            <start y="490.0" x="140.0"/>
            <end y="490.0" x="90.0"/>
        </arc>
        <arc target="glyph5" source="glyph14.1" class="production" id="a44">
            <start y="150.0" x="990.0"/>
            <end y="100.0" x="990.0"/>
        </arc>
    </map>
</sbgn>
			
../test-files/PD/insulin-like_growth_factor_signaling.png
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
    <map version="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.3" id="map1">
        <glyph id="glyph1" class="compartment">
            <label text="cytosol">
                <bbox y="195.0" x="623.5" h="23.0" w="73.0"/>
            </label>
            <bbox y="180.0" x="40.0" h="1000.0" w="1240.0"/>
        </glyph>
        <glyph id="glyph40" class="compartment">
            <label text="extracellular">
                <bbox y="55.0" x="601.0" h="23.0" w="118.0"/>
            </label>
            <bbox y="40.0" x="40.0" h="120.0" w="1240.0"/>
        </glyph>
        <glyph id="glyph2" class="macromolecule" compartmentRef="glyph1">
            <label text="IGFR"/>
            <bbox y="200.0" x="70.0" h="60.0" w="100.0"/>
        </glyph>
        <glyph id="glyph0" class="macromolecule" compartmentRef="glyph40">
            <label text="IGF"/>
            <bbox y="80.0" x="120.0" h="60.0" w="100.0"/>
        </glyph>
        <glyph id="glyph6" class="association">
            <bbox y="220.0" x="230.0" h="20.0" w="20.0"/>
            <port id="glyph6.1" y="230.0" x="220.0"/>
            <port id="glyph6.2" y="230.0" x="260.0"/>
        </glyph>
        <glyph id="glyph5" class="complex" compartmentRef="glyph1">
            <bbox y="100.0" x="310.0" h="160.0" w="140.0"/>
            <glyph id="glyph3" class="macromolecule">
                <label text="IGF"/>
                <bbox y="121.0" x="330.0" h="60.0" w="100.0"/>
            </glyph>
            <glyph id="glyph4" class="macromolecule">
                <label text="IGFR"/>
                <bbox y="182.0" x="330.0" h="60.0" w="100.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph9" class="simple chemical" compartmentRef="glyph1">
            <label text="ATP"/>
            <clone/>
            <bbox y="290.0" x="270.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph10" class="simple chemical" compartmentRef="glyph1">
            <label text="ADP"/>
            <clone/>
            <bbox y="290.0" x="420.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph12" class="macromolecule" compartmentRef="glyph1">
            <label text="Grb2"/>
            <bbox y="510.0" x="590.0" h="60.0" w="100.0"/>
            <glyph id="glyph12a" class="state variable">
    			<state value="inactive"/>
                <bbox y="556.0" x="610.0" h="28.0" w="60.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph13" class="process">
            <bbox y="530.0" x="510.0" h="20.0" w="20.0"/>
            <port id="glyph13.2" y="540.0" x="540.0"/>
            <port id="glyph13.1" y="540.0" x="500.0"/>
        </glyph>
        <glyph id="glyph20" class="macromolecule" compartmentRef="glyph1">
            <label text="RAS"/>
            <bbox y="880.0" x="100.0" h="60.0" w="100.0"/>
            <glyph id="glyph20a" class="state variable">
    			<state value="inactive"/>
                <bbox y="926.0" x="120.0" h="28.0" w="60.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph18" class="complex" compartmentRef="glyph1">
            <bbox y="710.0" x="150.0" h="100.0" w="260.0"/>
            <glyph id="glyph16" class="macromolecule">
                <label text="SOS"/>
                <bbox y="730.0" x="169.0" h="60.0" w="100.0"/>
            </glyph>
            <glyph id="glyph17" class="macromolecule">
                <label text="Grb2"/>
                <bbox y="730.0" x="290.0" h="60.0" w="100.0"/>
                <glyph id="glyph17a" class="state variable">
        			<state value="active"/>
                    <bbox y="777.0" x="315.0" h="26.0" w="50.0"/>
                </glyph>
            </glyph>
        </glyph>
        <glyph id="glyph22" class="simple chemical" compartmentRef="glyph1">
            <label text="GTP"/>
            <bbox y="1000.0" x="170.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph19" class="process">
            <bbox y="900.0" x="270.0" h="20.0" w="20.0"/>
            <port id="glyph19.1" y="910.0" x="260.0"/>
            <port id="glyph19.2" y="910.0" x="300.0"/>
        </glyph>
        <glyph id="glyph23" class="simple chemical" compartmentRef="glyph1">
            <label text="GDP"/>
            <bbox y="1000.0" x="340.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph29" class="simple chemical" compartmentRef="glyph1">
            <label text="ADP"/>
            <clone/>
            <bbox y="630.0" x="940.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph28" class="simple chemical" compartmentRef="glyph1">
            <label text="ATP"/>
            <clone/>
            <bbox y="630.0" x="800.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph33" class="simple chemical" compartmentRef="glyph1">
            <label text="ADP"/>
            <clone/>
            <bbox y="860.0" x="1080.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph34" class="simple chemical" compartmentRef="glyph1">
            <label text="ATP"/>
            <clone/>
            <bbox y="860.0" x="950.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph30" class="macromolecule" compartmentRef="glyph1">
            <label text="RSK"/>
            <bbox y="730.0" x="1000.0" h="60.0" w="100.0"/>
            <glyph id="glyph30a" class="state variable">
    			<state value="P"/>
                <bbox y="749.0" x="1087.5" h="22.0" w="25.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph35" class="macromolecule" compartmentRef="glyph1">
            <label text="c-Fos"/>
            <bbox y="960.0" x="1150.0" h="60.0" w="100.0"/>
            <glyph id="glyph35a" class="state variable">
    			<state value="P"/>
                <bbox y="979.0" x="1237.5" h="22.0" w="25.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph36" class="phenotype">
            <label text="gene
transcription"/>
            <bbox y="1080.0" x="1130.0" h="60.0" w="140.0"/>
        </glyph>
        <glyph id="glyph7" class="macromolecule" compartmentRef="glyph1">
            <label text="IRS1-4"/>
            <bbox y="380.0" x="470.0" h="60.0" w="100.0"/>
            <glyph id="glyph7a" class="state variable">
    			<state value="P"/>
                <bbox y="399.0" x="557.5" h="22.0" w="25.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph31" class="macromolecule" compartmentRef="glyph1">
            <label text="ERK"/>
            <bbox y="880.0" x="820.0" h="60.0" w="100.0"/>
            <glyph id="glyph31a" class="state variable">
    			<state value="2P"/>
                <bbox y="929.0" x="829.0" h="22.0" w="32.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph21" class="macromolecule" compartmentRef="glyph1">
            <label text="RAS"/>
            <bbox y="880.0" x="370.0" h="60.0" w="100.0"/>
            <glyph id="glyph21a" class="state variable">
    			<state value="active"/>
                <bbox y="927.0" x="395.0" h="26.0" w="50.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph24" class="submap">
            <label text="MAPK
cascade"/>
            <bbox y="850.0" x="520.0" h="120.0" w="220.0"/>
			<glyph id="glyph41" class="terminal"  orientation="right">
				<label text="RAS"/>
				<bbox y="887.0" x="520.0" h="45.0" w="80.0"/>
			</glyph>
			<glyph id="glyph42" class="terminal"  orientation="left">
				<label text="ERK"/>
				<bbox y="887.0" x="660.0" h="45.0" w="80.0"/>
			</glyph>	
        </glyph>
        <glyph id="glyph37" class="macromolecule" compartmentRef="glyph1">
            <label text="c-Fos"/>
            <bbox y="960.0" x="850.0" h="60.0" w="100.0"/>
            <glyph id="glyph37a" class="state variable">
                <bbox y="979.0" x="940.0" h="22.0" w="20.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph32" class="process">
            <bbox y="980.0" x="1040.0" h="20.0" w="20.0"/>
            <port id="glyph32.2" y="990.0" x="1070.0"/>
            <port id="glyph32.1" y="990.0" x="1030.0"/>
        </glyph>
        <glyph id="glyph38" class="macromolecule" compartmentRef="glyph1">
            <label text="IRS1-4"/>
            <bbox y="380.0" x="190.0" h="60.0" w="100.0"/>
            <glyph id="glyph38a" class="state variable">
                <bbox y="399.0" x="280.0" h="22.0" w="20.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph8" class="process">
            <bbox y="400.0" x="370.0" h="20.0" w="20.0"/>
            <port id="glyph8.1" y="410.0" x="360.0"/>
            <port id="glyph8.2" y="410.0" x="400.0"/>
        </glyph>
        <glyph id="glyph39" class="macromolecule" compartmentRef="glyph1">
            <label text="RSK"/>
            <bbox y="730.0" x="700.0" h="60.0" w="100.0"/>
            <glyph id="glyph39a" class="state variable">
                <bbox y="749.0" x="790.0" h="22.0" w="20.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph27" class="process">
            <bbox y="750.0" x="890.0" h="20.0" w="20.0"/>
            <port id="glyph27.2" y="760.0" x="920.0"/>
            <port id="glyph27.1" y="760.0" x="880.0"/>
        </glyph>
        <glyph id="glyph14" class="macromolecule" compartmentRef="glyph1">
            <label text="SOS"/>
            <bbox y="510.0" x="120.0" h="60.0" w="100.0"/>
        </glyph>
        <glyph id="glyph11" class="macromolecule" compartmentRef="glyph1">
            <label text="Grb2"/>
            <bbox y="510.0" x="340.0" h="60.0" w="100.0"/>
            <glyph id="glyph11a" class="state variable">
    			<state value="active"/>
                <bbox y="557.0" x="365.0" h="26.0" w="50.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph15" orientation="vertical" class="association">
            <bbox y="640.0" x="270.0" h="20.0" w="20.0"/>
            <port id="glyph15.2" y="670.0" x="280.0"/>
            <port id="glyph15.1" y="630.0" x="280.0"/>
        </glyph>
        <arc target="glyph6.1" source="glyph2" class="consumption" id="a01">
            <start y="230.0" x="170.0"/>
            <end y="230.0" x="220.0"/>
        </arc>
        <arc target="glyph5" source="glyph6.2" class="production" id="a02">
            <start y="230.0" x="260.0"/>
            <end y="229.6" x="310.0"/>
        </arc>
        <arc target="glyph6.1" source="glyph0" class="consumption" id="a03">
            <start y="140.0" x="182.5"/>
            <end y="230.0" x="220.0"/>
        </arc>
        <arc target="glyph8" source="glyph5" class="catalysis" id="a04">
            <start y="260.0" x="380.0"/>
            <end y="400.0" x="380.0"/>
        </arc>
        <arc target="glyph8.1" source="glyph9" class="consumption" id="a05">
            <start y="344.96152" x="316.641"/>
            <end y="410.0" x="360.0"/>
        </arc>
        <arc target="glyph10" source="glyph8.2" class="production" id="a06">
            <start y="410.0" x="400.0"/>
            <end y="343.68057" x="431.5818"/>
        </arc>
        <arc target="glyph13" source="glyph7" class="stimulation" id="a07">
            <start y="440.0" x="520.0"/>
            <end y="530.0" x="520.0"/>
        </arc>
        <arc target="glyph13.2" source="glyph12" class="consumption" id="a08">
            <start y="540.0" x="590.0"/>
            <end y="540.0" x="540.0"/>
        </arc>
        <arc target="glyph11" source="glyph13.1" class="production" id="a09">
            <start y="540.0" x="500.0"/>
            <end y="540.0" x="440.0"/>
        </arc>
        <arc target="glyph18" source="glyph15.2" class="production" id="a10">
            <start y="670.0" x="280.0"/>
            <end y="710.0" x="280.0"/>
        </arc>
        <arc target="glyph19.1" source="glyph20" class="consumption" id="a11">
            <start y="910.0" x="200.0"/>
            <end y="910.0" x="260.0"/>
        </arc>
        <arc target="glyph21" source="glyph19.2" class="production" id="a12">
            <start y="910.0" x="300.0"/>
            <end y="910.0" x="370.0"/>
        </arc>
        <arc target="glyph19" source="glyph18" class="stimulation" id="a13">
            <start y="810.0" x="280.0"/>
            <end y="900.0" x="280.0"/>
        </arc>
        <arc target="glyph19.1" source="glyph22" class="consumption" id="a14">
            <start y="1003.1672" x="213.41641"/>
            <end y="910.0" x="260.0"/>
        </arc>
        <arc target="glyph23" source="glyph19.2" class="production" id="a15">
            <start y="910.0" x="300.0"/>
            <end y="1006.0" x="352.0"/>
        </arc>
        <arc target="glyph30" source="glyph27.2" class="production" id="a16">
            <start y="760.0" x="920.0"/>
            <end y="760.0" x="1000.0"/>
        </arc>
        <arc target="glyph29" source="glyph27.2" class="production" id="a17">
            <start y="760.0" x="920.0"/>
            <end y="684.57697" x="952.79614"/>
        </arc>
        <arc target="glyph27.1" source="glyph28" class="consumption" id="a18">
            <start y="686.8328" x="843.4164"/>
            <end y="760.0" x="880.0"/>
        </arc>
        <arc target="glyph27" source="glyph31" class="catalysis" id="a19">
            <start y="880.0" x="876.0"/>
            <end y="770.0" x="898.0"/>
        </arc>
        <arc target="glyph35" source="glyph32.2" class="production" id="a20">
            <start y="990.0" x="1070.0"/>
            <end y="990.0" x="1150.0"/>
        </arc>
        <arc target="glyph33" source="glyph32.2" class="production" id="a21">
            <start y="990.0" x="1070.0"/>
            <end y="915.7248" x="1094.5652"/>
        </arc>
        <arc target="glyph32.1" source="glyph34" class="consumption" id="a22">
            <start y="916.8328" x="993.4164"/>
            <end y="990.0" x="1030.0"/>
        </arc>
        <arc target="glyph32" source="glyph30" class="catalysis" id="a23">
            <start y="790.0" x="1050.0"/>
            <end y="980.0" x="1050.0"/>
        </arc>
        <arc target="glyph36" source="glyph35" class="stimulation" id="a24">
            <start y="1020.0" x="1200.0"/>
            <end y="1080.0" x="1200.0"/>
        </arc>
        <arc target="glyph7" source="glyph8.2" class="production" id="a25">
            <start y="410.0" x="400.0"/>
            <end y="410.0" x="470.0"/>
        </arc>
        <arc target="glyph42" source="glyph31" class="equivalence arc" id="a26">
            <start y="910.0" x="820.0"/>
            <end y="910.0" x="740.0"/>
        </arc>
        <arc target="glyph41" source="glyph21" class="equivalence arc" id="a27">
            <start y="910.0" x="470.0"/>
            <end y="910.0" x="520.0"/>
        </arc>
        <arc target="glyph32.1" source="glyph37" class="consumption" id="a28">
            <start y="990.0" x="957.0"/>
            <end y="990.0" x="1030.0"/>
        </arc>
        <arc target="glyph8.1" source="glyph38" class="consumption" id="a29">
            <start y="410.0" x="297.0"/>
            <end y="410.0" x="360.0"/>
        </arc>
        <arc target="glyph27.1" source="glyph39" class="consumption" id="a30">
            <start y="760.0" x="807.0"/>
            <end y="760.0" x="880.0"/>
        </arc>
        <arc target="glyph15.1" source="glyph14" class="consumption" id="a31">
            <start y="570.0" x="206.66667"/>
            <end y="630.0" x="280.0"/>
        </arc>
        <arc target="glyph15.1" source="glyph11" class="consumption" id="a32">
            <start y="570.0" x="353.33334"/>
            <end y="630.0" x="280.0"/>
        </arc>
    </map>
</sbgn>
			
../test-files/PD/labeledCloneMarker.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
<map version="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.3" id="map1">

<glyph class="macromolecule" id="glyph1">
	<label text="LABEL"/>
	<clone>
		<label text="marker">
			<bbox x="0" y="100" w="210" h="40"/>
		</label>
	</clone>
	<bbox x="0" y="20" w="210" h="120"/>
	<glyph class="unit of information" id="glyph10">
		<label text="INFO"/>
		<bbox x="20" y="0" w="60" h="40"/>
	</glyph>
	<glyph class="state variable" id="glyph11">
		<state value="var" variable="val"/>
		<bbox x="100" y="0" w="60" h="40"/>
	</glyph>
</glyph>

<glyph class="nucleic acid feature" id="glyph2">
	<label text="LABEL"/>
	<clone>
		<label text="marker">
			<bbox x="220" y="100" w="210" h="40"/>
		</label> 
	</clone>
	<bbox x="220" y="20" w="210" h="120"/>
	<glyph class="unit of information" id="glyph12">
		<label text="INFO"/>
		<bbox x="240" y="0" w="60" h="40"/>
	</glyph>
	<glyph class="state variable" id="glyph13">
		<state value="var" variable="val"/>
		<bbox x="320" y="0" w="60" h="40"/>
	</glyph>
</glyph>

<glyph class="macromolecule multimer" id="glyph3">
	<label text="LABEL"/>
	<clone>
		<label text="marker">
			<bbox x="440" y="100" w="210" h="40"/>
		</label> 
	</clone>
	<bbox x="440" y="20" w="210" h="120"/>
	<glyph class="unit of information" id="glyph14">
		<label text="N:5"/>
		<bbox x="460" y="0" w="60" h="40"/>
	</glyph>
	<glyph class="state variable" id="glyph15">
		<state value="var" variable="val"/>
		<bbox x="540" y="0" w="60" h="40"/>
	</glyph>
</glyph>

</map>
</sbgn>
			
../test-files/PD/mapk_cascade.png
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
    <map version="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.3" id="map1">
        <glyph id="glyph4" class="simple chemical">
            <label text="ATP"/>
            <clone/>
            <bbox y="260.0" x="270.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph5" class="simple chemical">
            <label text="ADP"/>
            <clone/>
            <bbox y="260.0" x="430.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph7" class="simple chemical">
            <label text="ATP"/>
            <clone/>
            <bbox y="500.0" x="120.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph6" class="simple chemical">
            <label text="ADP"/>
            <clone/>
            <bbox y="500.0" x="280.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph10" class="simple chemical">
            <label text="ATP"/>
            <clone/>
            <bbox y="500.0" x="440.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph9" class="simple chemical">
            <label text="ADP"/>
            <clone/>
            <bbox y="500.0" x="600.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph2" class="macromolecule">
            <label text="RAF"/>
            <bbox y="140.0" x="480.0" h="60.0" w="100.0"/>
            <glyph id="glyph2a" class="state variable">
    			<state value="P"/>
                <bbox y="189.0" x="517.5" h="22.0" w="25.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph18" class="simple chemical">
            <label text="ADP"/>
            <clone/>
            <bbox y="750.0" x="560.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph16" class="simple chemical">
            <label text="ADP"/>
            <clone/>
            <bbox y="750.0" x="280.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph15" class="simple chemical">
            <label text="ATP"/>
            <clone/>
            <bbox y="750.0" x="120.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph17" class="simple chemical">
            <label text="ATP"/>
            <clone/>
            <bbox y="750.0" x="400.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph12" class="macromolecule">
            <label text="MEK"/>
            <bbox y="380.0" x="650.0" h="60.0" w="100.0"/>
            <glyph id="glyph12a" class="state variable">
    			<state value="2P"/>
                <bbox y="429.0" x="684.0" h="22.0" w="32.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph19" class="macromolecule">
            <label text="ERK"/>
            <bbox y="630.0" x="590.0" h="60.0" w="100.0"/>
            <glyph id="glyph19a" class="state variable">
    			<state value="2P"/>
                <bbox y="679.0" x="599.0" h="22.0" w="32.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph20" orientation="left" class="tag">
            <label text="ERK"/>
            <bbox y="630.0" x="760.0" h="60.0" w="100.0"/>
        </glyph>
        <glyph id="glyph1" class="macromolecule">
            <label text="RAS"/>
            <bbox y="30.0" x="330.0" h="60.0" w="100.0"/>
            <glyph id="glyph1a" class="state variable">
    			<state value="active"/>
                <bbox y="77.0" x="355.0" h="26.0" w="50.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph0" orientation="right" class="tag">
            <label text="RAS"/>
            <bbox y="30.0" x="160.0" h="60.0" w="100.0"/>
        </glyph>
        <glyph id="glyph24" class="macromolecule">
            <label text="MEK"/>
            <bbox y="380.0" x="310.0" h="60.0" w="100.0"/>
            <glyph id="glyph24a" class="state variable">
    			<state value="P"/>
                <bbox y="429.0" x="322.5" h="22.0" w="25.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph11" class="process">
            <bbox y="400.0" x="540.0" h="20.0" w="20.0"/>
            <port id="glyph11.1" y="410.0" x="530.0"/>
            <port id="glyph11.2" y="410.0" x="570.0"/>
        </glyph>
        <glyph id="glyph25" class="macromolecule">
            <label text="RAF"/>
            <bbox y="140.0" x="180.0" h="60.0" w="100.0"/>
            <glyph id="glyph25a" class="state variable">
                <bbox y="189.0" x="220.0" h="22.0" w="20.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph3" class="process">
            <bbox y="160.0" x="370.0" h="20.0" w="20.0"/>
            <port id="glyph3.2" y="170.0" x="400.0"/>
            <port id="glyph3.1" y="170.0" x="360.0"/>
        </glyph>
        <glyph id="glyph23" class="macromolecule">
            <label text="MEK"/>
            <bbox y="380.0" x="30.0" h="60.0" w="100.0"/>
            <glyph id="glyph23a" class="state variable">
                <bbox y="429.0" x="45.0" h="22.0" w="20.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph8" class="process">
            <bbox y="400.0" x="220.0" h="20.0" w="20.0"/>
            <port id="glyph8.1" y="410.0" x="210.0"/>
            <port id="glyph8.2" y="410.0" x="250.0"/>
        </glyph>
        <glyph id="glyph22" class="macromolecule">
            <label text="ERK"/>
            <bbox y="630.0" x="30.0" h="60.0" w="100.0"/>
            <glyph id="glyph22a" class="state variable">
                <bbox y="679.0" x="45.0" h="22.0" w="20.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph13" class="process">
            <bbox y="650.0" x="500.0" h="20.0" w="20.0"/>
            <port id="glyph13.2" y="660.0" x="530.0"/>
            <port id="glyph13.1" y="660.0" x="490.0"/>
        </glyph>
        <glyph id="glyph14" class="process">
            <bbox y="650.0" x="220.0" h="20.0" w="20.0"/>
            <port id="glyph14.2" y="660.0" x="250.0"/>
            <port id="glyph14.1" y="660.0" x="210.0"/>
        </glyph>
        <glyph id="glyph21" class="macromolecule">
            <label text="ERK"/>
            <bbox y="630.0" x="310.0" h="60.0" w="100.0"/>
            <glyph id="glyph21a" class="state variable">
    			<state value="P"/>
                <bbox y="679.0" x="322.5" h="22.0" w="25.0"/>
            </glyph>
        </glyph>
        <arc target="glyph2" source="glyph3.2" class="production" id="a01">
            <start y="170.0" x="400.0"/>
            <end y="170.0" x="480.0"/>
        </arc>
        <arc target="glyph3.1" source="glyph4" class="consumption" id="a02">
            <start y="263.16718" x="313.4164"/>
            <end y="170.0" x="360.0"/>
        </arc>
        <arc target="glyph5" source="glyph3.2" class="production" id="a03">
            <start y="170.0" x="400.0"/>
            <end y="265.03848" x="443.359"/>
        </arc>
        <arc target="glyph3" source="glyph1" class="catalysis" id="a04">
            <start y="102.0" x="380.0"/>
            <end y="160.0" x="380.0"/>
        </arc>
        <arc target="glyph8.1" source="glyph7" class="consumption" id="a05">
            <start y="503.16718" x="163.41641"/>
            <end y="410.0" x="210.0"/>
        </arc>
        <arc target="glyph6" source="glyph8.2" class="production" id="a06">
            <start y="410.0" x="250.0"/>
            <end y="505.03848" x="293.359"/>
        </arc>
        <arc target="glyph11.1" source="glyph10" class="consumption" id="a07">
            <start y="503.16718" x="483.4164"/>
            <end y="410.0" x="530.0"/>
        </arc>
        <arc target="glyph12" source="glyph11.2" class="production" id="a08">
            <start y="410.0" x="570.0"/>
            <end y="410.0" x="650.0"/>
        </arc>
        <arc target="glyph9" source="glyph11.2" class="production" id="a09">
            <start y="410.0" x="570.0"/>
            <end y="505.03848" x="613.359"/>
        </arc>
        <arc target="glyph11" source="glyph2" class="catalysis" id="a10">
            <start y="200.0" x="550.0"/>
            <end y="400.0" x="549.1667"/>
        </arc>
        <arc target="glyph8" source="glyph2" class="catalysis" id="a11">
            <start y="200.0" x="510.0"/>
            <next y="360.0" x="510.0"/>
            <next y="360.0" x="230.0"/>
            <end y="400.0" x="230.0"/>
        </arc>
        <arc target="glyph19" source="glyph13.2" class="production" id="a12">
            <start y="660.0" x="530.0"/>
            <end y="660.0" x="590.0"/>
        </arc>
        <arc target="glyph18" source="glyph13.2" class="production" id="a13">
            <start y="660.0" x="530.0"/>
            <end y="755.0385" x="573.359"/>
        </arc>
        <arc target="glyph16" source="glyph14.2" class="production" id="a14">
            <start y="660.0" x="250.0"/>
            <end y="755.0385" x="293.359"/>
        </arc>
        <arc target="glyph14.1" source="glyph15" class="consumption" id="a15">
            <start y="753.1672" x="163.41641"/>
            <end y="660.0" x="210.0"/>
        </arc>
        <arc target="glyph13.1" source="glyph17" class="consumption" id="a16">
            <start y="753.1672" x="443.4164"/>
            <end y="660.0" x="490.0"/>
        </arc>
        <arc target="glyph13" source="glyph12" class="catalysis" id="a17">
            <start y="440.0" x="720.0"/>
            <next y="610.0" x="720.0"/>
            <next y="610.0" x="510.0"/>
            <end y="650.0" x="510.0"/>
        </arc>
        <arc target="glyph14" source="glyph12" class="catalysis" id="a18">
            <start y="440.0" x="680.0"/>
            <next y="590.0" x="680.0"/>
            <next y="590.0" x="230.0"/>
            <end y="650.0" x="230.0"/>
        </arc>
        <arc target="glyph20" source="glyph19" class="equivalence arc" id="a19">
            <start y="660.0" x="690.0"/>
            <end y="660.0" x="760.0"/>
        </arc>
        <arc target="glyph0" source="glyph1" class="equivalence arc" id="a20">
            <start y="60.0" x="330.0"/>
            <end y="60.0" x="260.0"/>
        </arc>
        <arc target="glyph24" source="glyph8.2" class="production" id="a21">
            <start y="410.0" x="250.0"/>
            <end y="410.0" x="310.0"/>
        </arc>
        <arc target="glyph11.1" source="glyph24" class="consumption" id="a22">
            <start y="410.0" x="410.0"/>
            <end y="410.0" x="530.0"/>
        </arc>
        <arc target="glyph3.1" source="glyph25" class="consumption" id="a23">
            <start y="170.0" x="280.0"/>
            <end y="170.0" x="360.0"/>
        </arc>
        <arc target="glyph8.1" source="glyph23" class="consumption" id="a24">
            <start y="410.0" x="130.0"/>
            <end y="410.0" x="210.0"/>
        </arc>
        <arc target="glyph14.1" source="glyph22" class="consumption" id="a25">
            <start y="660.0" x="130.0"/>
            <end y="660.0" x="210.0"/>
        </arc>
        <arc target="glyph13.1" source="glyph21" class="consumption" id="a26">
            <start y="660.0" x="410.0"/>
            <end y="660.0" x="490.0"/>
        </arc>
        <arc target="glyph21" source="glyph14.2" class="production" id="a27">
            <start y="660.0" x="250.0"/>
            <end y="660.0" x="310.0"/>
        </arc>
    </map>
</sbgn>
			
../test-files/PD/multimer.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
  <map version="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.3" id="map1">
	<glyph class="macromolecule" id="glyph1">
		<label text="Monomer"/>
		<bbox x="326" y="30" w="108" h="60"/>
	</glyph>

	<glyph class="macromolecule multimer" id="glyph2">
		<label text="Dimer" />
		<bbox x="116" y="30" w="108" h="60"/>

		<glyph class="unit of information" id="glyph2a">
			<label text="N:2"/>
			<bbox x="130" y="24" w="32" h="12"/>
		</glyph>
	</glyph>
	
	<glyph class="process" orientation="horizontal" id="pn1">
		<bbox x="268" y="48" w="24" h="24"/>
		<port x="256" y="60" id="pn1.1"/>
		<port x="304" y="60" id="pn1.2"/>
	</glyph>

	<arc class="consumption" source="glyph1" target="pn1.2" id="a1">
		<start x="326" y="60" />
		<end x="304" y="60" />			
	</arc>
	<arc class="production" source="pn1.1" target="glyph2" id="a2">
		<start x="256" y="60" />			
		<end x="226" y="60" />
	</arc>
  </map>
</sbgn>
			
../test-files/PD/multimer2.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
  <map version="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.3" id="map1">
	<glyph class="simple chemical multimer" id="glyph1">
		<bbox x="30" y="20" w="60" h="60"/>
	</glyph>
	<glyph class="macromolecule multimer" id="glyph2">
		<bbox x="136" y="20" w="108" h="60"/>
	</glyph>
	<glyph class="nucleic acid feature multimer" id="glyph3">
		<bbox x="286" y="20" w="108" h="60"/>
	</glyph>
  </map>
</sbgn>
			
../test-files/PD/neuronal_muscle_signalling.png
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
    <map version="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.3" id="map1">
        <glyph id="glyph1" class="compartment" compartmentOrder="1.0">
            <label text="synaptic cleft">
                <bbox y="478.5" x="487.0" h="23.0" w="126.0"/>
            </label>
            <bbox y="320.0" x="50.0" h="340.0" w="1000.0"/>
        </glyph>
        <glyph id="glyph0" class="compartment" compartmentOrder="2.0">
            <label text="synaptic button">
                <bbox y="58.0" x="478.0" h="23.0" w="144.0"/>
            </label>
            <bbox y="50.0" x="90.0" h="320.0" w="920.0"/>
        </glyph>
        <glyph id="glyph2" class="compartment" compartmentOrder="2.0">
            <label text="muscle cytosol">
                <bbox y="1299.0" x="479.0" h="23.0" w="142.0"/>
            </label>
            <bbox y="610.0" x="90.0" h="720.0" w="920.0"/>
        </glyph>
        <glyph id="glyph14" class="compartment" compartmentOrder="3.0">
            <label text="synaptic vesicle">
                <bbox y="188.0" x="674.5" h="23.0" w="151.0"/>
            </label>
            <bbox y="180.0" x="650.0" h="120.0" w="200.0"/>
        </glyph>
        <glyph id="glyph34" class="compartment" compartmentOrder="3.0">
            <label text="ER">
                <bbox y="628.0" x="923.0" h="23.0" w="34.0"/>
            </label>
            <bbox y="620.0" x="840.0" h="120.0" w="200.0"/>
        </glyph>
        <glyph id="glyph8" class="macromolecule" compartmentRef="glyph0">
            <label text="CHT1"/>
            <bbox y="290.0" x="120.0" h="60.0" w="120.0"/>
        </glyph>
        <glyph id="glyph13" class="simple chemical" compartmentRef="glyph0">
            <label text="Ach"/>
            <bbox y="220.0" x="490.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph4" class="macromolecule" compartmentRef="glyph0">
            <label text="vAChT"/>
            <bbox y="100.0" x="540.0" h="60.0" w="120.0"/>
        </glyph>
        <glyph id="glyph18" class="process">
            <bbox y="240.0" x="590.0" h="20.0" w="20.0"/>
            <port id="glyph18.1" y="250.0" x="580.0"/>
            <port id="glyph18.2" y="250.0" x="620.0"/>
        </glyph>
        <glyph id="glyph3" class="macromolecule" compartmentRef="glyph0">
            <label text="ChAT"/>
            <bbox y="100.0" x="380.0" h="60.0" w="120.0"/>
        </glyph>
        <glyph id="glyph10" class="macromolecule" compartmentRef="glyph1">
            <label text="AChE"/>
            <bbox y="395.0" x="390.0" h="60.0" w="120.0"/>
        </glyph>
        <glyph id="glyph19" class="process">
            <bbox y="530.0" x="440.0" h="20.0" w="20.0"/>
            <port id="glyph19.2" y="540.0" x="470.0"/>
            <port id="glyph19.1" y="540.0" x="430.0"/>
        </glyph>
        <glyph id="glyph11" class="simple chemical" compartmentRef="glyph1">
            <label text="acetate"/>
            <bbox y="405.0" x="310.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph9" class="macromolecule" compartmentRef="glyph0">
            <label text="SNARE"/>
            <bbox y="290.0" x="860.0" h="60.0" w="120.0"/>
        </glyph>
        <glyph id="glyph6" class="simple chemical" compartmentRef="glyph14">
            <label text="ACh"/>
            <bbox y="220.0" x="690.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph17" orientation="vertical" class="process">
            <bbox y="440.0" x="660.0" h="20.0" w="20.0"/>
            <port id="glyph17.1" y="430.0" x="670.0"/>
            <port id="glyph17.2" y="470.0" x="670.0"/>
        </glyph>
        <glyph id="glyph7" class="simple chemical" compartmentRef="glyph1">
            <label text="ACh"/>
            <bbox y="510.0" x="590.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph20" class="macromolecule" compartmentRef="glyph2">
            <label text="nAChR"/>
            <bbox y="670.0" x="350.0" h="60.0" w="120.0"/>
            <glyph id="glyph20a" class="state variable">
    			<state value="closed"/>
                <bbox y="715.0" x="380.0" h="30.0" w="60.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph24" class="process">
            <bbox y="690.0" x="610.0" h="20.0" w="20.0"/>
            <port id="glyph24.1" y="700.0" x="600.0"/>
            <port id="glyph24.2" y="700.0" x="640.0"/>
        </glyph>
        <glyph id="glyph22" class="simple chemical" compartmentRef="glyph2">
            <label text="Ca2+"/>
            <bbox y="860.0" x="860.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph42" orientation="vertical" class="association">
            <bbox y="1010.0" x="750.0" h="20.0" w="20.0"/>
            <port id="glyph42.1" y="1000.0" x="760.0"/>
            <port id="glyph42.2" y="1040.0" x="760.0"/>
        </glyph>
        <glyph id="glyph38" class="complex" compartmentRef="glyph2">
            <bbox y="1080.0" x="630.0" h="160.0" w="260.0"/>
            <glyph id="glyph38a" class="state variable">
    			<state value="relaxed"/>
                <bbox y="1225.0" x="726.5" h="30.0" w="67.0"/>
            </glyph>
            <glyph id="glyph29" class="macromolecule">
                <label text="myosin"/>
                <bbox y="1100.0" x="760.0" h="60.0" w="120.0"/>
            </glyph>
            <glyph id="glyph30" class="macromolecule">
                <label text="actin"/>
                <bbox y="1100.0" x="640.0" h="60.0" w="120.0"/>
            </glyph>
            <glyph id="glyph46" class="simple chemical">
                <label text="ATP"/>
                <bbox y="1160.0" x="790.0" h="60.0" w="60.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph33" class="simple chemical" compartmentRef="glyph2">
            <label text="Pi"/>
            <bbox y="1010.0" x="520.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph43" class="process">
            <bbox y="1160.0" x="540.0" h="20.0" w="20.0"/>
            <port id="glyph43.2" y="1170.0" x="570.0"/>
            <port id="glyph43.1" y="1170.0" x="530.0"/>
        </glyph>
        <glyph id="glyph40" class="simple chemical" compartmentRef="glyph2">
            <label text="ADP"/>
            <bbox y="1010.0" x="450.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph44" orientation="vertical" class="dissociation">
            <bbox y="980.0" x="290.0" h="20.0" w="20.0"/>
            <port id="glyph44.2" y="1010.0" x="300.0"/>
            <port id="glyph44.1" y="970.0" x="300.0"/>
        </glyph>
        <glyph id="glyph26" class="macromolecule" compartmentRef="glyph2">
            <label text="actin"/>
            <bbox y="910.0" x="470.0" h="60.0" w="120.0"/>
        </glyph>
        <glyph id="glyph25" class="simple chemical" compartmentRef="glyph2">
            <label text="ATP"/>
            <bbox y="750.0" x="440.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph27" class="macromolecule" compartmentRef="glyph2">
            <label text="myosin"/>
            <bbox y="830.0" x="290.0" h="60.0" w="120.0"/>
        </glyph>
        <glyph id="glyph45" class="association">
            <bbox y="850.0" x="540.0" h="20.0" w="20.0"/>
            <port id="glyph45.1" y="860.0" x="530.0"/>
            <port id="glyph45.2" y="860.0" x="570.0"/>
        </glyph>
        <glyph id="glyph36" class="complex" compartmentRef="glyph2">
            <bbox y="830.0" x="690.0" h="140.0" w="140.0"/>
            <glyph id="glyph28" class="macromolecule">
                <label text="myosin"/>
                <bbox y="840.0" x="700.0" h="60.0" w="120.0"/>
            </glyph>
            <glyph id="glyph35" class="simple chemical">
                <label text="ATP"/>
                <bbox y="900.0" x="730.0" h="60.0" w="60.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph21" class="macromolecule" compartmentRef="glyph2">
            <label text="nAChR"/>
            <bbox y="670.0" x="680.0" h="60.0" w="120.0"/>
            <glyph id="glyph21a" class="state variable">
    			<state value="open"/>
                <bbox y="716.0" x="714.5" h="28.0" w="51.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph5" class="simple chemical" compartmentRef="glyph2">
            <label text="choline"/>
            <bbox y="510.0" x="260.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph15" orientation="vertical" class="process">
            <bbox y="310.0" x="280.0" h="20.0" w="20.0"/>
            <port id="glyph15.2" y="340.0" x="290.0"/>
            <port id="glyph15.1" y="300.0" x="290.0"/>
        </glyph>
        <glyph id="glyph12" class="simple chemical" compartmentRef="glyph2">
            <label text="choline"/>
            <bbox y="220.0" x="260.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph47" class="simple chemical" compartmentRef="glyph2">
            <label text="acetyl
CoA"/>
            <bbox y="140.0" x="260.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph16" class="process">
            <bbox y="240.0" x="430.0" h="20.0" w="20.0"/>
            <port id="glyph16.1" y="250.0" x="420.0"/>
            <port id="glyph16.2" y="250.0" x="460.0"/>
        </glyph>
        <glyph id="glyph23" class="simple chemical" compartmentRef="glyph34">
            <label text="Ca2+"/>
            <bbox y="660.0" x="860.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph41" orientation="vertical" class="process">
            <bbox y="780.0" x="880.0" h="20.0" w="20.0"/>
            <port id="glyph41.2" y="810.0" x="890.0"/>
            <port id="glyph41.1" y="770.0" x="890.0"/>
        </glyph>
        <glyph id="glyph37" class="complex" compartmentRef="glyph2">
            <bbox y="1080.0" x="170.0" h="120.0" w="260.0"/>
            <glyph id="glyph37a" class="state variable">
    			<state value="tense"/>
                <bbox y="1186.0" x="273.0" h="28.0" w="54.0"/>
            </glyph>
            <glyph id="glyph31" class="macromolecule">
                <label text="actin"/>
                <bbox y="1100.0" x="180.0" h="60.0" w="120.0"/>
            </glyph>
            <glyph id="glyph39" class="macromolecule">
                <label text="myosin"/>
                <bbox y="1100.0" x="300.0" h="60.0" w="120.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph32" class="phenotype">
            <label text="muscle
contraction"/>
            <bbox y="1250.0" x="150.0" h="60.0" w="160.0"/>
        </glyph>
        <arc target="glyph15" source="glyph8" class="necessary stimulation" id="a1">
            <start y="320.0" x="240.0"/>
            <end y="320.0" x="280.0"/>
        </arc>
        <arc target="glyph16.1" source="glyph12" class="consumption" id="a2">
            <start y="250.0" x="320.0"/>
            <end y="250.0" x="420.0"/>
        </arc>
        <arc target="glyph13" source="glyph16.2" class="production" id="a3">
            <start y="250.0" x="460.0"/>
            <end y="250.0" x="490.0"/>
        </arc>
        <arc target="glyph18.1" source="glyph13" class="consumption" id="a4">
            <start y="250.0" x="550.0"/>
            <end y="250.0" x="580.0"/>
        </arc>
        <arc target="glyph6" source="glyph18.2" class="production" id="a5">
            <start y="250.0" x="620.0"/>
            <end y="250.0" x="690.0"/>
        </arc>
        <arc target="glyph18" source="glyph4" class="necessary stimulation" id="a6">
            <start y="160.0" x="600.0"/>
            <end y="240.0" x="600.0"/>
        </arc>
        <arc target="glyph16" source="glyph3" class="catalysis" id="a7">
            <start y="160.0" x="440.0"/>
            <end y="240.0" x="440.0"/>
        </arc>
        <arc target="glyph19" source="glyph10" class="catalysis" id="a8">
            <start y="455.0" x="450.0"/>
            <end y="530.0" x="450.0"/>
        </arc>
        <arc target="glyph19.2" source="glyph7" class="consumption" id="a9">
            <start y="540.0" x="590.0"/>
            <end y="540.0" x="470.0"/>
        </arc>
        <arc target="glyph5" source="glyph19.1" class="production" id="a10">
            <start y="540.0" x="430.0"/>
            <end y="540.0" x="320.0"/>
        </arc>
        <arc target="glyph11" source="glyph19.1" class="production" id="a11">
            <start y="540.0" x="430.0"/>
            <end y="455.71426" x="361.70065"/>
        </arc>
        <arc target="glyph17" source="glyph9" class="necessary stimulation" id="a12">
            <start y="350.0" x="906.1539"/>
            <next y="450.0" x="860.0"/>
            <end y="450.0" x="680.0"/>
        </arc>
        <arc target="glyph17.1" source="glyph6" class="consumption" id="a13">
            <start y="278.90555" x="711.9707"/>
            <end y="430.0" x="670.0"/>
        </arc>
        <arc target="glyph7" source="glyph17.2" class="production" id="a14">
            <start y="470.0" x="670.0"/>
            <end y="513.77527" x="634.5693"/>
        </arc>
        <arc target="glyph24" source="glyph7" class="necessary stimulation" id="a15">
            <start y="570.0" x="620.0"/>
            <end y="690.0" x="620.0"/>
        </arc>
        <arc target="glyph24.1" source="glyph20" class="consumption" id="a16">
            <start y="700.0" x="470.0"/>
            <end y="700.0" x="600.0"/>
        </arc>
        <arc target="glyph21" source="glyph24.2" class="production" id="a17">
            <start y="700.0" x="640.0"/>
            <end y="700.0" x="680.0"/>
        </arc>
        <arc target="glyph22" source="glyph41.2" class="production" id="a18">
            <start y="810.0" x="890.0"/>
            <end y="860.0" x="890.0"/>
        </arc>
        <arc target="glyph42" source="glyph22" class="stimulation" id="a19">
            <start y="920.0" x="890.0"/>
            <next y="1020.0" x="890.0"/>
            <end y="1020.0" x="770.0"/>
        </arc>
        <arc target="glyph42.1" source="glyph36" class="consumption" id="a20">
            <start y="970.0" x="760.0"/>
            <end y="1000.0" x="760.0"/>
        </arc>
        <arc target="glyph42.1" source="glyph26" class="consumption" id="a21">
            <start y="955.65216" x="590.0"/>
            <end y="1000.0" x="760.0"/>
        </arc>
        <arc target="glyph38" source="glyph42.2" class="production" id="a22">
            <start y="1040.0" x="760.0"/>
            <end y="1080.0" x="760.0"/>
        </arc>
        <arc target="glyph43.2" source="glyph38" class="consumption" id="a23">
            <start y="1166.8422" x="630.0"/>
            <end y="1170.0" x="570.0"/>
        </arc>
        <arc target="glyph37" source="glyph43.1" class="production" id="a24">
            <start y="1170.0" x="530.0"/>
            <end y="1155.6" x="430.0"/>
        </arc>
        <arc target="glyph33" source="glyph43.1" class="production" id="a25">
            <start y="1170.0" x="530.0"/>
            <end y="1070.0" x="550.0"/>
        </arc>
        <arc target="glyph40" source="glyph43.1" class="production" id="a26">
            <start y="1170.0" x="530.0"/>
            <end y="1066.4142" x="494.223"/>
        </arc>
        <arc target="glyph44.2" source="glyph37" class="consumption" id="a27">
            <start y="1080.0" x="300.0"/>
            <end y="1010.0" x="300.0"/>
        </arc>
        <arc target="glyph27" source="glyph44.1" class="production" id="a28">
            <start y="970.0" x="300.0"/>
            <end y="890.0" x="338.46155"/>
        </arc>
        <arc target="glyph26" source="glyph44.1" class="production" id="a29">
            <start y="970.0" x="300.0"/>
            <end y="953.04346" x="470.0"/>
        </arc>
        <arc target="glyph45.1" source="glyph25" class="consumption" id="a30">
            <start y="804.0" x="488.0"/>
            <end y="860.0" x="530.0"/>
        </arc>
        <arc target="glyph45.1" source="glyph27" class="consumption" id="a31">
            <start y="860.0" x="410.0"/>
            <end y="860.0" x="530.0"/>
        </arc>
        <arc target="glyph36" source="glyph45.2" class="production" id="a32">
            <start y="860.0" x="570.0"/>
            <end y="886.6667" x="690.0"/>
        </arc>
        <arc target="glyph41" source="glyph21" class="necessary stimulation" id="a33">
            <start y="742.0" x="740.0"/>
            <next y="790.0" x="740.0"/>
            <end y="790.0" x="880.0"/>
        </arc>
        <arc target="glyph15.2" source="glyph5" class="consumption" id="a34">
            <start y="510.0" x="290.0"/>
            <end y="340.0" x="290.0"/>
        </arc>
        <arc target="glyph12" source="glyph15.1" class="production" id="a35">
            <start y="300.0" x="290.0"/>
            <end y="280.0" x="290.0"/>
        </arc>
        <arc target="glyph16.1" source="glyph47" class="consumption" id="a36">
            <start y="185.72292" x="315.54974"/>
            <end y="250.0" x="420.0"/>
        </arc>
        <arc target="glyph41.1" source="glyph23" class="consumption" id="a37">
            <start y="720.0" x="890.0"/>
            <end y="770.0" x="890.0"/>
        </arc>
        <arc target="glyph32" source="glyph37" class="stimulation" id="a38">
            <start y="1200.0" x="235.0"/>
            <end y="1250.0" x="245.0"/>
        </arc>
    </map>
</sbgn>
			
../test-files/PD/neuronal_muscle_signalling_color.png
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
    <map version="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.3" id="map1">
		<extension>
		<renderInformation id="example" programName="SBML Layout" programVersion="3.0"
		 xmlns="http://projects.eml.org/bcb/sbml/render/level2">
			<listOfColorDefinitions>
			<colorDefinition id="yelloComp" value="#ffffccff" />
			<colorDefinition id="grayComp" value="#e0e0e0ff" />
			<colorDefinition id="orange" value="#fa9e2fff" />
			<colorDefinition id="blue" value="#2958acff" />
			<colorDefinition id="green" value="#378f5cff" />
			<colorDefinition id="Color_0" value="#969696" />
			<colorDefinition id="Color_1" value="#ff9900" />
			<colorDefinition id="Color_2" value="#000000" />			
			</listOfColorDefinitions>
			<listOfGradientDefinitions>
			<linearGradient x1="0%" y1="0%" z1="0%" x2="100%" y2="0%" z2="100%" id="LinearGradient_0" spreadMethod="reflect">
				<stop offset="0%" stop-color="#ccffff" />
				<stop offset="100%" stop-color="#ffffff" />
			</linearGradient>
			<linearGradient x1="0%" y1="0%" z1="0%" x2="100%" y2="0%" z2="100%" id="OrangeGradient_0" spreadMethod="reflect">
				<stop offset="0%" stop-color="#ffffff" />
				<stop offset="100%" stop-color="#fa9e2fff" />
			</linearGradient>
			<linearGradient x1="0%" y1="0%" z1="0%" x2="100%" y2="0%" z2="100%" id="BlueGradient_0" spreadMethod="reflect">
				<stop offset="0%" stop-color="#ffffff" />
				<stop offset="100%" stop-color="#2958acff" />
			</linearGradient>
			<linearGradient x1="0%" y1="0%" z1="0%" x2="100%" y2="0%" z2="100%" id="GreenGradient_0" spreadMethod="reflect">
				<stop offset="0%" stop-color="#ffffff" />
				<stop offset="100%" stop-color="#378f5cff" />
			</linearGradient>
			</listOfGradientDefinitions>
			<listOfStyles>
			<style idList="glyph0 glyph2 glyph14 glyph34 ">
				<g stroke="Color_2" stroke-width="5" fill="yelloComp"  />			
			</style>
			<style idList="glyph1">
				<g stroke="Color_2" stroke-width="5" fill="grayComp"  />			
			</style>
			<style idList="glyph8 glyph23 glyph5 glyph12 glyph21 glyph13 glyph4 glyph6 glyph7 glyph20 glyph22">
				<g stroke="orange" stroke-width="2" fill="OrangeGradient_0" />
			</style>
			<style idList="glyph3 glyph47 glyph10 glyph11">
				<g stroke="blue" stroke-width="2" fill="BlueGradient_0" />
			</style>
			<style idList="glyph32 glyph37 glyph37a glyph31 glyph39 glyph40 glyph36 glyph28 glyph35 glyph27 glyph25 glyph26 glyph9 glyph38 glyph38a glyph29 glyph30 glyph46 glyph33">
				<g stroke="green" stroke-width="2" fill="GreenGradient_0" />
			</style>
			<style idList="a38">
				<g stroke="blue" stroke-width="2"  />
			</style>
			</listOfStyles>
		</renderInformation>
		</extension>
		<glyph id="glyph1" class="compartment" compartmentOrder="1.0">
            <label text="synaptic cleft">
                <bbox y="478.5" x="487.0" h="23.0" w="126.0"/>
            </label>
            <bbox y="320.0" x="50.0" h="340.0" w="1000.0"/>
        </glyph>
        <glyph id="glyph0" class="compartment" compartmentOrder="2.0">
            <label text="synaptic button">
                <bbox y="58.0" x="478.0" h="23.0" w="144.0"/>
            </label>
            <bbox y="50.0" x="90.0" h="320.0" w="920.0"/>
        </glyph>
        <glyph id="glyph2" class="compartment" compartmentOrder="2.0">
            <label text="muscle cytosol">
                <bbox y="1299.0" x="479.0" h="23.0" w="142.0"/>
            </label>
            <bbox y="610.0" x="90.0" h="720.0" w="920.0"/>
        </glyph>
        <glyph id="glyph14" class="compartment" compartmentOrder="3.0">
            <label text="synaptic vesicle">
                <bbox y="188.0" x="674.5" h="23.0" w="151.0"/>
            </label>
            <bbox y="180.0" x="650.0" h="120.0" w="200.0"/>
        </glyph>
        <glyph id="glyph34" class="compartment" compartmentOrder="3.0">
            <label text="ER">
                <bbox y="628.0" x="923.0" h="23.0" w="34.0"/>
            </label>
            <bbox y="620.0" x="840.0" h="120.0" w="200.0"/>
        </glyph>
        <glyph id="glyph8" class="macromolecule" compartmentRef="glyph0">
            <label text="CHT1"/>
            <bbox y="290.0" x="120.0" h="60.0" w="120.0"/>
        </glyph>
        <glyph id="glyph13" class="simple chemical" compartmentRef="glyph0">
            <label text="Ach"/>
            <bbox y="220.0" x="490.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph4" class="macromolecule" compartmentRef="glyph0">
            <label text="vAChT"/>
            <bbox y="100.0" x="540.0" h="60.0" w="120.0"/>
        </glyph>
        <glyph id="glyph18" class="process">
            <bbox y="240.0" x="590.0" h="20.0" w="20.0"/>
            <port id="glyph18.1" y="250.0" x="580.0"/>
            <port id="glyph18.2" y="250.0" x="620.0"/>
        </glyph>
        <glyph id="glyph3" class="macromolecule" compartmentRef="glyph0">
            <label text="ChAT"/>
            <bbox y="100.0" x="380.0" h="60.0" w="120.0"/>
        </glyph>
        <glyph id="glyph10" class="macromolecule" compartmentRef="glyph1">
            <label text="AChE"/>
            <bbox y="395.0" x="390.0" h="60.0" w="120.0"/>
        </glyph>
        <glyph id="glyph19" class="process">
            <bbox y="530.0" x="440.0" h="20.0" w="20.0"/>
            <port id="glyph19.2" y="540.0" x="470.0"/>
            <port id="glyph19.1" y="540.0" x="430.0"/>
        </glyph>
        <glyph id="glyph11" class="simple chemical" compartmentRef="glyph1">
            <label text="acetate"/>
            <bbox y="405.0" x="310.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph9" class="macromolecule" compartmentRef="glyph0">
            <label text="SNARE"/>
            <bbox y="290.0" x="860.0" h="60.0" w="120.0"/>
        </glyph>
        <glyph id="glyph6" class="simple chemical" compartmentRef="glyph14">
            <label text="ACh"/>
            <bbox y="220.0" x="690.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph17" orientation="vertical" class="process">
            <bbox y="440.0" x="660.0" h="20.0" w="20.0"/>
            <port id="glyph17.1" y="430.0" x="670.0"/>
            <port id="glyph17.2" y="470.0" x="670.0"/>
        </glyph>
        <glyph id="glyph7" class="simple chemical" compartmentRef="glyph1">
            <label text="ACh"/>
            <bbox y="510.0" x="590.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph20" class="macromolecule" compartmentRef="glyph2">
            <label text="nAChR"/>
            <bbox y="670.0" x="350.0" h="60.0" w="120.0"/>
            <glyph id="glyph20a" class="state variable">
    			<state value="closed"/>
                <bbox y="715.0" x="380.0" h="30.0" w="60.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph24" class="process">
            <bbox y="690.0" x="610.0" h="20.0" w="20.0"/>
            <port id="glyph24.1" y="700.0" x="600.0"/>
            <port id="glyph24.2" y="700.0" x="640.0"/>
        </glyph>
        <glyph id="glyph22" class="simple chemical" compartmentRef="glyph2">
            <label text="Ca2+"/>
            <bbox y="860.0" x="860.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph42" orientation="vertical" class="association">
            <bbox y="1010.0" x="750.0" h="20.0" w="20.0"/>
            <port id="glyph42.1" y="1000.0" x="760.0"/>
            <port id="glyph42.2" y="1040.0" x="760.0"/>
        </glyph>
        <glyph id="glyph38" class="complex" compartmentRef="glyph2">
            <bbox y="1080.0" x="630.0" h="160.0" w="260.0"/>
            <glyph id="glyph38a" class="state variable">
    			<state value="relaxed"/>
                <bbox y="1225.0" x="726.5" h="30.0" w="67.0"/>
            </glyph>
            <glyph id="glyph29" class="macromolecule">
                <label text="myosin"/>
                <bbox y="1100.0" x="760.0" h="60.0" w="120.0"/>
            </glyph>
            <glyph id="glyph30" class="macromolecule">
                <label text="actin"/>
                <bbox y="1100.0" x="640.0" h="60.0" w="120.0"/>
            </glyph>
            <glyph id="glyph46" class="simple chemical">
                <label text="ATP"/>
                <bbox y="1160.0" x="790.0" h="60.0" w="60.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph33" class="simple chemical" compartmentRef="glyph2">
            <label text="Pi"/>
            <bbox y="1010.0" x="520.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph43" class="process">
            <bbox y="1160.0" x="540.0" h="20.0" w="20.0"/>
            <port id="glyph43.2" y="1170.0" x="570.0"/>
            <port id="glyph43.1" y="1170.0" x="530.0"/>
        </glyph>
        <glyph id="glyph40" class="simple chemical" compartmentRef="glyph2">
            <label text="ADP"/>
            <bbox y="1010.0" x="450.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph44" orientation="vertical" class="dissociation">
            <bbox y="980.0" x="290.0" h="20.0" w="20.0"/>
            <port id="glyph44.2" y="1010.0" x="300.0"/>
            <port id="glyph44.1" y="970.0" x="300.0"/>
        </glyph>
        <glyph id="glyph26" class="macromolecule" compartmentRef="glyph2">
            <label text="actin"/>
            <bbox y="910.0" x="470.0" h="60.0" w="120.0"/>
        </glyph>
        <glyph id="glyph25" class="simple chemical" compartmentRef="glyph2">
            <label text="ATP"/>
            <bbox y="750.0" x="440.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph27" class="macromolecule" compartmentRef="glyph2">
            <label text="myosin"/>
            <bbox y="830.0" x="290.0" h="60.0" w="120.0"/>
        </glyph>
        <glyph id="glyph45" class="association">
            <bbox y="850.0" x="540.0" h="20.0" w="20.0"/>
            <port id="glyph45.1" y="860.0" x="530.0"/>
            <port id="glyph45.2" y="860.0" x="570.0"/>
        </glyph>
        <glyph id="glyph36" class="complex" compartmentRef="glyph2">
            <bbox y="830.0" x="690.0" h="140.0" w="140.0"/>
            <glyph id="glyph28" class="macromolecule">
                <label text="myosin"/>
                <bbox y="840.0" x="700.0" h="60.0" w="120.0"/>
            </glyph>
            <glyph id="glyph35" class="simple chemical">
                <label text="ATP"/>
                <bbox y="900.0" x="730.0" h="60.0" w="60.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph21" class="macromolecule" compartmentRef="glyph2">
            <label text="nAChR"/>
            <bbox y="670.0" x="680.0" h="60.0" w="120.0"/>
            <glyph id="glyph21a" class="state variable">
    			<state value="open"/>
                <bbox y="716.0" x="714.5" h="28.0" w="51.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph5" class="simple chemical" compartmentRef="glyph2">
            <label text="choline"/>
            <bbox y="510.0" x="260.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph15" orientation="vertical" class="process">
            <bbox y="310.0" x="280.0" h="20.0" w="20.0"/>
            <port id="glyph15.2" y="340.0" x="290.0"/>
            <port id="glyph15.1" y="300.0" x="290.0"/>
        </glyph>
        <glyph id="glyph12" class="simple chemical" compartmentRef="glyph2">
            <label text="choline"/>
            <bbox y="220.0" x="260.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph47" class="simple chemical" compartmentRef="glyph2">
            <label text="acetyl
CoA"/>
            <bbox y="140.0" x="260.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph16" class="process">
            <bbox y="240.0" x="430.0" h="20.0" w="20.0"/>
            <port id="glyph16.1" y="250.0" x="420.0"/>
            <port id="glyph16.2" y="250.0" x="460.0"/>
        </glyph>
        <glyph id="glyph23" class="simple chemical" compartmentRef="glyph34">
            <label text="Ca2+"/>
            <bbox y="660.0" x="860.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph41" orientation="vertical" class="process">
            <bbox y="780.0" x="880.0" h="20.0" w="20.0"/>
            <port id="glyph41.2" y="810.0" x="890.0"/>
            <port id="glyph41.1" y="770.0" x="890.0"/>
        </glyph>
        <glyph id="glyph37" class="complex" compartmentRef="glyph2">
            <bbox y="1080.0" x="170.0" h="120.0" w="260.0"/>
            <glyph id="glyph37a" class="state variable">
    			<state value="tense"/>
                <bbox y="1186.0" x="273.0" h="28.0" w="54.0"/>
            </glyph>
            <glyph id="glyph31" class="macromolecule">
                <label text="actin"/>
                <bbox y="1100.0" x="180.0" h="60.0" w="120.0"/>
            </glyph>
            <glyph id="glyph39" class="macromolecule">
                <label text="myosin"/>
                <bbox y="1100.0" x="300.0" h="60.0" w="120.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph32" class="phenotype">
            <label text="muscle
contraction"/>
            <bbox y="1250.0" x="150.0" h="60.0" w="160.0"/>
        </glyph>
        <arc target="glyph15" source="glyph8" class="necessary stimulation" id="a1">
            <start y="320.0" x="240.0"/>
            <end y="320.0" x="280.0"/>
        </arc>
        <arc target="glyph16.1" source="glyph12" class="consumption" id="a2">
            <start y="250.0" x="320.0"/>
            <end y="250.0" x="420.0"/>
        </arc>
        <arc target="glyph13" source="glyph16.2" class="production" id="a3">
            <start y="250.0" x="460.0"/>
            <end y="250.0" x="490.0"/>
        </arc>
        <arc target="glyph18.1" source="glyph13" class="consumption" id="a4">
            <start y="250.0" x="550.0"/>
            <end y="250.0" x="580.0"/>
        </arc>
        <arc target="glyph6" source="glyph18.2" class="production" id="a5">
            <start y="250.0" x="620.0"/>
            <end y="250.0" x="690.0"/>
        </arc>
        <arc target="glyph18" source="glyph4" class="necessary stimulation" id="a6">
            <start y="160.0" x="600.0"/>
            <end y="240.0" x="600.0"/>
        </arc>
        <arc target="glyph16" source="glyph3" class="catalysis" id="a7">
            <start y="160.0" x="440.0"/>
            <end y="240.0" x="440.0"/>
        </arc>
        <arc target="glyph19" source="glyph10" class="catalysis" id="a8">
            <start y="455.0" x="450.0"/>
            <end y="530.0" x="450.0"/>
        </arc>
        <arc target="glyph19.2" source="glyph7" class="consumption" id="a9">
            <start y="540.0" x="590.0"/>
            <end y="540.0" x="470.0"/>
        </arc>
        <arc target="glyph5" source="glyph19.1" class="production" id="a10">
            <start y="540.0" x="430.0"/>
            <end y="540.0" x="320.0"/>
        </arc>
        <arc target="glyph11" source="glyph19.1" class="production" id="a11">
            <start y="540.0" x="430.0"/>
            <end y="455.71426" x="361.70065"/>
        </arc>
        <arc target="glyph17" source="glyph9" class="necessary stimulation" id="a12">
            <start y="350.0" x="906.1539"/>
            <next y="450.0" x="860.0"/>
            <end y="450.0" x="680.0"/>
        </arc>
        <arc target="glyph17.1" source="glyph6" class="consumption" id="a13">
            <start y="278.90555" x="711.9707"/>
            <end y="430.0" x="670.0"/>
        </arc>
        <arc target="glyph7" source="glyph17.2" class="production" id="a14">
            <start y="470.0" x="670.0"/>
            <end y="513.77527" x="634.5693"/>
        </arc>
        <arc target="glyph24" source="glyph7" class="necessary stimulation" id="a15">
            <start y="570.0" x="620.0"/>
            <end y="690.0" x="620.0"/>
        </arc>
        <arc target="glyph24.1" source="glyph20" class="consumption" id="a16">
            <start y="700.0" x="470.0"/>
            <end y="700.0" x="600.0"/>
        </arc>
        <arc target="glyph21" source="glyph24.2" class="production" id="a17">
            <start y="700.0" x="640.0"/>
            <end y="700.0" x="680.0"/>
        </arc>
        <arc target="glyph22" source="glyph41.2" class="production" id="a18">
            <start y="810.0" x="890.0"/>
            <end y="860.0" x="890.0"/>
        </arc>
        <arc target="glyph42" source="glyph22" class="stimulation" id="a19">
            <start y="920.0" x="890.0"/>
            <next y="1020.0" x="890.0"/>
            <end y="1020.0" x="770.0"/>
        </arc>
        <arc target="glyph42.1" source="glyph36" class="consumption" id="a20">
            <start y="970.0" x="760.0"/>
            <end y="1000.0" x="760.0"/>
        </arc>
        <arc target="glyph42.1" source="glyph26" class="consumption" id="a21">
            <start y="955.65216" x="590.0"/>
            <end y="1000.0" x="760.0"/>
        </arc>
        <arc target="glyph38" source="glyph42.2" class="production" id="a22">
            <start y="1040.0" x="760.0"/>
            <end y="1080.0" x="760.0"/>
        </arc>
        <arc target="glyph43.2" source="glyph38" class="consumption" id="a23">
            <start y="1166.8422" x="630.0"/>
            <end y="1170.0" x="570.0"/>
        </arc>
        <arc target="glyph37" source="glyph43.1" class="production" id="a24">
            <start y="1170.0" x="530.0"/>
            <end y="1155.6" x="430.0"/>
        </arc>
        <arc target="glyph33" source="glyph43.1" class="production" id="a25">
            <start y="1170.0" x="530.0"/>
            <end y="1070.0" x="550.0"/>
        </arc>
        <arc target="glyph40" source="glyph43.1" class="production" id="a26">
            <start y="1170.0" x="530.0"/>
            <end y="1066.4142" x="494.223"/>
        </arc>
        <arc target="glyph44.2" source="glyph37" class="consumption" id="a27">
            <start y="1080.0" x="300.0"/>
            <end y="1010.0" x="300.0"/>
        </arc>
        <arc target="glyph27" source="glyph44.1" class="production" id="a28">
            <start y="970.0" x="300.0"/>
            <end y="890.0" x="338.46155"/>
        </arc>
        <arc target="glyph26" source="glyph44.1" class="production" id="a29">
            <start y="970.0" x="300.0"/>
            <end y="953.04346" x="470.0"/>
        </arc>
        <arc target="glyph45.1" source="glyph25" class="consumption" id="a30">
            <start y="804.0" x="488.0"/>
            <end y="860.0" x="530.0"/>
        </arc>
        <arc target="glyph45.1" source="glyph27" class="consumption" id="a31">
            <start y="860.0" x="410.0"/>
            <end y="860.0" x="530.0"/>
        </arc>
        <arc target="glyph36" source="glyph45.2" class="production" id="a32">
            <start y="860.0" x="570.0"/>
            <end y="886.6667" x="690.0"/>
        </arc>
        <arc target="glyph41" source="glyph21" class="necessary stimulation" id="a33">
            <start y="742.0" x="740.0"/>
            <next y="790.0" x="740.0"/>
            <end y="790.0" x="880.0"/>
        </arc>
        <arc target="glyph15.2" source="glyph5" class="consumption" id="a34">
            <start y="510.0" x="290.0"/>
            <end y="340.0" x="290.0"/>
        </arc>
        <arc target="glyph12" source="glyph15.1" class="production" id="a35">
            <start y="300.0" x="290.0"/>
            <end y="280.0" x="290.0"/>
        </arc>
        <arc target="glyph16.1" source="glyph47" class="consumption" id="a36">
            <start y="185.72292" x="315.54974"/>
            <end y="250.0" x="420.0"/>
        </arc>
        <arc target="glyph41.1" source="glyph23" class="consumption" id="a37">
            <start y="720.0" x="890.0"/>
            <end y="770.0" x="890.0"/>
        </arc>
        <arc target="glyph32" source="glyph37" class="stimulation" id="a38">
            <start y="1200.0" x="235.0"/>
            <end y="1250.0" x="245.0"/>
        </arc>
    </map>
</sbgn>
			
../test-files/PD/or-simple.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
<map version="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.3" id="map1">
<glyph class="macromolecule" id="glyph1">
	<label text="Enzym1"/>
	<bbox x="56" y="50" w="108" h="60"/>
</glyph>

<glyph class="macromolecule" id="glyph2">
	<label text="Enzym2"/>
	<bbox x="216" y="50" w="108" h="60"/>
</glyph>

<glyph class="or" id="glyph3" orientation="vertical">
	<bbox x="169" y="189" w="42" h="42"/>
	<port x="190" y="168" id="port3.1"/>
	<port x="190" y="252" id="port3.2"/>
</glyph>

<glyph class="process" id="glyph4" orientation="horizontal">
	<bbox x="178" y="278" w="24" h="24"/>
	<port x="166" y="290" id="port4.1"/>
	<port x="214" y="290" id="port4.2"/>
</glyph>

<glyph class="simple chemical" id="glyph5">
	<label text="Subst"/>
	<bbox x="70" y="260" w="60" h="60"/>
</glyph>

<glyph class="simple chemical" id="glyph6">
	<label text="Prod"/>
	<bbox x="260" y="260" w="60" h="60"/>
</glyph>

<arc class="logic arc" source="glyph1" target="port3.1" id="a1">
	<start x="139" y="110" />
	<end x="190" y="168" />
</arc>

<arc class="logic arc" source="glyph2" target="port3.1" id="a2">
	<start x="241" y="110" />
	<end x="190" y="168" />
</arc>

<arc class="catalysis" source="port3.2" target="glyph4" id="a3">
	<start x="190" y="252" />
	<end x="190" y="278" />
</arc>

<arc class="consumption" source="glyph5" target="port4.1" id="a4">
	<start x="130" y="290" />
	<end x="166" y="290" />
</arc>

<arc class="production" source="port4.2" target="glyph6" id="a5">
	<start x="214" y="290" />
	<end x="260" y="290" />
</arc>
</map>
</sbgn>
			
../test-files/PD/protein_degradation.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
  <map version="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.3" id="map1">
    <glyph class="source and sink" id="glyph1">
        <bbox x="270" y="50" w="60" h="60"/>
    </glyph>
    <glyph class="omitted process" orientation="horizontal" id="glyph2">
        <bbox x="188" y="68" w="24" h="24"/>
        <port x="176" y="80" id="glyph2.1"/>
        <port x="224" y="80" id="glyph2.2"/>
    </glyph>
    <glyph class="macromolecule" id="glyph3">
        <label text="Protein"/>
        <bbox x="16" y="50" w="108" h="60"/>
    </glyph>
    <arc class="production" source="glyph2.2" target="glyph1" id="a1">
        <start x="224" y="80" />
        <end x="270" y="80" />
    </arc>
    <arc class="consumption" source="glyph3" target="glyph2.1" id="a2">
        <start x="124" y="80" />
        <end x="176" y="80" />
    </arc>
  </map>
</sbgn>
			
../test-files/PD/reversible-verticalpn.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
  <map version="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.3" id="map1">
	<glyph class="simple chemical" id="glyph1">
		<label text="DHA-P"/>
		<bbox x="30" y="20" w="60" h="60"/>
	</glyph>
	<glyph class="simple chemical" id="glyph2">
		<label text="GA-3P" />
		<bbox x="30" y="220" w="60" h="60"/>
	</glyph>
	<glyph class="macromolecule" id="glyph3">
		<label text="Triose-P
Isomerase" /> <!-- contains line break -->
		<bbox x="150" y="120" w="120" h="60"/>
	</glyph>
	
	<glyph class="process" orientation="vertical" id="pn1">
		<bbox x="50" y="140" w="20" h="20"/>
		<port x="60" y="130" id="pn1.1"/>
		<port x="60" y="170" id="pn1.2"/>
	</glyph>

	<arc class="production" source="pn1.1" target="glyph1" id="a1">
		<start x="60" y="130" />
		<end x="60" y="80" />
	</arc>
	
	<arc class="production" source="pn1.2" target="glyph2" id="a2">
		<start x="60" y="170" />			
		<end x="60" y="220" />
	</arc>
	
	<arc class="catalysis" source="glyph3" target="pn1" id="a3">
		<start x="150" y="150" />
		<end x="70" y="150" />			
	</arc>
  </map>
</sbgn>
			
../test-files/PD/states.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
  <map version="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.3" id="map1">
	<glyph class="tag" orientation="right" id="glyph1">
		<label text="RAS"/>
		<bbox x="100" y="20" w="100" h="60"/>
	</glyph>
	
	<glyph class="macromolecule" id="glyph2">
		<label text="RAS" />
		<bbox x="270" y="20" w="100" h="60"/>
		<glyph class="state variable" id="glyph2a">
			<state value="active"/>
			<bbox x="304" y="74" w="32" h="12"/>
		</glyph>
	</glyph>

	<glyph class="macromolecule" id="glyph3">
		<label text="RAF" />
		<bbox x="120" y="150" w="100" h="60"/>
		<glyph class="state variable" id="glyph3a">
			<bbox x="164" y="204" w="12" h="12"/>
		</glyph>
	</glyph>

	<glyph class="macromolecule" id="glyph4">
		<label text="RAF" />
		<bbox x="400" y="150" w="100" h="60"/>
		<glyph class="state variable" id="glyph4a">
			<state value="P"/>
			<bbox x="444" y="204" w="12" h="12"/>
		</glyph>
	</glyph>

	<glyph class="process" id="glyph5">
		<bbox x="308" y="168" w="24" h="24"/>
		<port x="296" y="180" id="glyph5a"/>
		<port x="344" y="180" id="glyph5b"/>
	</glyph>

	<arc class="equivalence arc" source="glyph2" target="glyph1" id="a1">
		<start x="270" y="50" />
		<end x="200" y="50" />			
	</arc>
	
	<arc class="catalysis" source="glyph2" target="glyph5" id="a2">
		<start x="320" y="86" />		
		<end x="320" y="168" />
	</arc>

	<arc class="consumption" source="glyph3" target="glyph5a" id="a3">
		<start x="220" y="180" />
		<end x="296" y="180" />
	</arc>

	<arc class="production" source="glyph5b" target="glyph4" id="a4">
		<start x="344" y="180" />
		<end x="400" y="180" />			
	</arc>
  </map>
</sbgn>
			
../test-files/PD/statesType2.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
  <map version="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.3" id="map1">
	<glyph class="macromolecule" id="glyph1">
 		<label text="X" />
 		<bbox x="42" y="17" w="60" h="100"/>
 		<glyph class="state variable" id="glyph1_1">
			<state value="P" variable="122"/>
			<bbox x="17" y="41" w="50" h="25"/>
		</glyph>
 		<glyph class="state variable" id="glyph1_2">
			<state value="P" variable="257"/>
			<bbox x="76" y="41" w="50" h="25"/>
		</glyph>
 		<glyph class="state variable" id="glyph1_3">
			<state value="P" variable="312"/>
			<bbox x="17" y="78" w="50" h="25"/>
		</glyph>
 		<glyph class="state variable" id="glyph1_4">
			<state value="P" variable="438"/>
			<bbox x="76" y="78" w="50" h="25"/>
		</glyph>
 	</glyph>
  </map>
</sbgn>
			
../test-files/PD/stoichiometry.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
<map version="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.3" id="map1">

<glyph class="simple chemical" id="glyph1">
	<label text="lactose"/>
	<bbox x="50" y="50" w="60" h="60"/>
</glyph>

<glyph class="simple chemical" id="glyph2">
	<label text="galactose"/>
	<bbox x="250" y="50" w="60" h="60"/>
</glyph>

<glyph class="process" orientation="horizontal" id="pn1">
	<bbox x="170" y="70" w="20" h="20"/>
	<port x="160" y="80" id="pn1.1"/>
	<port x="200" y="80" id="pn1.2"/>
</glyph>

<arc class="consumption" source="glyph1" target="pn1.1" id="a1">
	<glyph class="cardinality" id="glyph10">
		<label text="2"/>
		<bbox x="140" y="60" w="20" h="16"/>
	</glyph>
	<start x="110" y="80" />
	<end x="160" y="80" />
</arc>

<arc class="production" source="pn1.2" target="glyph2" id="a2">
	<glyph class="cardinality" id="glyph11">
		<label text="1"/>
		<bbox x="200" y="60" w="20" h="16"/>
	</glyph>
	<start x="200" y="80" />			
	<end x="250" y="80" />
</arc>

</map>
</sbgn>
			
../test-files/PD/submap.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
<map version="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.3" id="map1">

<glyph class="macromolecule" id="glyph1">
	<label text="RAS"/>
	<bbox x="70" y="70" w="100" h="60"/>
	<glyph class="state variable" id="glyph4">
		<state value="active"/>
		<bbox x="90" y="110" w="50" h="30"/>
	</glyph>
</glyph>

<glyph class="submap" id="glyph2">
	<label text="MAPK
cascade"/>
	<bbox x="220" y="40" w="220" h="120"/>
	
	<glyph class="terminal"  orientation="right" id="glyph5">
		<label text="RAS"/>
		<bbox x="220" y="77" w="80" h="45"/>
	</glyph>
	<glyph class="terminal"  orientation="left" id="glyph6">
		<label text="ERK"/>
		<bbox x="360" y="77" w="80" h="45"/>
	</glyph>	
</glyph>

<glyph class="macromolecule" id="glyph3">
	<label text="ERK"/>
	<bbox x="520" y="70" w="100" h="60"/>
	<glyph class="state variable" id="glyph7">
		<state value="2P"/>
		<bbox x="530" y="120" w="30" h="20"/>
	</glyph>
</glyph>

<arc class="equivalence arc" source="glyph1" target="glyph5" id="a1">
	<start x="170" y="100" />
	<end x="220" y="100" />
</arc>

<arc class="equivalence arc" source="glyph3" target="glyph6" id="a2">
	<start x="520" y="100" />
	<end x="440" y="100" />
</arc>

</map>
</sbgn>
			
../test-files/PD/submap_expanded.png
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
    <map version="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.3" id="map2">
        <glyph id="glyph4" orientation="left" class="tag">
            <label text="ERK"/>
            <bbox y="130.0" x="520.0" h="60.0" w="100.0"/>
        </glyph>
        <glyph id="glyph1" class="macromolecule">
            <label text="RAS"/>
            <bbox y="20.0" x="200.0" h="60.0" w="100.0"/>
            <glyph id="glyph1a" class="state variable">
                <state value="active"/>
                <bbox y="67.0" x="225.0" h="26.0" w="50.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph3" orientation="right" class="tag">
            <label text="RAS"/>
            <bbox y="20.0" x="30.0" h="60.0" w="100.0"/>
        </glyph>
        <glyph id="glyph5" class="source and sink">
            <bbox y="130.0" x="90.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph6" class="omitted process">
            <bbox y="150.0" x="240.0" h="20.0" w="20.0"/>
            <port y="160.0" x="230.0" id="glyph6.1"/>
            <port y="160.0" x="270.0" id="glyph6.2"/>
        </glyph>
        <glyph id="glyph2" class="macromolecule">
            <label text="ERK"/>
            <bbox y="130.0" x="350.0" h="60.0" w="100.0"/>
            <glyph id="glyph2a" class="state variable">
                <state value="2P"/>
                <bbox y="179.0" x="359.0" h="22.0" w="32.0"/>
            </glyph>
        </glyph>
        <arc target="glyph6" source="glyph1" id="arc1" class="catalysis">
            <start y="92.0" x="250.0"/>
            <end y="150.0" x="250.0"/>
        </arc>
        <arc target="glyph4" source="glyph2" id="arc2" class="equivalence arc">
            <start y="160.0" x="450.0"/>
            <end y="160.0" x="520.0"/>
        </arc>
        <arc target="glyph3" source="glyph1" id="arc3" class="equivalence arc">
            <start y="50.0" x="200.0"/>
            <end y="50.0" x="130.0"/>
        </arc>
        <arc target="glyph6.1" source="glyph5" id="arc4" class="consumption">
            <start y="160.0" x="150.0"/>
            <end y="160.0" x="230.0"/>
        </arc>
        <arc target="glyph2" source="glyph6.2" id="arc5" class="production">
            <start y="160.0" x="270.0"/>
            <end y="160.0" x="350.0"/>
        </arc>
    </map>
</sbgn>
			
../test-files/PD/submaps_MAPKcascade.png
<?xml version="1.0" encoding="UTF-8"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
<map version="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.3" id="map1">

<glyph class="macromolecule" id="glyph1">
	<label text="RAS"/>
	<bbox x="70" y="70" w="100" h="60"/>
	<glyph class="state variable" id="glyph4">
		<state value="active"/>
		<bbox x="90" y="110" w="50" h="30"/>
	</glyph>
</glyph>

<glyph class="submap" id="glyph2" mapRef="map2">
	<label text="MAPK
cascade"/>
	<bbox x="220" y="40" w="220" h="120"/>
	
	<glyph class="terminal"  orientation="right" id="glyph5" tagRef="glyph03">
		<label text="RAS"/>
		<bbox x="220" y="77" w="80" h="45"/>
	</glyph>
	<glyph class="terminal"  orientation="left" id="glyph6" tagRef="glyph04">
		<label text="ERK"/>
		<bbox x="360" y="77" w="80" h="45"/>
	</glyph>	
</glyph>

<glyph class="macromolecule" id="glyph3">
	<label text="ERK"/>
	<bbox x="520" y="70" w="100" h="60"/>
	<glyph class="state variable" id="glyph7">
		<state value="2P"/>
		<bbox x="530" y="120" w="30" h="20"/>
	</glyph>
</glyph>

<arc class="equivalence arc" source="glyph1" target="glyph5" id="a1">
	<start x="170" y="100" />
	<end x="220" y="100" />
</arc>

<arc class="equivalence arc" source="glyph3" target="glyph6" id="a2">
	<start x="520" y="100" />
	<end x="440" y="100" />
</arc>

</map>
<map version="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.3" id="map2">
        <glyph id="glyph04" orientation="left" class="tag">
            <label text="ERK"/>
            <bbox y="130.0" x="520.0" h="60.0" w="100.0"/>
        </glyph>
        <glyph id="glyph01" class="macromolecule">
            <label text="RAS"/>
            <bbox y="20.0" x="200.0" h="60.0" w="100.0"/>
            <glyph id="glyph01a" class="state variable">
                <state value="active"/>
                <bbox y="67.0" x="225.0" h="26.0" w="50.0"/>
            </glyph>
        </glyph>
        <glyph id="glyph03" orientation="right" class="tag">
            <label text="RAS"/>
            <bbox y="20.0" x="30.0" h="60.0" w="100.0"/>
        </glyph>
        <glyph id="glyph05" class="source and sink">
            <bbox y="130.0" x="90.0" h="60.0" w="60.0"/>
        </glyph>
        <glyph id="glyph06" class="omitted process">
            <bbox y="150.0" x="240.0" h="20.0" w="20.0"/>
            <port y="160.0" x="230.0" id="glyph06.1"/>
            <port y="160.0" x="270.0" id="glyph06.2"/>
        </glyph>
        <glyph id="glyph02" class="macromolecule">
            <label text="ERK"/>
            <bbox y="130.0" x="350.0" h="60.0" w="100.0"/>
            <glyph id="glyph02a" class="state variable">
                <state value="2P"/>
                <bbox y="179.0" x="359.0" h="22.0" w="32.0"/>
            </glyph>
        </glyph>
        <arc target="glyph06" source="glyph01" id="arc1" class="catalysis">
            <start y="92.0" x="250.0"/>
            <end y="150.0" x="250.0"/>
        </arc>
        <arc target="glyph04" source="glyph02" id="arc2" class="equivalence arc">
            <start y="160.0" x="450.0"/>
            <end y="160.0" x="520.0"/>
        </arc>
        <arc target="glyph03" source="glyph01" id="arc3" class="equivalence arc">
            <start y="50.0" x="200.0"/>
            <end y="50.0" x="130.0"/>
        </arc>
        <arc target="glyph06.1" source="glyph05" id="arc4" class="consumption">
            <start y="160.0" x="150.0"/>
            <end y="160.0" x="230.0"/>
        </arc>
        <arc target="glyph02" source="glyph06.2" id="arc5" class="production">
            <start y="160.0" x="270.0"/>
            <end y="160.0" x="350.0"/>
        </arc>
    </map>
</sbgn>
			
../test-files/PD/utf8_test_case_with_byte_order_mark.png
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
    <map version="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.3" id="map1">
        <glyph id="glyph0" class="macromolecule">
            <label text="greek letter alpha: α"/>
            <bbox y="20.0" x="20.0" h="60.0" w="140.0"/>
        </glyph>
    </map>
</sbgn>
			
../test-files/PD/utf8_test_case_without_byte_order_mark.png
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.3">
    <map version="http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-1.3" id="map1">
        <glyph id="glyph0" class="macromolecule">
            <label text="greek letter alpha: α"/>
            <bbox y="20.0" x="20.0" h="60.0" w="140.0"/>
        </glyph>
    </map>
</sbgn>