% output=pdftex interface=en \usemodule[chart,mathml,steps] \setupcolors[state=start] \setupbodyfont[lbr,8pt] \setuplayout[width=middle,height=middle,backspace=1cm,topspace=1cm,header=0pt,footer=0pt] \startbuffer[xml] tex 1 1 action &tex; rl context context 2 1 action one even two odd three rl rubish rubish 1 2 action 1+2=3 rl another another 2 2 action 2 a bt tex \stopbuffer \startbuffer[tex] \startFLOWchart [test] \setupFLOWlines[color=darkgreen] \startFLOWcell \name{tex} \location{1,1} \shape{action} \text{\TeX} \connect[rl]{context} \stopFLOWcell \start \setupFLOWshapes[framecolor=darkred] \startFLOWcell \setupFLOWlines[color=darkyellow] \name{context} \location{2,1} \shape{action} \text {\startSTEPchart \cell{one} \text{even} \cell{two} \text{odd} \cell{three} \stopSTEPchart} \connect[rl]{rubish} \stopFLOWcell \stop \startFLOWcell \name{rubish} \location{1,2} \shape{action} \text{$1+2=3$} \connect[rl]{another} \stopFLOWcell \startFLOWcell \setupFLOWlines[color=darkblue] \name{another} \location{2,2} \shape{action} \text{$\sin(2+a)$} \connect[bt]{tex} \stopFLOWcell \stopFLOWchart \FLOWchart[test] \stopbuffer \starttext \processXMLbuffer[xml] \typebuffer[xml] \page \getbuffer[tex] \typebuffer[tex] \stoptext