Skip to content

Commit 692efd6

Browse files
committed
Add zoom support, add ELK example
1 parent ac6c1df commit 692efd6

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

docs/src/configuration.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,3 +168,42 @@ graph TD;
168168
B-->D;
169169
C-->D;
170170
```
171+
172+
```mermaid
173+
%%{init: {"flowchart": {"defaultRenderer": "elk"}} }%%
174+
175+
graph TD
176+
A[\Replenish Value Add stock/] --->C
177+
B(Order product with Value Add) --->C
178+
C{Frequent process?} --->|Yes|D
179+
C --->|No|F
180+
D{New template?} --->|Yes|E
181+
D --->|No|G
182+
E(Create work order template) --->G
183+
F(Create work order) --->H
184+
G(Copy template to work order) --->I
185+
H(Add materials to work order processes) --->J
186+
I(Adjust material quantities) --->J
187+
J(Monitor work orders) --->K
188+
K{Material quantities in stock?} --->|No|L
189+
K --->|Yes|M
190+
L(Procure materials) --->M
191+
M(Change status to In Progress) --->N
192+
N{External Vendor to perform step?} --->|Yes|O
193+
N --->|No|P
194+
O(Add vendor costs) --->Q
195+
P[\Perform work order step/] --->R
196+
Q([Ship materials to Vendor]) --->S --->X
197+
R{Additional processing required?} --->|Yes|N
198+
R--->|No|T
199+
S[\Perform work order step/] --->U
200+
T(Receive final stock) --->V
201+
U(Receive product from vendor) --->W
202+
V(Ship product on order) --->Y
203+
W{Partial quantity received?} --->|Yes|X
204+
W --->|No|Z
205+
X[Create work order backorder] ---> J
206+
Y(Change status to complete) --->AA
207+
Z(Pay vendor invoice) --->R
208+
AA([Finish])
209+
```

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 = ["mermaid"]
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)