Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
5e4baf9
fix merging error. partial keyword retained
AtiyahElsheikh Jul 1, 2020
247c6cc
reorganizing units and substances package icons into Icons directory
AtiyahElsheikh Jul 2, 2020
ef52db1
MSL 4.0.0 instead of 3.2.3
AtiyahElsheikh Mar 28, 2021
cfbe44e
Icons package extends the standard Icon package of MSL 4.0.0
AtiyahElsheikh Mar 28, 2021
aecda8d
notes on the difference between Biochem.Icons and Modelica.Icons.* in…
AtiyahElsheikh Mar 28, 2021
3077aed
revision information
AtiyahElsheikh Mar 28, 2021
4a47866
making use of Modelica.Icons.InterfacesPackage
AtiyahElsheikh Mar 28, 2021
339af08
Making use of Modelica.Icons.* when needed, however preferring Bioche…
AtiyahElsheikh Mar 28, 2021
c662cff
Merge branch 'develop' into Issue14_Icons
AtiyahElsheikh Mar 29, 2021
abcdde8
Back to MSL 3.2.3
AtiyahElsheikh Mar 30, 2021
8f4e786
Move annotations to the correct position in a class (#18)
sjoelund Apr 6, 2021
517a996
Convert to MSL 4.0.0 (#19)
sjoelund Apr 6, 2021
618e47a
Merge pull request #4 from OpenModelica/master
AtiyahElsheikh Apr 6, 2021
e09f1f7
Merge branch 'master' into Issue14_Icons
AtiyahElsheikh Apr 6, 2021
dcfc067
resolve conflict due to BioChem 1.0.3
AtiyahElsheikh Apr 6, 2021
0b54550
resolve conflict due to BioChem V 1.0.3
AtiyahElsheikh Apr 6, 2021
76cf6f5
Merge pull request #5 from OpenModelica/develop
AtiyahElsheikh Apr 6, 2021
288d11e
Merge branch 'develop' of https://github.com/AtiyahElsheikh/BioChem i…
AtiyahElsheikh Apr 6, 2021
77f10cc
Merge pull request #6 from OpenModelica/develop
AtiyahElsheikh Apr 7, 2021
b4dbfd0
Merge branch 'develop' of https://github.com/AtiyahElsheikh/BioChem i…
AtiyahElsheikh Apr 7, 2021
88cf4ff
Merge pull request #7 from OpenModelica/develop
AtiyahElsheikh Apr 17, 2021
5b8946b
Merge branch 'develop' of https://github.com/AtiyahElsheikh/BioChem i…
AtiyahElsheikh Apr 17, 2021
82aeac7
Icons for package
AtiyahElsheikh Apr 17, 2021
d2cea92
missing
AtiyahElsheikh Apr 17, 2021
b022d41
Merge pull request #8 from OpenModelica/develop
AtiyahElsheikh Apr 17, 2021
e8691fa
Merge branch 'develop' of https://github.com/AtiyahElsheikh/BioChem i…
AtiyahElsheikh Apr 17, 2021
dc5d031
Fix compilation error
AtiyahElsheikh Apr 17, 2021
142bb58
remove unnecessary annotations
AtiyahElsheikh Apr 18, 2021
e3c9117
extra file not needed
AtiyahElsheikh Apr 18, 2021
5f25b06
Icons within the Interfaces.Substances package
AtiyahElsheikh Apr 18, 2021
4cc5d05
order physical units alphabetically
AtiyahElsheikh Apr 18, 2021
77e11d3
correct alphabetical order
AtiyahElsheikh Apr 18, 2021
290da89
Alphabetical order
AtiyahElsheikh Apr 18, 2021
1cd8598
employ Modelica.Icons.IconsPackage
AtiyahElsheikh Apr 22, 2021
52b81a6
Variants of BioChem.Icons.Library
AtiyahElsheikh Apr 22, 2021
0ff9e0e
move package annotations to BioChem.Icons.Substances instead of addit…
AtiyahElsheikh Apr 24, 2021
f286471
no need for extra package PackageIcon
AtiyahElsheikh Apr 24, 2021
0dd57e2
Move compartments annotations to a new Icons.Compartments package
AtiyahElsheikh Apr 24, 2021
f1aea34
documentation
AtiyahElsheikh Apr 24, 2021
dbd479f
Move Interfaces.Substances annotations to BioChem.Icons
AtiyahElsheikh Apr 24, 2021
bd01941
moving BioChem.Interfaces.Nodes.* annotation to the BioChem.Icons.Int…
AtiyahElsheikh Apr 24, 2021
134176c
complete package names after extend statements
AtiyahElsheikh Apr 24, 2021
0702da4
improve documentation
AtiyahElsheikh Apr 24, 2021
878dc38
Due to the implementation of OMEdit, interchange the two extend state…
AtiyahElsheikh Apr 24, 2021
1a4a35d
move annotations from BioChem.Interfaces.Compartments tp BioChem.Icon…
AtiyahElsheikh Apr 24, 2021
62513ee
mpve unit package annotations to BioChem.Icons.Units
AtiyahElsheikh Apr 25, 2021
59e129b
move graphical annotations of BioChem.Interfaces to BioChem.Icons.Int…
AtiyahElsheikh Apr 25, 2021
46ea284
remove unnecessary extra models
AtiyahElsheikh Apr 25, 2021
65aacb8
complete package names
AtiyahElsheikh Apr 26, 2021
b9114e0
Move graphical annotations of reactions to BioChem.Icons.Interfaces.R…
AtiyahElsheikh Apr 27, 2021
70b4312
fix
AtiyahElsheikh Apr 27, 2021
8204166
clean
AtiyahElsheikh Apr 27, 2021
a7b6fe9
complete package name and remove unnecessary annotations
AtiyahElsheikh Apr 28, 2021
66e0b78
clean
AtiyahElsheikh Apr 28, 2021
bdf7d11
icons to be classes instead of models. delete unnecessary icons.
AtiyahElsheikh Apr 29, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/Icons/Base.mo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
within BioChem.Icons;

partial model Base
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>"));
Expand Down
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
2 changes: 1 addition & 1 deletion BioChem/Icons/IconBase.mo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
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})),
Expand Down
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 model 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;
6 changes: 6 additions & 0 deletions BioChem/Icons/Interfaces/Reactions/Basics/OneSubstrate.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
within BioChem.Icons.Interfaces.Reactions.Basics;

partial class OneSubstrate "SubstanceConnector for one substrate"
extends BioChem.Icons.Base;
annotation(Icon(graphics={Line(points={{-50,0},{-100,0}}, color={170,0,0}, arrowSize=25)}));
end OneSubstrate;
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
within BioChem.Icons.Interfaces.Reactions.Basics;

partial class OneSubstrateReversible
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)}));
end OneSubstrateReversible;
6 changes: 6 additions & 0 deletions BioChem/Icons/Interfaces/Reactions/Basics/Reaction.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
within BioChem.Icons.Interfaces.Reactions.Basics;

partial class Reaction "Basics for a reaction edge"
annotation(
Icon(graphics = {Line(points = {{-50, 0}, {50, 0}}, color = {170, 0, 0}), Text(origin = {-4.44089e-15, 1.42109e-14}, fillColor = {77, 77, 77}, fillPattern = FillPattern.Solid, extent = {{-100, -150}, {97.9, -100}}, textString = "%name", fontName = "Arial")}));
end Reaction;
6 changes: 6 additions & 0 deletions BioChem/Icons/Interfaces/Reactions/Basics/ThreeProducts.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
within BioChem.Icons.Interfaces.Reactions.Basics;

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

partial class ThreeSubstrates "SubstanceConnectors for three substrates"
annotation(
Icon(graphics = {Line(points = {{-50, 0}, {-62.5, 75}, {-100, 75}}, color = {170, 0, 0}, smooth = Smooth.Bezier), Line(points = {{-100, 0}, {-50, 0}}, color = {170, 0, 0}), Line(points = {{-100, -75}, {-62.5, -75}, {-50, 0}}, color = {170, 0, 0}, smooth = Smooth.Bezier)}));
end ThreeSubstrates;
Loading