2016-04-11 06:51:12 +02:00
|
|
|
/* Graph for the PyLink Application Structure:
|
|
|
|
* Update using: dot -Tpng core-structure.dot > core-structure.png
|
|
|
|
*/
|
|
|
|
|
2015-08-06 08:31:53 +02:00
|
|
|
digraph G {
|
2016-04-11 06:51:12 +02:00
|
|
|
ratio = 0.8; /* make the graph wider than tall */
|
2015-08-06 12:05:07 +02:00
|
|
|
subgraph cluster_core {
|
|
|
|
label="PyLink Application Structure";
|
|
|
|
style="filled";
|
|
|
|
node [style="filled",color="white"];
|
|
|
|
color="lightblue";
|
|
|
|
|
2016-04-11 06:51:12 +02:00
|
|
|
"IRC objects" -> "Protocol modules" [label="Data relayed"]
|
|
|
|
"Protocol modules" -> "PyLink hooks" -> Plugins;
|
|
|
|
"IRC objects" -> "PyLink hooks";
|
|
|
|
"Main program" -> "IRC objects" [color=indigo] [label="One per network\nspawned"] [fontcolor=indigo];
|
|
|
|
"Main program" -> "IRC objects" [color=indigo];
|
|
|
|
"Main program" -> "IRC objects" [color=indigo];
|
|
|
|
"Protocol modules" -> "IRC objects" [label="States updated"] [color=darkgreen] [fontcolor=darkgreen];
|
|
|
|
"Main program" -> Plugins [label="Plugin loaders"];
|
2015-08-06 12:05:07 +02:00
|
|
|
}
|
|
|
|
|
2016-04-11 06:51:12 +02:00
|
|
|
"Protocol modules" -> "IRCds" -> "Protocol modules";
|
|
|
|
Plugins -> "Protocol modules" [label="Communication via\nIRC command\nsenders"] [color=navyblue] [fontcolor=navyblue];
|
2015-08-06 12:05:07 +02:00
|
|
|
Plugins -> "Main program" [label="Registers commands\n& hook handlers"] [color=brown] [fontcolor=brown];
|
|
|
|
|
2015-08-06 08:31:53 +02:00
|
|
|
}
|