Skip to content

Commit c426429

Browse files
committed
add back model visualization doc page
1 parent 71e9563 commit c426429

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

docs/pages.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ pages = Any[
1414
# Events.
1515
#"model_creation/parametric_stoichiometry.md",# Distributed parameters, rates, and initial conditions.
1616
# Loading and writing models to files.
17-
#"model_creation/model_visualisation.md",
17+
"model_creation/model_visualisation.md",
1818
#"model_creation/network_analysis.md",
1919
"model_creation/chemistry_related_functionality.md",
2020
"Model creation examples" => Any[
21-
#"model_creation/examples/basic_CRN_library.md",
21+
"model_creation/examples/basic_CRN_library.md",
2222
"model_creation/examples/programmatic_generative_linear_pathway.md",
2323
#"model_creation/examples/hodgkin_huxley_equation.md",
2424
#"model_creation/examples/smoluchowski_coagulation_equation.md"
@@ -28,7 +28,7 @@ pages = Any[
2828
"model_simulation/simulation_introduction.md",
2929
"model_simulation/simulation_plotting.md",
3030
"model_simulation/simulation_structure_interfacing.md",
31-
#"model_simulation/ensemble_simulations.md",
31+
"model_simulation/ensemble_simulations.md",
3232
# Stochastic simulation statistical analysis.
3333
"model_simulation/ode_simulation_performance.md",
3434
# SDE Performance considerations/advice.
@@ -37,7 +37,7 @@ pages = Any[
3737
],
3838
"Steady state analysis" => Any[
3939
"steady_state_functionality/homotopy_continuation.md",
40-
#"steady_state_functionality/nonlinear_solve.md",
40+
"steady_state_functionality/nonlinear_solve.md",
4141
"steady_state_functionality/steady_state_stability_computation.md",
4242
"steady_state_functionality/bifurcation_diagrams.md",
4343
"steady_state_functionality/dynamical_systems.md"
@@ -49,7 +49,7 @@ pages = Any[
4949
# ODE parameter fitting using Turing.
5050
# SDE/Jump fitting.
5151
"inverse_problems/behaviour_optimisation.md",
52-
#"inverse_problems/structural_identifiability.md", # Broken on Julia v1.10.3, requires v1.10.2 or 1.10.4.
52+
"inverse_problems/structural_identifiability.md", # Broken on Julia v1.10.3, requires v1.10.2 or 1.10.4.
5353
# Practical identifiability.
5454
"inverse_problems/global_sensitivity_analysis.md",
5555
"Inverse problem examples" => Any[
14.3 KB
Loading
13.3 KB
Loading
12.3 KB
Loading

docs/src/model_creation/model_visualisation.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ brusselator = @reaction_network begin
4545
1, X --> ∅
4646
end
4747
Graph(brusselator)
48+
nothing # hide
4849
```
50+
!["Brusselator Graph"](../assets/network_graphs/brusselator_graph.png)
51+
4952
The network graph represents species as blue nodes and reactions as orange dots. Black arrows from species to reactions indicate substrates, and are labelled with their respective stoichiometries. Similarly, black arrows from reactions to species indicate products (also labelled with their respective stoichiometries). If there are any reactions where a species affect the rate, but does not participate as a reactant, this is displayed with a dashed red arrow. This can be seen in the following [Repressilator model](@ref basic_CRN_library_repressilator):
5053
```@example visualisation_graphs
5154
repressilator = @reaction_network begin
@@ -55,7 +58,9 @@ repressilator = @reaction_network begin
5558
d, (X, Y, Z) --> ∅
5659
end
5760
Graph(repressilator)
61+
nothing # hide
5862
```
63+
!["Repressilator Graph"](../assets/network_graphs/repressilator_graph.png)
5964

6065
A generated graph can be saved using the `savegraph` function:
6166
```@example visualisation_graphs
@@ -67,5 +72,7 @@ rm("repressilator_graph.png") # hide
6772
Finally, a [network's reaction complexes](@ref network_analysis_reaction_complexes) (and the reactions in between these) can be displayed using the `complexgraph(brusselator)` function:
6873
```@example visualisation_graphs
6974
complexgraph(brusselator)
75+
nothing # hide
7076
```
77+
!["Repressilator Complex Graph"](../assets/network_graphs/repressilator_complex_graph.png)
7178
Here, reaction complexes are displayed as blue nodes, and reactions in between these as black arrows.

0 commit comments

Comments
 (0)