-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Class diagram #341
Comments
Maybe we should plntuml this |
Just saw this github/roadmap#372 which is similar to planetuml, I might try it. Leaving their example here to see when it actually works :) graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
|
sounds fun, will wait for that then, |
I was lucky to see this flowchart, which can be said to be a simple illustration of the core calling logic of pluggy. If you need to continue improving, or have something to help with, I'd be happy to do some! |
Gave it a quick go, just to see if it has potential: flowchart LR
PluginManager -.- pm.hook --> HookRelay
HookRelay -- foo_hook --> HookCaller --> HookSpec
HookRelay -- foo_hook2 --> HookCaller -- plugin1 --> HookImpl1
HookCaller -- plugin2 --> HookImpl2
Looks nice! https://mermaid-js.github.io/mermaid |
Thanks for converting @nicoddemus! It does lose some details - namely it merges the nodes when it's better not, the placing of the |
[off topic]
|
@CofinCup |
All of the Hook* classes are somewhat confusing to me, and I always have to rediscover how they relate. So I created an ASCII diagram of it. I think it's worth shoving in a comment somewhere, or in some "architecture" document. I'll use this issue as a placeholder for that.
The text was updated successfully, but these errors were encountered: