Difference between revisions of "Feltham Station Post Box Demystified"
From Strugglers
Line 1: | Line 1: | ||
+ | [[File:pobox.jpg|800px]] | ||
+ | |||
<graphviz border='frame' location='center' format='png' caption='Simple guide to using this post box'> | <graphviz border='frame' location='center' format='png' caption='Simple guide to using this post box'> | ||
digraph postbox { | digraph postbox { | ||
− | graph[fontsize=" | + | graph[fontsize="12", dpi=100, size="8,30", ratio="compress"]; |
− | node[fontsize=" | + | node[fontsize="12"]; |
− | edge[fontsize=" | + | edge[fontsize="12"]; |
− | node[shape="box", style="rounded"] | + | node[shape="box", style="rounded,filled", fillcolor="#eeeeee"] |
start; end; | start; end; | ||
− | node[shape="diamond", style=""] | + | node[shape="diamond", style="filled", fillcolor="#efefff"] |
which_day; is_before_feb_15; is_before_feb_29; is_after_5pm; is_after_415pm; is_before_9am; is_before_feb_15_sat; is_after_7am; is_after_1130am; | which_day; is_before_feb_15; is_before_feb_29; is_after_5pm; is_after_415pm; is_before_9am; is_before_feb_15_sat; is_after_7am; is_after_1130am; | ||
− | node[shape="box", style=""] | + | node[shape="box", style="filled"] |
too_late; in_time; maybe_ok; no_collection; | too_late; in_time; maybe_ok; no_collection; | ||
− | node[shape="ellipse"] | + | node[shape="ellipse", style=""] |
which_day_weekday; which_day_sat; which_day_sun; is_feb_15_yes; is_feb_15_no; is_feb_29_yes; is_feb_29_no; | which_day_weekday; which_day_sat; which_day_sun; is_feb_15_yes; is_feb_15_no; is_feb_29_yes; is_feb_29_no; | ||
Line 64: | Line 66: | ||
start -> which_day; | start -> which_day; | ||
− | which_day -> which_day_weekday -> is_before_feb_15; | + | which_day -> which_day_weekday -> is_before_feb_15; |
− | is_before_feb_15 -> is_feb_15_yes -> is_before_feb_29; | + | is_before_feb_15 -> is_feb_15_yes -> is_before_feb_29; |
− | is_before_feb_29 -> is_feb_29_yes -> is_after_415pm; | + | is_before_feb_29 -> is_feb_29_yes -> is_after_415pm; |
− | is_after_415pm -> after_415 -> too_late; | + | is_after_415pm -> after_415 -> too_late; |
− | is_after_415pm -> not_yet_415 -> is_before_9am; | + | is_after_415pm -> not_yet_415 -> is_before_9am; |
− | is_before_9am -> not_yet_9am -> in_time; | + | is_before_9am -> not_yet_9am -> in_time; |
− | is_before_9am -> after_9am -> maybe_ok; | + | is_before_9am -> after_9am -> maybe_ok; |
− | is_before_feb_29 -> is_feb_29_no -> is_after_5pm; | + | is_before_feb_29 -> is_feb_29_no -> is_after_5pm; |
− | is_before_feb_15 -> is_feb_15_no -> is_after_5pm; | + | is_before_feb_15 -> is_feb_15_no -> is_after_5pm; |
− | is_after_5pm -> not_yet_5pm -> in_time; | + | is_after_5pm -> not_yet_5pm -> in_time; |
− | is_after_5pm -> after_5pm -> too_late; | + | is_after_5pm -> after_5pm -> too_late; |
− | which_day -> which_day_sun -> no_collection | + | which_day -> which_day_sun -> no_collection |
− | which_day -> which_day_sat -> is_before_feb_15_sat; | + | which_day -> which_day_sat -> is_before_feb_15_sat; |
is_before_feb_15_sat -> sat_not_yet_feb_15 -> is_after_1130am; | is_before_feb_15_sat -> sat_not_yet_feb_15 -> is_after_1130am; | ||
− | is_before_feb_15_sat -> sat_after_feb_15 -> is_after_7am; | + | is_before_feb_15_sat -> sat_after_feb_15 -> is_after_7am; |
− | is_after_7am -> after_7am -> too_late; | + | is_after_7am -> after_7am -> too_late; |
− | is_after_7am -> not_yet_7am -> in_time; | + | is_after_7am -> not_yet_7am -> in_time; |
− | is_after_1130am -> after_1130am -> too_late; | + | is_after_1130am -> after_1130am -> too_late; |
− | is_after_1130am -> not_yet_1130am -> in_time; | + | is_after_1130am -> not_yet_1130am -> in_time; |
too_late -> end; | too_late -> end; | ||
in_time -> end; | in_time -> end; | ||
Line 98: | Line 100: | ||
is_after_7am[label="Is it\nafter 7am\nin the UK?"]; | is_after_7am[label="Is it\nafter 7am\nin the UK?"]; | ||
is_after_1130am[label="Is it\nafter 11.30am\nin the UK?"]; | is_after_1130am[label="Is it\nafter 11.30am\nin the UK?"]; | ||
− | in_time[label="Congrats! This should be collected today!"]; | + | in_time[fillcolor="#ccffcc",label="Congrats! This should be collected today!"]; |
− | too_late[label="Sorry, you're too late for today's post"]; | + | too_late[fillcolor="#ffcccc",label="Sorry, you're too late for today's post"]; |
− | maybe_ok[label="You might have missed today's last collection"]; | + | maybe_ok[fillcolor="orange",label="You might have missed today's last collection"]; |
− | no_collection[label="There's no collection today"]; | + | no_collection[fillcolor="#ffcccc",label="There's no collection today"]; |
end[label="End"]; | end[label="End"]; | ||
} | } | ||
</graphviz> | </graphviz> |