3
0
mirror of https://github.com/jlu5/PyLink.git synced 2025-03-01 12:00:42 +01:00

docs: update protocol-modules graphic

This commit is contained in:
James Lu 2017-07-05 03:28:28 -07:00
parent 694b5018fc
commit faa5b729d9
2 changed files with 30 additions and 11 deletions

View File

@ -1,29 +1,48 @@
/* Graph showing inheritance with the current PyLink protocol protocols: /* Graph showing inheritance with the current PyLink protocol modules:
* Update using: dot -Tpng protocol-modules.dot > protocol-modules.png * Update using: dot -Tpng protocol-modules.dot > protocol-modules.png
*/ */
digraph G { digraph G {
ratio = 0.8; /* make the graph wider than tall */
edge [ penwidth=0.75, color="#111111CC" ];
subgraph cluster_core {
label="Core classes (pylinkirc.classes)";
style="filled";
node [style="filled",color="white"];
color="#90EE90";
"PyLinkNetworkCore" -> "PyLinkNetworkCoreWithUtils" -> "IRCNetwork";
}
subgraph cluster_helper { subgraph cluster_helper {
label="Protocol module helpers"; label="Protocol module helpers\n(pylinkirc.protocols.ircs2s_common)";
style="filled"; style="filled";
node [style="filled",color="white"]; node [style="filled",color="white"];
color="lightblue"; color="lightblue";
"ircs2s_common.py" -> "ts6_common.py"; "IRCNetwork" -> "IRCCommonProtocol" -> "IRCS2SProtocol" -> "TS6BaseProtocol";
subgraph cluster_helper {
label="pylinkirc.protocols.ts6_common";
style="filled";
color="lightcyan";
"TS6BaseProtocol";
}
} }
subgraph cluster_pluggable { subgraph cluster_pluggable {
label="Pluggable (full) protocol modules"; label="Complete protocol modules (pylinkirc.protocols.*)";
style="filled"; style="filled";
node [style="filled",color="white"]; node [style="filled",color="white"];
color="khaki"; color="khaki";
"ircs2s_common.py" -> "p10.py"; "IRCS2SProtocol" -> "p10";
"ts6_common.py" -> "ts6.py" -> "hybrid.py"; "IRCS2SProtocol" -> "ngircd";
"ts6.py" -> "ratbox.py"; "TS6BaseProtocol" -> "ts6" -> "hybrid";
"ts6_common.py" -> "inspircd.py"; "ts6" -> "ratbox";
"ts6_common.py" -> "unreal.py"; "TS6BaseProtocol" -> "inspircd";
"clientbot.py"; "TS6BaseProtocol" -> "unreal";
"IRCCommonProtocol" -> "clientbot";
} }
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 64 KiB