From 9f2c47f7aac966f83714b77c3c5b5fec3d8c4c1f Mon Sep 17 00:00:00 2001 From: vyudu Date: Fri, 22 Nov 2024 16:49:08 -0500 Subject: [PATCH] up --- .../introduction_to_catalyst/introduction_to_catalyst.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/src/introduction_to_catalyst/introduction_to_catalyst.md b/docs/src/introduction_to_catalyst/introduction_to_catalyst.md index f5181d510..5672894a6 100644 --- a/docs/src/introduction_to_catalyst/introduction_to_catalyst.md +++ b/docs/src/introduction_to_catalyst/introduction_to_catalyst.md @@ -87,7 +87,7 @@ such as GLMakie. Doing so and then using the `plot_network` function allows us t visualize the network: ```julia using Catalyst, GraphMakie, GLMakie -g = Graph(rn) +g = plot_network(rn) ``` giving @@ -108,8 +108,11 @@ hillr(P₂,α,K,n), ∅ --> m₃ have rates that depend on the proteins, and hence lead to red arrows from each `Pᵢ`. -Note, from the REPL or scripts one can always use [`savegraph`](@ref) to save -the graph (assuming `Graphviz` is installed). +Note, from the REPL or scripts one can always use Makie's `save` function to save +the graph. +```julia +save("repressilator_graph.png", g) +``` ## Mass action ODE models Let's now use our `ReactionSystem` to generate and solve a corresponding mass