Skip to content

Commit

Permalink
created methods to draw the line of reaction when it has one reactant…
Browse files Browse the repository at this point in the history
… and one product
  • Loading branch information
kaitoii11 committed Jun 2, 2016
1 parent a779d4b commit b59da4b
Show file tree
Hide file tree
Showing 4 changed files with 368 additions and 96 deletions.
18 changes: 9 additions & 9 deletions sample/ex1.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<sbml xmlns="http://www.sbml.org/sbml/level2/version4" xmlns:celldesigner="http://www.sbml.org/2001/ns/celldesigner" xmlns:mathml="http://www.w3.org/1998/Math/MathML" level="2" version="4">
<model metaid="ex1" id="ex1">
<sbml xmlns="http://www.sbml.org/sbml/level2/version4" xmlns:mathml="http://www.w3.org/1998/Math/MathML" xmlns:celldesigner="http://www.sbml.org/2001/ns/celldesigner" level="2" version="4">
<model metaid="ex1" id="ex1" sboTerm="SBO:0000231">
<annotation>
<celldesigner:extension>
<celldesigner:modelVersion>4.0</celldesigner:modelVersion>
Expand Down Expand Up @@ -87,10 +87,10 @@
</unitDefinition>
</listOfUnitDefinitions>
<listOfCompartments>
<compartment metaid="default" id="default" size="1" units="volume"/>
<compartment metaid="default" id="default" size="1" units="volume" sboTerm="SBO:0000240"/>
</listOfCompartments>
<listOfSpecies>
<species metaid="s1" id="A" name="A" compartment="default" initialAmount="0.1" hasOnlySubstanceUnits="true" charge="0">
<species metaid="s1" id="A" name="A" compartment="default" initialAmount="0.1" hasOnlySubstanceUnits="true" charge="0" sboTerm="SBO:0000252">
<annotation>
<celldesigner:extension>
<celldesigner:positionToCompartment>inside</celldesigner:positionToCompartment>
Expand All @@ -101,7 +101,7 @@
</celldesigner:extension>
</annotation>
</species>
<species metaid="s2" id="B" name="B" compartment="default" initialAmount="0">
<species metaid="s2" id="B" name="B" compartment="default" initialAmount="0" sboTerm="SBO:0000252">
<annotation>
<celldesigner:extension>
<celldesigner:positionToCompartment>inside</celldesigner:positionToCompartment>
Expand All @@ -114,7 +114,7 @@
</species>
</listOfSpecies>
<listOfReactions>
<reaction metaid="re2" id="re2" reversible="false" fast="false">
<reaction metaid="re2" id="re2" reversible="false" fast="false" sboTerm="SBO:0000176">
<annotation>
<celldesigner:extension>
<celldesigner:reactionType>STATE_TRANSITION</celldesigner:reactionType>
Expand All @@ -137,7 +137,7 @@
</celldesigner:extension>
</annotation>
<listOfReactants>
<speciesReference metaid="CDMT00001" species="A">
<speciesReference metaid="CDMT00001" sboTerm="SBO:0000010" species="A">
<annotation>
<celldesigner:extension>
<celldesigner:alias>sa1</celldesigner:alias>
Expand All @@ -146,15 +146,15 @@
</speciesReference>
</listOfReactants>
<listOfProducts>
<speciesReference metaid="CDMT00002" species="B">
<speciesReference metaid="CDMT00002" sboTerm="SBO:0000011" species="B">
<annotation>
<celldesigner:extension>
<celldesigner:alias>sa2</celldesigner:alias>
</celldesigner:extension>
</annotation>
</speciesReference>
</listOfProducts>
<kineticLaw metaid="CDMT00008">
<kineticLaw metaid="CDMT00008" sboTerm="SBO:0000001">
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply>
<times/>
Expand Down
Loading

0 comments on commit b59da4b

Please sign in to comment.