On Friday 24 January 2003 14:08, Hans Hagen wrote:
> At 01:47 PM 1/24/2003 +0100, you wrote:
> >I'm using dummy flow cells to have both solid and dashed connections
> >originating from the same cell in a chart. I have noticed that having
> > several nodes with no \name{...} defined confuses the chart macros: all
> > connections refer to the same node. Giving arbitrary names to the dummy
> > nodes solves the problem.
>
> this should not happen, so: small example please -) [how old is your
> version?]
It's attached. Uncommenting \name{anyname} fixes the problem.
ConTeXt ver: 2003.1.10 fmt: 2003.1.13 int: english mes: english
> ah, not for cells, but for lines there is now some (yet incomplete)
> trickery, like:
>
> \connection [bt][2,0] {jobs}
>
> which i needef for the ex-gui manual. Yet undocumented i'm afraid -)
Ok, I can wait. (Anyway, I would be much more interested in placing cells in
halfsteps...)
Eckhart
\usemodule[chart]
\setupFLOWcharts[nx=3,ny=3]
\startFLOWchart[c1]
\startFLOWcell
\name{11}
\text{This}
\location{1,1}
\connection[bt]{12}
\stopFLOWcell
\startFLOWcell
\name{12}
\text{is}
\location{1,2}
\connection[bt]{md}
\stopFLOWcell
\startFLOWcell
\name{13}
\text{strange!}
\location{1,3}
\stopFLOWcell
\start
\setupFLOWlines[dash=yes]
\startFLOWcell
\location{1,3}
\shape{none}
\connection[prnr]{11}
\stopFLOWcell
\stop
\stopFLOWchart
\startFLOWchart[c2]
\includeFLOWchart[c1]
\startFLOWcell
\name{31}
\location{3,1}
\connection[bt]{32}
\text{Isn't}
\stopFLOWcell
\startFLOWcell
\name{32}
\location{3,2}
\text{it?}
\stopFLOWcell
\start
\setupFLOWlines[dash=yes]
\startFLOWcell
\location{3,2}
\shape{none}
\connection[br]{13}
% \name{anyname}
\stopFLOWcell
\stop
\stopFLOWchart
\starttext
\FLOWchart[c2]
\stoptext