mirror of
https://github.com/adulau/DomainClassifier.git
synced 2024-12-23 00:55:58 +00:00
Flow of operation in DomainClassifier expressed in GraphViz
This commit is contained in:
parent
0be08a31c6
commit
2c6cc0940e
2 changed files with 20 additions and 0 deletions
20
doc/domainclassifier-flow.dot
Normal file
20
doc/domainclassifier-flow.dot
Normal file
|
@ -0,0 +1,20 @@
|
|||
digraph g{
|
||||
z [label="raw text including probable hostnames"];
|
||||
a -> b;
|
||||
a [label=".domain()",shape=box,fillcolor="palegreen",style="filled"];
|
||||
z -> a [label=" extracting"];
|
||||
b [label=".validdomain(extended=True)",shape=box,fillcolor="palegreen",style="filled"];
|
||||
c [label=".localizedomain(cc='country code')",shape=box,fillcolor="palegreen",style="filled"];
|
||||
b->c;
|
||||
e [label=".validdomain(extended=False)",shape=box,fillcolor="palegreen",style="filled"];
|
||||
a->e;
|
||||
f [label=".rankdomain()",shape=box,fillcolor="palegreen",style="filled"];
|
||||
c->f;
|
||||
g [label=".include(expression=regexp)",shape=box,fillcolor="palegreen",style="filled" ];
|
||||
h [label=".exclude(expression=regexp)",shape=box,fillcolor="palegreen",style="filled" ];
|
||||
f->g;
|
||||
g->h;
|
||||
e->g;
|
||||
i [label="set of hostnames", fillcolor="palegreen",style="filled"];
|
||||
h->i;
|
||||
}
|
BIN
doc/domainclassifier-flow.png
Normal file
BIN
doc/domainclassifier-flow.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
Loading…
Reference in a new issue