Permalink
Browse files

docs: update protocol-modules graphic

  • Loading branch information...
jlu5 committed Jul 5, 2017
1 parent 694b501 commit faa5b729d9b91cfda92125d6f9c7ea39987352b0
Showing with 30 additions and 11 deletions.
  1. +30 −11 docs/technical/protocol-modules.dot
  2. BIN docs/technical/protocol-modules.png
@@ -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
*/
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 {
label="Protocol module helpers";
label="Protocol module helpers\n(pylinkirc.protocols.ircs2s_common)";
style="filled";
node [style="filled",color="white"];
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 {
label="Pluggable (full) protocol modules";
label="Complete protocol modules (pylinkirc.protocols.*)";
style="filled";
node [style="filled",color="white"];
color="khaki";
"ircs2s_common.py" -> "p10.py";
"ts6_common.py" -> "ts6.py" -> "hybrid.py";
"ts6.py" -> "ratbox.py";
"ts6_common.py" -> "inspircd.py";
"ts6_common.py" -> "unreal.py";
"clientbot.py";
"IRCS2SProtocol" -> "p10";
"IRCS2SProtocol" -> "ngircd";
"TS6BaseProtocol" -> "ts6" -> "hybrid";
"ts6" -> "ratbox";
"TS6BaseProtocol" -> "inspircd";
"TS6BaseProtocol" -> "unreal";
"IRCCommonProtocol" -> "clientbot";
}
}
Binary file not shown.

0 comments on commit faa5b72

Please sign in to comment.