Dear all,

I tried to draw a flow chart using the module[chart].
Following the examples, I draw one.

The problem is that the size of the chart is not changed even though I changed 
the numbers dx,dy, width, height, and maxwidth in the \setupFLOWcharts

Please tell me how to resize the chart.

Thank you.

Dalyoung

%%%%%%
\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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to