From b1a4b1dd9abb7557dfe9d22569edc428d1c54477 Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Sun, 6 Oct 2019 21:18:40 -0400 Subject: [PATCH] doc: Add a flowchart for ruled.client. --- docs/diagrams/client_rules.dia | Bin 0 -> 4922 bytes docs/images/client_rules.svg | 4155 ++++++++++++++++++++++++++++++++ lib/ruled/client.lua | 5 + 3 files changed, 4160 insertions(+) create mode 100644 docs/diagrams/client_rules.dia create mode 100644 docs/images/client_rules.svg diff --git a/docs/diagrams/client_rules.dia b/docs/diagrams/client_rules.dia new file mode 100644 index 0000000000000000000000000000000000000000..c98db2e5e1e79676111e375b305f13d2edf63768 GIT binary patch literal 4922 zcmV-A6UFQwiwFP!000021MOW)bK6LgzUx;o)K_-7D(h{IyQ6!jCwe0`W+Qfb4?7nH zL_!jGKvDyOmbHid?UM;mw)g-A0w~y$i_vy8=@LFBRLIOPD<6OQ`O_jBeN6N9e6{>= zDHy*TrOWARHecR;xcu)w{_>-{{Q0MgKh5UJd;D{oCyNpO#BxpVK3v`v#r^wt?;ai= zSoXM1idD|C`G&32cmJPcS@I4Sy}SJBVl;Ywfmu={^x5{)q$u+F^`=Ni%Vd#$xV%oL z|G3Rpo8|1XTD4s_U1h6$^fAdkT>fxVzAoQwFY|8aIw!7upWLR`d7AvA{?Z&@-nY5* zeVXrIc5%O2&v8ldcz>{@<~sEEvo+gQYh1Lv{pp8a)DP8H+J5lmTF1UV{_rFQ9brS)qk3TQtX^9&R`D zS-O5Ub%&sdibS@M|X+sps@#Y~U3zu>LL870$V{_*ME zvwO0-{@-+3Y=!+xwtAS}C3!LWarEoz)8!W@1YMB%?8D`M^4+_&FCShF72(0{x?g?X zQ-*2jy&fCply_qPP8{lyI+*M0eUuypNtU-+`h=wX7KtO$L;!wZ)z~ousx5MwrHiZS zDqkKt4Sfq)LX|q^P|zp+qL~+##C&?`4p?{T{PwP>2NTT763c3BfO~D*fnBfiS(?8j z8fV;AGC2^!8E)F*t?yP3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H^W{*a1~E(b=uS#}12; z?48(-F{j`aHh@*W4-QHDL6NS|DlmtvkQ8bsMeV>0C^`b+x;1iaQ2qA${T$zqQ9r%f zly}X0Xj)jF=Uen-T4x_Mb)q + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/lib/ruled/client.lua b/lib/ruled/client.lua index be848fdf8..f8b13331e 100644 --- a/lib/ruled/client.lua +++ b/lib/ruled/client.lua @@ -79,6 +79,11 @@ -- Note that all rules can have an `id` field. This can then be used to find -- the rule. For example, it can be used in `remove_rule` instead of the table. -- +-- Flowchart +-- ========= +-- +-- ![Client rules](../images/client_rules.svg) +-- -- Applicable client properties -- === --