\usemodule[chart]
\starttext
\startFLOWchart[bigger]
\setupFLOWcharts
[option=test,
nx=3,
ny=6,
dx=\bodyfontsize,
dy=\bodyfontsize,
width=6cm,%.5\bodyfontsize,
height=10cm,%.3\bodyfontsize,
maxwidth=.5\textwidth
]
\startFLOWcell
\name{a} \location{2,1} \shape{loop} \text{start}
\connection[bt]{b}
\stopFLOWcell
\startFLOWcell
\name{b} \location{2,2} \shape{79} \text{input $a,b$}
\connection[bt]{c}
\stopFLOWcell
\startFLOWcell
\name{c} \location{2,3} \shape{decision} \text{$a-b > 0$}
\connection[lt]{d} \comment[l]{Yes}
\connection[rt]{g} \comment[r]{No}
\stopFLOWcell
\startFLOWcell
\name{d} \location{1,5} \shape{76} \text{$a$ is bigger \\ than $b$}
\connection[bt]{f}
\stopFLOWcell
\startFLOWcell
\name{e} \location{2,5} \shape{76} \text{$b$ is bigger \\ than $a$}
\connection[bt]{f}
\stopFLOWcell
\startFLOWcell
\name{g} \location{3,4} \shape{decision} \text{$a - b < 0$}
\connection[lt]{e} \comment[l]{Yes}
\connection[bt]{h} \comment[b]{No}
\stopFLOWcell
\startFLOWcell
\name{h} \location{3,5} \shape{76} \text{$a$ is equal \\ to $b$}
\connection[bt]{f}
\stopFLOWcell
\startFLOWcell
\name{f} \location{2,6} \shape{loop} \text{stop}
\stopFLOWcell
\stopFLOWchart
\placefigure
[here][fig:bigger]
{Which is bigger?}
{\tx\setupFLOWcharts\FLOWchart[bigger]}
\stoptext