Skip to content

Commit

Permalink
Release V 1.1 (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
AtiyahElsheikh committed May 2, 2021
1 parent 517a996 commit e2c4b6c
Show file tree
Hide file tree
Showing 207 changed files with 788 additions and 1,045 deletions.
7 changes: 1 addition & 6 deletions BioChem/Compartments/Compartment.mo
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@ within BioChem.Compartments;

model Compartment "Default compartment (constant volume)"
extends BioChem.Interfaces.Compartments.Compartment(V(stateSelect=StateSelect.prefer));
extends BioChem.Icons.Compartments.Compartment;
equation
der(V)=0 "Compartment volume is constant";
annotation(Documentation(info="<html>
<h1>Compartment</h1>
<p>
Default compartment model.
</p>
</html>", revisions=""), Icon(coordinateSystem(extent={{-100,100},{100,-100}}, preserveAspectRatio=true, grid={10,10}), graphics={Text(fillColor={0,85,0}, fillPattern=FillPattern.Solid, extent={{-100,-170},{100,-120}}, textString="%name", fontName="Arial"),Rectangle(lineColor={0,85,0}, fillColor={199,199,149}, fillPattern=FillPattern.Solid, lineThickness=10, extent={{-110,-110},{110,110}}, radius=20)}), Diagram(coordinateSystem(extent={{-100,100},{100,-100}}, preserveAspectRatio=true, grid={10,10})));
end Compartment;
5 changes: 2 additions & 3 deletions BioChem/Compartments/MainCompartment.mo
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ within BioChem.Compartments;

model MainCompartment "Main compartment (constant volume)"
extends BioChem.Interfaces.Compartments.MainCompartment(V(stateSelect = StateSelect.prefer));
extends Icons.Compartments.MainCompartment;
equation
der(V) = 0 "Compartment volume is constant";
annotation(
Expand All @@ -11,7 +12,5 @@ equation
<p>
Main compartment model.
</p>
</html>", revisions = ""),
Icon(coordinateSystem(extent = {{-100, 100}, {100, -100}}, preserveAspectRatio = true, grid = {10, 10}), graphics = {Text(fillColor = {0, 85, 0}, fillPattern = FillPattern.Solid, extent = {{-100, -170}, {100, -120}}, textString = "%name", fontName = "Arial"), Rectangle(lineColor = {0, 85, 0}, fillColor = {199, 199, 149}, fillPattern = FillPattern.Solid, lineThickness = 10, extent = {{-110, -110}, {110, 110}}, radius = 20), Text(fillPattern = FillPattern.Solid, extent = {{-82.12, -80}, {80, 80}}, textString = "main", fontName = "Arial", textStyle = {TextStyle.Bold})}),
Diagram(coordinateSystem(extent = {{-100, 100}, {100, -100}}, preserveAspectRatio = true, grid = {10, 10})));
</html>", revisions = ""));
end MainCompartment;
2 changes: 1 addition & 1 deletion BioChem/Compartments/package.mo
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
within BioChem;

package Compartments "Different types of compartments used in the package"
extends Icons.Library;
extends Icons.Compartments;

annotation(
Documentation(info = "<html>
Expand Down
2 changes: 1 addition & 1 deletion BioChem/Examples/package.mo
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
within BioChem;

package Examples "Some examples of BioChem models"
extends Icons.Library;
extends Modelica.Icons.ExamplesPackage;

model InsulinSignaling_Sedaghat "Metabolic insulin signaling pathway in rat adipocytes"
extends BioChem.Compartments.Compartment;
Expand Down
9 changes: 9 additions & 0 deletions BioChem/Icons/Base.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
within BioChem.Icons;

partial class Base
annotation(Icon(coordinateSystem(extent = {{-100, 100}, {100, -100}}, preserveAspectRatio = true, grid = {10, 10})),
Documentation(info = "<html><head></head><body><font size=\"5\">A base icon relevant for many components carrying the same annotations. Older annotations had the following attribute:</font><div><br></div><div>
<pre style=\"margin-top: 0px; margin-bottom: 0px;\"><!--StartFragment--><span style=\" font-family:'Courier New'; font-size:12pt; color:#0000ff;\">Diagram</span><span style=\"font-family: 'Courier New'; font-size: 12pt;\">(</span><span style=\" font-family:'Courier New'; font-size:12pt; color:#0000ff;\">coordinateSystem</span><span style=\"font-family: 'Courier New'; font-size: 12pt;\">(extent={{-</span><span style=\" font-family:'Courier New'; font-size:12pt; color:#8b008b;\">100.0</span><span style=\"font-family: 'Courier New'; font-size: 12pt;\">,-</span><span style=\" font-family:'Courier New'; font-size:12pt; color:#8b008b;\">100.0</span><span style=\"font-family: 'Courier New'; font-size: 12pt;\">},{</span><span style=\" font-family:'Courier New'; font-size:12pt; color:#8b008b;\">100.0</span><span style=\"font-family: 'Courier New'; font-size: 12pt;\">,</span><span style=\" font-family:'Courier New'; font-size:12pt; color:#8b008b;\">100.0</span><span style=\"font-family: 'Courier New'; font-size: 12pt;\">}}, preserveAspectRatio=</span><span style=\" font-family:'Courier New'; font-size:12pt; color:#8b0000;\">true</span><span style=\"font-family: 'Courier New'; font-size: 12pt;\">, grid={</span><span style=\" font-family:'Courier New'; font-size:12pt; color:#8b008b;\">10</span><span style=\"font-family: 'Courier New'; font-size: 12pt;\">,</span><span style=\" font-family:'Courier New'; font-size:12pt; color:#8b008b;\">10</span><span style=\"font-family: 'Courier New'; font-size: 12pt;\">}))</span><!--EndFragment--></pre><pre style=\"margin-top: 0px; margin-bottom: 0px;\"><span style=\"font-family: 'Courier New'; font-size: 12pt;\"><br></span></pre><p><span style=\"font-size: 12pt;\"><font face=\"Arial\">Since this produces empty diagram, it is not clear why is it there. So it is there for now.&nbsp;</font></span></p><p><span style=\"font-size: 12pt;\"><font face=\"Arial\">This Icon will also replace Icons.IconBase, which does not seem to be used throughout the library.&nbsp;</font></span></p><pre style=\"margin-top: 0px; margin-bottom: 0px;\"><br></pre></div></body></html>"));
end Base;
7 changes: 7 additions & 0 deletions BioChem/Icons/Compartments/Compartment.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
within BioChem.Icons.Compartments;

partial class Compartment "Default compartment (constant volume)"
extends BioChem.Icons.Base;
annotation(
Icon(coordinateSystem(extent = {{-100, 100}, {100, -100}}, preserveAspectRatio = true, grid = {10, 10}), graphics = {Text(fillColor = {0, 85, 0}, fillPattern = FillPattern.Solid, extent = {{-100, -170}, {100, -120}}, textString = "%name", fontName = "Arial"), Rectangle(lineColor = {0, 85, 0}, fillColor = {199, 199, 149}, fillPattern = FillPattern.Solid, lineThickness = 10, extent = {{-110, -110}, {110, 110}}, radius = 20)}));
end Compartment;
14 changes: 14 additions & 0 deletions BioChem/Icons/Compartments/MainCompartment.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
within BioChem.Icons.Compartments;

partial class MainCompartment "Main compartment (constant volume)"
extends BioChem.Icons.Base;
annotation(
Documentation(info = "<html>
<h1>MainCompartment</h1>
<p>
Main compartment model.
</p>
</html>", revisions = ""),
Icon(coordinateSystem(extent = {{-100, 100}, {100, -100}}, preserveAspectRatio = true, grid = {10, 10}), graphics = {Text(fillColor = {0, 85, 0}, fillPattern = FillPattern.Solid, extent = {{-100, -170}, {100, -120}}, textString = "%name", fontName = "Arial"), Rectangle(lineColor = {0, 85, 0}, fillColor = {199, 199, 149}, fillPattern = FillPattern.Solid, lineThickness = 10, extent = {{-110, -110}, {110, 110}}, radius = 20), Text(fillPattern = FillPattern.Solid, extent = {{-82.12, -80}, {80, 80}}, textString = "main", fontName = "Arial", textStyle = {TextStyle.Bold})}));
end MainCompartment;
15 changes: 15 additions & 0 deletions BioChem/Icons/Compartments/package.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
within BioChem.Icons;

package Compartments "Different types of compartments used in the package"
extends BioChem.Icons.Library;

annotation(
Documentation(info = "<html>
<h1>Compartments</h1>
<a name=\"fig1\"></a>
<img src=\"modelica://BioChem/Resources/Images/Compartment.png\" alt=\"Fig1: Compartments\">
</html>", revisions = ""),
Icon(coordinateSystem(extent = {{-100, 100}, {100, -100}}, preserveAspectRatio = true, grid = {10, 10}), graphics = {Rectangle(origin = {5, -7.55952}, lineColor = {0, 85, 0}, fillColor = {199, 199, 149}, fillPattern = FillPattern.Solid, lineThickness = 10, extent = {{-70, -70}, {40, 30}}, radius = 20)}),
Diagram(coordinateSystem(extent = {{-100, 100}, {100, -100}}, preserveAspectRatio = true, grid = {10, 10})));
end Compartments;
2 changes: 2 additions & 0 deletions BioChem/Icons/Compartments/package.order
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Compartment
MainCompartment
3 changes: 2 additions & 1 deletion BioChem/Icons/Example.mo
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ within BioChem.Icons;
partial package Example "Icon for an example model"
annotation(
Icon(coordinateSystem(extent = {{-100, 100}, {100, -100}}, preserveAspectRatio = true, grid = {10, 10}), graphics = {Rectangle(fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, extent = {{-100, -100}, {80, 50}}), Polygon(fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, points = {{-100, 50}, {-80, 70}, {100, 70}, {80, 50}, {-100, 50}}), Polygon(fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, points = {{100, 70}, {100, -80}, {80, -100}, {80, 50}, {100, 70}}), Text(fillColor = {0, 0, 255}, fillPattern = FillPattern.Solid, extent = {{-85, -85}, {65, 35}}, textString = "Example", fontName = "Arial"), Text(fillColor = {255, 0, 0}, extent = {{-120, 73}, {120, 132}}, textString = "%name", fontName = "Arial")}),
Diagram(coordinateSystem(extent = {{-100, 100}, {100, -100}}, preserveAspectRatio = true, grid = {10, 10})));
Diagram(coordinateSystem(extent = {{-100, 100}, {100, -100}}, preserveAspectRatio = true, grid = {10, 10})),
Documentation(info = "<html><head></head><body><font size=\"5\">The implementation of this Icon looks nicer than the implementation of Modelica.Icoms.Example</font></body></html>"));
end Example;
6 changes: 4 additions & 2 deletions BioChem/Icons/IconBase.mo
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
within BioChem.Icons;

model IconBase
partial class IconBase
extends Modelica.Icons.ObsoleteModel;
annotation(
Diagram(coordinateSystem(extent = {{-100.0, -100.0}, {100.0, 100.0}}, preserveAspectRatio = true, grid = {10, 10})),
Icon(coordinateSystem(extent = {{-100.0, -100.0}, {100.0, 100.0}}, preserveAspectRatio = true, grid = {10, 10}), graphics = {Text(origin = {0.0, -127.1933}, fillPattern = FillPattern.Solid, extent = {{-100.0, -27.1933}, {100.0, 27.1933}}, textString = "%name", fontName = "Arial")}));
Icon(coordinateSystem(extent = {{-100.0, -100.0}, {100.0, 100.0}}, preserveAspectRatio = true, grid = {10, 10}), graphics = {Text(origin = {0.0, -127.1933}, fillPattern = FillPattern.Solid, extent = {{-100.0, -27.1933}, {100.0, 27.1933}}, textString = "%name", fontName = "Arial")}),
Documentation(info = "<html><head></head><body><font size=\"5\">This Icon does not seem to be used throughout the library and is going to be replace by Icons.Base in future versions. The Diagram annotation does not seem to play any rule as it produces only an empty diagram.</font></body></html>"));
end IconBase;
7 changes: 7 additions & 0 deletions BioChem/Icons/Interfaces/Compartments/Compartment.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
within BioChem.Icons.Interfaces.Compartments;

partial class Compartment
extends BioChem.Icons.Base;
annotation(
Icon(graphics = {Text(fillColor = {0, 85, 0}, fillPattern = FillPattern.Solid, extent = {{-100, -170}, {100, -120}}, textString = "%name", fontName = "Arial"), Rectangle(lineColor = {0, 0, 127}, fillColor = {0, 170, 255}, fillPattern = FillPattern.Solid, lineThickness = 10, extent = {{-110, -110}, {110, 110}}, radius = 20)}));
end Compartment;
7 changes: 7 additions & 0 deletions BioChem/Icons/Interfaces/Compartments/MainCompartment.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
within BioChem.Icons.Interfaces.Compartments;

partial class MainCompartment
extends BioChem.Icons.Interfaces.Compartments.Compartment;
annotation(
Icon(graphics = {Text(fillColor = {0, 85, 0}, fillPattern = FillPattern.Solid, extent = {{-100, -170}, {100, -120}}, textString = "%name", fontName = "Arial"), Text(fillPattern = FillPattern.Solid, extent = {{-82.12, -80}, {80, 80}}, textString = "main", fontName = "Arial", textStyle = {TextStyle.Bold})}));
end MainCompartment;
6 changes: 6 additions & 0 deletions BioChem/Icons/Interfaces/Compartments/package.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
within BioChem.Icons.Interfaces;

package Compartments "Properties for compartments"
extends BioChem.Icons.Library;

end Compartments;
2 changes: 2 additions & 0 deletions BioChem/Icons/Interfaces/Compartments/package.order
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Compartment
MainCompartment
5 changes: 5 additions & 0 deletions BioChem/Icons/Interfaces/Nodes/ActivatorConnector.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
within BioChem.Icons.Interfaces.Nodes;

partial class ActivatorConnector "Icon for a connector between activators and reactions"
annotation(Diagram(coordinateSystem(extent={{-100,100},{100,-100}}, preserveAspectRatio=true, grid={10,10}), graphics={Rectangle(lineColor={0,85,0}, fillColor={255,255,255}, extent={{-20,-20},{20,20}}),Line(points={{-20,20},{20,-20}}, color={0,85,0}),Line(points={{-20,-20},{20,20}}, color={0,85,0})}), Icon(coordinateSystem(extent={{-100,-100},{100,100}}, preserveAspectRatio=true, grid={10,10}), graphics={Ellipse(fillColor={0,128,0}, fillPattern=FillPattern.Solid, extent={{-100,-100},{100,100}}),Polygon(fillColor={255,255,255}, pattern=LinePattern.None, fillPattern=FillPattern.Solid, points={{-10,80},{-10,10},{-80,10},{-80,-10},{-10,-10},{-10,-80},{10,-80},{10,-10},{80,-10},{80,10},{10,10},{10,80}})}));
end ActivatorConnector;
5 changes: 5 additions & 0 deletions BioChem/Icons/Interfaces/Nodes/InhibitorConnector.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
within BioChem.Icons.Interfaces.Nodes;

partial class InhibitorConnector "Icon for a connector between inhibitors and reactions"
annotation(Diagram(coordinateSystem(extent={{-100,100},{100,-100}}, preserveAspectRatio=true, grid={10,10}), graphics={Rectangle(lineColor={0,85,0}, fillColor={255,255,255}, extent={{-20,-20},{20,20}}),Line(points={{-20,20},{20,-20}}, color={0,85,0}),Line(points={{-20,-20},{20,20}}, color={0,85,0})}), Icon(coordinateSystem(extent={{-100,-100},{100,100}}, preserveAspectRatio=true, grid={10,10}), graphics={Ellipse(fillColor={170,0,0}, fillPattern=FillPattern.Solid, extent={{-100,-100},{100,100}}),Polygon(fillColor={255,255,255}, pattern=LinePattern.None, fillPattern=FillPattern.Solid, points={{-80,10},{-80,-10},{80,-10},{80,10}})}));
end InhibitorConnector;
5 changes: 5 additions & 0 deletions BioChem/Icons/Interfaces/Nodes/ModifierConnector.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
within BioChem.Icons.Interfaces.Nodes;

partial class ModifierConnector "Icon for a connector between general modifieres and reactions"
annotation(Diagram(coordinateSystem(extent={{-100,100},{100,-100}}, preserveAspectRatio=true, grid={10,10}), graphics={Rectangle(lineColor={0,85,0}, fillColor={255,255,255}, extent={{-20,-20},{20,20}}),Line(points={{-20,20},{20,-20}}, color={0,85,0}),Line(points={{-20,-20},{20,20}}, color={0,85,0})}), Icon(coordinateSystem(extent={{-100,-100},{100,100}}, preserveAspectRatio=true, grid={10,10}), graphics={Ellipse(fillColor={255,255,0}, fillPattern=FillPattern.Solid, extent={{-100,-100},{100,100}})}));
end ModifierConnector;
5 changes: 5 additions & 0 deletions BioChem/Icons/Interfaces/Nodes/ProductConnector.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
within BioChem.Icons.Interfaces.Nodes;

partial class ProductConnector "Icon for a connector between substances and reactions (product side of reaction)"
annotation(Icon(coordinateSystem(extent={{-100,100},{100,-100}}, preserveAspectRatio=true, grid={10,10}), graphics={Ellipse(lineColor={0,85,127}, fillColor={255,255,255}, fillPattern=FillPattern.Solid, extent={{-100,-100},{100,100}})}), Diagram(coordinateSystem(extent={{-100,100},{100,-100}}, preserveAspectRatio=true, grid={10,10}), graphics={Rectangle(lineColor={0,85,0}, fillColor={255,255,255}, extent={{-20,-20},{20,20}}),Line(points={{-20,20},{20,-20}}, color={0,85,0}),Line(points={{-20,-20},{20,20}}, color={0,85,0})}));
end ProductConnector;
5 changes: 5 additions & 0 deletions BioChem/Icons/Interfaces/Nodes/SubstanceConnector.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
within BioChem.Icons.Interfaces.Nodes;

partial class SubstanceConnector "Icon for a connector between substances and reactions"
annotation(Icon(coordinateSystem(extent={{-100,100},{100,-100}}, preserveAspectRatio=true, grid={10,10}), graphics={Ellipse(lineColor={0,85,0}, fillColor={0,85,127}, extent={{-100,-100},{100,100}})}), Diagram(coordinateSystem(extent={{-100,100},{100,-100}}, preserveAspectRatio=true, grid={10,10}), graphics={Rectangle(lineColor={0,85,0}, fillColor={255,255,255}, extent={{-20,-20},{20,20}}),Line(points={{-20,20},{20,-20}}, color={0,85,0}),Line(points={{-20,-20},{20,20}}, color={0,85,0})}));
end SubstanceConnector;
5 changes: 5 additions & 0 deletions BioChem/Icons/Interfaces/Nodes/SubstrateConnector.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
within BioChem.Icons.Interfaces.Nodes;

partial class SubstrateConnector "Icon for a connector between substances and reactions (substrate side of reaction)"
annotation(Icon(coordinateSystem(extent={{-100,100},{100,-100}}, preserveAspectRatio=true, grid={10,10}), graphics={Ellipse(lineColor={0,85,127}, fillColor={0,85,127}, fillPattern=FillPattern.Solid, extent={{-100,-100},{100,100}})}), Diagram(coordinateSystem(extent={{-100,100},{100,-100}}, preserveAspectRatio=true, grid={10,10}), graphics={Rectangle(lineColor={0,85,0}, fillColor={255,255,255}, extent={{-20,-20},{20,20}}),Line(points={{-20,20},{20,-20}}, color={0,85,0}),Line(points={{-20,-20},{20,20}}, color={0,85,0})}));
end SubstrateConnector;
5 changes: 5 additions & 0 deletions BioChem/Icons/Interfaces/Nodes/package.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
within BioChem.Icons.Interfaces;
package Nodes "Connector interfaces used in the package"
extends BioChem.Icons.Library;

end Nodes;
6 changes: 6 additions & 0 deletions BioChem/Icons/Interfaces/Nodes/package.order
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ActivatorConnector
InhibitorConnector
ModifierConnector
ProductConnector
SubstanceConnector
SubstrateConnector
7 changes: 7 additions & 0 deletions BioChem/Icons/Interfaces/Reactions/Basics/FastEquilibrium.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
within BioChem.Icons.Interfaces.Reactions.Basics;

partial class FastEquilibrium "Basics for a reaction edge"
extends BioChem.Icons.Base;
annotation(
Icon(graphics = {Line(points = {{-50.0, 0.0}, {50.0, 0.0}}, color = {0, 0, 255}, pattern = LinePattern.DashDotDot, thickness = 2), Text(origin = {-0.0, 0.0}, fillColor = {77, 77, 77}, fillPattern = FillPattern.Solid, extent = {{-100.0, -150.0}, {97.9, -100.0}}, textString = "%name", fontName = "Arial")}));
end FastEquilibrium;
6 changes: 6 additions & 0 deletions BioChem/Icons/Interfaces/Reactions/Basics/FourProducts.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
within BioChem.Icons.Interfaces.Reactions.Basics;

partial class FourProducts
annotation(
Icon(graphics = {Line(points = {{50, 0}, {62.5, 87.5}, {100, 87.5}}, color = {170, 0, 0}, arrow = {Arrow.None, Arrow.Open}, arrowSize = 35, smooth = Smooth.Bezier), Line(points = {{50, 0}, {62.5, -87.5}, {100, -87.5}}, color = {170, 0, 0}, arrow = {Arrow.None, Arrow.Open}, arrowSize = 35, smooth = Smooth.Bezier), Line(points = {{50, 0}, {62.5, 37.5}, {100, 37.5}}, color = {170, 0, 0}, arrow = {Arrow.None, Arrow.Open}, arrowSize = 35, smooth = Smooth.Bezier), Line(points = {{50, 0}, {62.5, -37.5}, {100, -37.5}}, color = {170, 0, 0}, arrow = {Arrow.None, Arrow.Open}, arrowSize = 35, smooth = Smooth.Bezier)}));
end FourProducts;
6 changes: 6 additions & 0 deletions BioChem/Icons/Interfaces/Reactions/Basics/FourSubstrates.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
within BioChem.Icons.Interfaces.Reactions.Basics;

partial class FourSubstrates
extends BioChem.Icons.Base;
annotation(Icon(graphics={Line(points={{-100,87.5},{-62.5,87.5},{-50,0}}, color={170,0,0}, smooth=Smooth.Bezier),Line(points={{-100,-87.5},{-62.5,-87.5},{-50,0}}, color={170,0,0}, smooth=Smooth.Bezier),Line(points={{-100,-37.5},{-62.5,-37.5},{-50,0}}, color={170,0,0}, smooth=Smooth.Bezier),Line(points={{-100,37.5},{-62.5,37.5},{-50,0}}, color={170,0,0}, smooth=Smooth.Bezier)}));
end FourSubstrates;
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
within BioChem.Icons.Interfaces.Reactions.Basics;

partial class FourSubstratesReversible
extends BioChem.Icons.Base;
annotation(
Icon(graphics = {Line(points = {{-100, 87.5}, {-62.5, 87.5}, {-50, 0}}, color = {170, 0, 0}, arrow = {Arrow.Open, Arrow.None}, arrowSize = 35, smooth = Smooth.Bezier), Line(points = {{-100, -87.5}, {-62.5, -87.5}, {-50, 0}}, color = {170, 0, 0}, arrow = {Arrow.Open, Arrow.None}, arrowSize = 35, smooth = Smooth.Bezier), Line(points = {{-100, -37.5}, {-62.5, -37.5}, {-50, 0}}, color = {170, 0, 0}, arrow = {Arrow.Open, Arrow.None}, arrowSize = 35, smooth = Smooth.Bezier), Line(points = {{-100, 37.5}, {-62.5, 37.5}, {-50, 0}}, color = {170, 0, 0}, arrow = {Arrow.Open, Arrow.None}, arrowSize = 35, smooth = Smooth.Bezier)}));
end FourSubstratesReversible;
8 changes: 8 additions & 0 deletions BioChem/Icons/Interfaces/Reactions/Basics/MultipleProducts.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
within BioChem.Icons.Interfaces.Reactions.Basics;

partial class MultipleProducts "SubstanceConnector for arbitrary number of products"
extends BioChem.Icons.Base;
annotation(
Icon(graphics = {Line(points = {{48.33, 0.0}, {98.33, 0.0}}, color = {170, 0, 0}, arrow = {Arrow.None, Arrow.Open}, arrowSize = 50), Ellipse(origin = {112.5, -0.0}, lineColor = {170, 0, 0}, fillColor = {170, 0, 0}, extent = {{-20.0, -20.0}, {20.0, 20.0}})}));
end MultipleProducts;

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
within BioChem.Icons.Interfaces.Reactions.Basics;

partial class MultipleSubstrates "SubstanceConnector for arbitrary number of substrates"
extends BioChem.Icons.Base;
annotation(
Icon(graphics = {Line(points = {{-100, 0}, {-50, 0}}, color = {170, 0, 0}), Ellipse(lineColor = {170, 0, 0}, fillColor = {170, 0, 0}, extent = {{-131.2, -18.75}, {-93.75, 18.75}})}));
end MultipleSubstrates;
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
within BioChem.Icons.Interfaces.Reactions.Basics;

partial class MultipleSubstratesReversible "SubstanceConnector for arbitrary number of substrates"
extends BioChem.Icons.Base;
annotation(
Icon(graphics = {Line(points = {{-50.0, 0.0}, {-100.0, 0.0}}, color = {170, 0, 0}, arrow = {Arrow.None, Arrow.Open}, arrowSize = 50), Ellipse(origin = {-112.5, 0.0}, fillColor = {255, 255, 255}, extent = {{-20.0, -20.0}, {20.0, 20.0}})}));
end MultipleSubstratesReversible;
7 changes: 7 additions & 0 deletions BioChem/Icons/Interfaces/Reactions/Basics/OneProduct.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
within BioChem.Icons.Interfaces.Reactions.Basics;

partial class OneProduct "SubstanceConnector for one product"
extends BioChem.Icons.Base;
annotation(
Icon(graphics = {Line(points = {{50, 0}, {100, 0}}, color = {170, 0, 0}, arrow = {Arrow.None, Arrow.Open}, arrowSize = 50)}));
end OneProduct;
Loading

0 comments on commit e2c4b6c

Please sign in to comment.