Skip to content

Commit ef316c9

Browse files
committed
Refactor Mermaid diagram styles and remove redundant subgraphs for clarity
1 parent ce73861 commit ef316c9

File tree

1 file changed

+7
-20
lines changed

1 file changed

+7
-20
lines changed

README.md

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -82,26 +82,13 @@ flowchart TD
8282
EE --> KK
8383
JJ --> KK
8484
85-
subgraph "Plugin Types"
86-
LL[Auth Plugins<br/>HMAC, Shared Secret, Custom]
87-
MM[Handler Plugins<br/>Process Webhook Payload]
88-
NN[Lifecycle Plugins<br/>on_request, on_response, on_error]
89-
OO[Instrument Plugins<br/>Stats, Failbot]
90-
end
91-
92-
subgraph "Configuration"
93-
PP[Global Config<br/>hooks.yml]
94-
QQ[Endpoint Configs<br/>Individual .yml files]
95-
RR[Plugin Directories<br/>Auth, Handlers, Lifecycle]
96-
end
97-
98-
style A fill:#e1f5fe
99-
style H fill:#c8e6c9
100-
style R fill:#ffcdd2
101-
style Y fill:#ffcdd2
102-
style EE fill:#c8e6c9
103-
style JJ fill:#ffcdd2
104-
style GG fill:#fff3e0
85+
style A fill:#035980
86+
style H fill:#027306
87+
style R fill:#a10010
88+
style Y fill:#a10010
89+
style EE fill:#027306
90+
style JJ fill:#a10010
91+
style GG fill:#915a01
10592
```
10693

10794
Here is a very high-level overview of how Hooks works:

0 commit comments

Comments
 (0)