Flow of operation in DomainClassifier expressed in GraphViz

This commit is contained in:
Alexandre Dulaunoy 2013-04-28 15:09:02 +02:00
parent 0be08a31c6
commit 2c6cc0940e
2 changed files with 20 additions and 0 deletions

View 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;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB