Skip to content

Commit 7d81ce3

Browse files
committed
reorder examples
1 parent d7f182e commit 7d81ce3

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

docs/make.jl

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,12 @@ kwargs = (;
5858
"API.md",
5959
"Tutorials" => [
6060
"Getting Started" => "generated/getting_started_with_network_dynamics.md",
61-
"Directed and Weighted Graphs" => "generated/directed_and_weighted_graphs.md",
6261
"Heterogeneous Systems" => "generated/heterogeneous_system.md",
63-
# "Stochastic differential equations" => "generated/StochasticSystem.md",
64-
# "Delay differential equations" => "generated/kuramoto_delay.md",
65-
"Cascading Failure" => "generated/cascading_failure.md",
66-
"Stress on Truss" => "generated/stress_on_truss.md",
6762
"Initialization" => "generated/init_tutorial.md",
63+
"Cascading Failure" => "generated/cascading_failure.md",
6864
"Gas Network" => "generated/gas_network.md",
65+
"Stress on Truss" => "generated/stress_on_truss.md",
66+
"Directed and Weighted Graphs" => "generated/directed_and_weighted_graphs.md",
6967
]
7068
],
7169
draft=false,

docs/src/data_structure.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ During actual simulation, the state and parameters are handled as **flat arrays*
1818

1919
A typical workflow is:
2020

21-
1. Set default values in the models using the metadata (see [Metadata](@ref))
22-
2. Create a network
23-
3. Generate a state `s = NWState(nw)` which will be prefilled with the default values from the component metadata
24-
4. Change the values of `s`, i.e., `s.v[1,:x] = 1.0`: This changes the **underlying flat array** but not the metadata of the model
25-
5. Build a problem with the updated flat arrays using `uflat(s)` and `pflat(s)`
21+
1. Set default values in the models using the metadata (see [Metadata](@ref)).
22+
2. Create a network (see [Network Construction](@ref)).
23+
3. Generate a state `s = NWState(nw)` which will be prefilled with the default values from the component metadata (see [SymbolicIndexing](@ref)).
24+
4. Change the values of `s`, i.e., `s.v[1,:x] = 1.0`: This changes the **underlying flat array** but not the metadata of the models.
25+
5. Build a problem with the updated flat arrays using `uflat(s)` and `pflat(s)`.
2626

2727
## Accessing Components
2828
Per default, the models are not copied on Network construction:

0 commit comments

Comments
 (0)