Skip to content

Commit 4322bba

Browse files
update flowchart to clickable! using svg
1 parent cb73dbd commit 4322bba

File tree

2 files changed

+26
-10
lines changed

2 files changed

+26
-10
lines changed

docsrc/img/nuding_flowchart.svg

Lines changed: 1 addition & 0 deletions
Loading

docsrc/topics/nudging.rst

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,30 @@ Do I need nudging?
5858
Prepping the data
5959
-----------------
6060

61+
6162
Sequencing your run
6263
-------------------
63-
.. mermaid::
64-
:name: nudge_flow
65-
66-
graph LR
67-
hgrid[hgrid.gr3] --> nudge_py[Run: nudging.py];
68-
vgrid3["vgrid.in.3d"] --> nudge_py;
69-
nudge(["Start: nudging input"]) --> nudge_ts["Nudging time series in .csv"] --> nudge_py;
70-
nudge_py --> nudge_nc["{MOD}_nu.nc & {MOD_nudge.gr3}"];
71-
hycom_input["hycom_input"] --> nudge_py;
72-
nudge_nc --> baroclinic{"Baroclinic Simulation"};
64+
.. raw:: html
65+
:file: ../img/nuding_flowchart.svg
66+
67+
.. this is from the following code:
68+
.. ---
69+
.. config:
70+
.. layout: fixed
71+
.. ---
72+
.. flowchart LR
73+
.. hgrid["hgrid.gr3"] --> nudge_py["Run: nudging.py"]
74+
.. vgrid3["vgrid.in.3d"] --> nudge_py
75+
.. nudge(["Start: nudging input"]) --> nudge_ts["Nudging time series in .csv"]
76+
.. nudge_ts --> nudge_py
77+
.. nudge_py --> nudge_nc["{MOD}_nu.nc & {MOD_nudge.gr3}"]
78+
.. hycom_input["hycom_input"] --> nudge_py
79+
.. nudge_nc --> baroclinic{"Baroclinic Simulation"}
80+
.. hgrid@{ shape: doc}
81+
.. vgrid3@{ shape: doc}
82+
.. nudge_ts@{ shape: docs}
83+
.. nudge_nc@{ shape: docs}
84+
85+
.. click hgrid "https://cadwrdeltamodeling.github.io/BayDeltaSCHISM/topics/mesh.html#" _blank
86+
87+
.. style baroclinic fill:#BBDEFB

0 commit comments

Comments
 (0)