1digraph process {
2  rankdir=LR;
3  node [fontname="Arial-Bold"];
4node1 [label="1 - Subscription page", shape=ellipse, color=purple, fillcolor=purple, fontcolor=white, style=filled];
5node2 [label="{Popup|2}|Drops out", shape=record, color=black, fillcolor=white, fontcolor=black, style=solid];
6node1 -> node2 [arrowhead=none];
7node2 -> node3 [arrowhead=normal];
8node3 [label="3 - Subscription Popup", shape=ellipse, color=black, fillcolor=white, fontcolor=black, style=solid];
9node4 [label="{Form|4}|Signup news letter", shape=record, color=black, fillcolor=white, fontcolor=black, style=solid];
10node3 -> node4 [arrowhead=none];
11node4 -> node5 [arrowhead=normal];
12node4 -> node8 [arrowhead=normal];
13node5 [label="5 - Signup submitted (output)", shape=ellipse, color=black, fillcolor=white, fontcolor=black, style=solid];
14node6 [label="{Output|6}|Thanks for signup", shape=record, color=black, fillcolor=white, fontcolor=black, style=solid];
15node5 -> node6 [arrowhead=none];
16node6 -> node7 [arrowhead=normal];
17node7 [label="7 -   signup submitted", shape=ellipse, color=black, fillcolor=black, fontcolor=white, style=filled];
18node8 [label="8 - Signup submitted (email)", shape=ellipse, color=black, fillcolor=white, fontcolor=black, style=solid];
19node9 [label="{Timeout|9}|Signup timeout", shape=record, color=black, fillcolor=white, fontcolor=black, style=solid];
20node8 -> node9 [arrowhead=none];
21node9 -> node10 [arrowhead=normal];
22node10 [label="10 - Popup signup timeout", shape=ellipse, color=black, fillcolor=white, fontcolor=black, style=solid];
23node11 [label="{Email|11}|Send Email", shape=record, color=black, fillcolor=white, fontcolor=black, style=solid];
24node10 -> node11 [arrowhead=none];
25node11 -> node12 [arrowhead=normal];
26node12 [label="12 - Popup Email sent", shape=ellipse, color=black, fillcolor=white, fontcolor=black, style=solid];
27node13 [label="{Bounce|13}|Email bounced", shape=record, color=black, fillcolor=white, fontcolor=black, style=solid];
28node12 -> node13 [arrowhead=none];
29node13 -> node14 [arrowhead=normal];
30node14 [label="14 - Popup Email bounced", shape=ellipse, color=black, fillcolor=black, fontcolor=white, style=filled];
31node15 [label="{OptedOut|15}|Email  ", shape=record, color=black, fillcolor=white, fontcolor=black, style=solid];
32node12 -> node15 [arrowhead=none];
33node15 -> node16 [arrowhead=normal];
34node16 [label="16 - Popup Email  ", shape=ellipse, color=black, fillcolor=black, fontcolor=white, style=filled];
35node17 [label="{Click|17}|Email   click", shape=record, color=black, fillcolor=white, fontcolor=black, style=solid];
36node12 -> node17 [arrowhead=none];
37node17 -> node18 [arrowhead=normal];
38node17 -> node22 [arrowhead=normal];
39node18 [label="18 - Email  ", shape=ellipse, color=black, fillcolor=white, fontcolor=black, style=solid];
40node19 [label="{ |19}|  Email", shape=record, color=black, fillcolor=white, fontcolor=black, style=solid];
41node18 -> node19 [arrowhead=none];
42node19 -> node21 [arrowhead=normal];
43node21 [label="21 - Email   done", shape=ellipse, color=black, fillcolor=black, fontcolor=white, style=filled];
44node22 [label="22 - Email output  ", shape=ellipse, color=black, fillcolor=white, fontcolor=black, style=solid];
45node23 [label="{Output|23}|Output   Email", shape=record, color=black, fillcolor=white, fontcolor=black, style=solid];
46node22 -> node23 [arrowhead=none];
47node23 -> node24 [arrowhead=normal];
48node24 [label="24 - Email output   done", shape=ellipse, color=black, fillcolor=black, fontcolor=white, style=filled];
49node25 [label="{Click|25}|Email click", shape=record, color=black, fillcolor=white, fontcolor=black, style=solid];
50node12 -> node25 [arrowhead=none];
51node25 -> node26 [arrowhead=normal];
52node26 [label="26 - Popup Email clicked", shape=ellipse, color=black, fillcolor=white, fontcolor=black, style=solid];
53node27 [label="{Redirect|27}|Email redirect", shape=record, color=black, fillcolor=white, fontcolor=black, style=solid];
54node26 -> node27 [arrowhead=none];
55node27 -> node1 [arrowhead=normal];
56node20 [label="{ |20}|Honey   subscription", shape=record, color=purple, fillcolor=purple, fontcolor=white, style=filled];
57node1 -> node20 [arrowhead=none];
58node20 -> node28 [arrowhead=normal];
59node28 [label="28 - Limbo subscription", shape=ellipse, color=purple, fillcolor=purple, fontcolor=white, style=filled];
60node29 [label="{Impression|29}|Wait success confirmed", shape=record, color=purple, fillcolor=purple, fontcolor=white, style=filled];
61node28 -> node29 [arrowhead=none];
62node29 -> node30 [arrowhead=normal];
63node30 [label="30 - Honey subscription confirmation", shape=ellipse, color=purple, fillcolor=purple, fontcolor=white, style=filled];
64node31 [label="{Success|31}|Magazine bought", shape=record, color=black, fillcolor=white, fontcolor=black, style=solid];
65node30 -> node31 [arrowhead=none];
66node31 -> node32 [arrowhead=normal];
67node31 -> node45 [arrowhead=normal];
68node32 [label="32 - Magazine bought", shape=ellipse, color=black, fillcolor=white, fontcolor=black, style=solid];
69node33 [label="33 - Check 1st Xsell", shape=diamond, color=black, fillcolor=white, fontcolor=black, style=solid];
70node32 -> node33 [arrowhead=none];
71node33 -> node35 [label = "'HeartAndSoul' in decode_b64(nvl('vmi_cookie_mag_sold',encode_b64([])))", arrowhead=normal];
72node33 -> node42 [label = "default", arrowhead=normal];
73node35 [label="35 - End 1st Xselling", shape=ellipse, color=black, fillcolor=white, fontcolor=black, style=solid];
74node36 [label="36 - Check 2nd Xsell", shape=diamond, color=black, fillcolor=white, fontcolor=black, style=solid];
75node35 -> node36 [arrowhead=none];
76node36 -> node37 [label = "'Honey' in decode_b64(nvl('vmi_cookie_mag_sold', encode_b64([])))", arrowhead=normal];
77node36 -> node39 [label = "!is_defined('xsell_flag')", arrowhead=normal];
78node36 -> node37 [label = "default", arrowhead=normal];
79node37 [label="37 - End Xselling", shape=ellipse, color=black, fillcolor=black, fontcolor=white, style=filled];
80node39 [label="39 - Wait before sending 2nd Xsell", shape=ellipse, color=black, fillcolor=white, fontcolor=black, style=solid];
81node38 [label="{Timeout|38}|2nd Xsell timeout", shape=record, color=black, fillcolor=white, fontcolor=black, style=solid];
82node39 -> node38 [arrowhead=none];
83node38 -> node40 [arrowhead=normal];
84node40 [label="40 - Activate 2nd Xselling", shape=ellipse, color=black, fillcolor=white, fontcolor=black, style=solid];
85node41 [label="{NewFlow|41}|Send SEP 2nd Xsell", shape=record, color=black, fillcolor=white, fontcolor=black, style=solid];
86node40 -> node41 [arrowhead=none];
87node41 -> node37 [arrowhead=normal];
88node42 [label="42 - Wait before sending 1st Xsell", shape=ellipse, color=black, fillcolor=white, fontcolor=black, style=solid];
89node34 [label="{Timeout|34}|1st Xsell timeout", shape=record, color=black, fillcolor=white, fontcolor=black, style=solid];
90node42 -> node34 [arrowhead=none];
91node34 -> node43 [arrowhead=normal];
92node43 [label="43 - Activate 1st Xselling", shape=ellipse, color=black, fillcolor=white, fontcolor=black, style=solid];
93node44 [label="{NewFlow|44}|Send SEP 1st Xsell", shape=record, color=black, fillcolor=white, fontcolor=black, style=solid];
94node43 -> node44 [arrowhead=none];
95node44 -> node35 [arrowhead=normal];
96node45 [label="45 - Bill subcription", shape=ellipse, color=black, fillcolor=white, fontcolor=black, style=solid];
97node47 [label="47 - Check if billable", shape=diamond, color=black, fillcolor=white, fontcolor=black, style=solid];
98node45 -> node47 [arrowhead=none];
99node47 -> node48 [label = "is_defined('vmi_cookie_ref')", arrowhead=normal];
100node47 -> node51 [label = "default", arrowhead=normal];
101node48 [label="48 - Bill authorized", shape=ellipse, color=black, fillcolor=white, fontcolor=black, style=solid];
102node49 [label="{Bill|49}|Bill subscription", shape=record, color=black, fillcolor=white, fontcolor=black, style=solid];
103node48 -> node49 [arrowhead=none];
104node49 -> node50 [arrowhead=normal];
105node50 [label="50 - Subcription", shape=ellipse, color=black, fillcolor=black, fontcolor=white, style=filled];
106node51 [label="51 - Non billable", shape=ellipse, color=black, fillcolor=black, fontcolor=white, style=filled];
107node46 [label="{Timeout|46}|Limbo sub timeout", shape=record, color=black, fillcolor=white, fontcolor=black, style=solid];
108node28 -> node46 [arrowhead=none];
109node46 -> node52 [arrowhead=normal];
110node52 [label="52 - Limbo subscription timeout", shape=ellipse, color=black, fillcolor=black, fontcolor=white, style=filled];
111}