Skip to content

Commit b10da52

Browse files
authored
Merge pull request #25 from python-project-templates/tkp/zm
Add zoom support, add ELK example
2 parents 330fa79 + 094099b commit b10da52

File tree

2 files changed

+41
-2
lines changed

2 files changed

+41
-2
lines changed

docs/src/configuration.md

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,44 @@ graph TD;
191191
C-->D;
192192
```
193193

194+
```mermaid
195+
%%{init: {"flowchart": {"defaultRenderer": "elk"}} }%%
196+
197+
graph TD
198+
A[\Replenish Value Add stock/] --->C
199+
B(Order product with Value Add) --->C
200+
C{Frequent process?} --->|Yes|D
201+
C --->|No|F
202+
D{New template?} --->|Yes|E
203+
D --->|No|G
204+
E(Create work order template) --->G
205+
F(Create work order) --->H
206+
G(Copy template to work order) --->I
207+
H(Add materials to work order processes) --->J
208+
I(Adjust material quantities) --->J
209+
J(Monitor work orders) --->K
210+
K{Material quantities in stock?} --->|No|L
211+
K --->|Yes|M
212+
L(Procure materials) --->M
213+
M(Change status to In Progress) --->N
214+
N{External Vendor to perform step?} --->|Yes|O
215+
N --->|No|P
216+
O(Add vendor costs) --->Q
217+
P[\Perform work order step/] --->R
218+
Q([Ship materials to Vendor]) --->S --->X
219+
R{Additional processing required?} --->|Yes|N
220+
R--->|No|T
221+
S[\Perform work order step/] --->U
222+
T(Receive final stock) --->V
223+
U(Receive product from vendor) --->W
224+
V(Ship product on order) --->Y
225+
W{Partial quantity received?} --->|Yes|X
226+
W --->|No|Z
227+
X[Create work order backorder] ---> J
228+
Y(Change status to complete) --->AA
229+
Z(Pay vendor invoice) --->R
230+
AA([Finish])
231+
```
194232

195233
## GitHub Admonitions
196234

@@ -211,5 +249,3 @@ GitHub admonitions are automatically translated to sphinx.
211249
> [!CAUTION]
212250
> Caution content
213251
214-
215-

yardang/conf.py.j2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ myst_fence_as_directive = {{myst_fence_as_directive}}
7979
nb_execution_mode = "{{nb_execution_mode}}"
8080
nb_execution_excludepatterns = {{nb_execution_excludepatterns}}
8181

82+
#sphinxcontrib.mermaid
83+
mermaid_d3_zoom = True
84+
8285
# autosummary
8386
autosummary_generate = True
8487

0 commit comments

Comments
 (0)