ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Mappings
@ 2001-01-16  6:48 David Arnold
  2001-01-16  7:05 ` Mappings Dan Seracu
  2001-01-16 19:06 ` Mappings Hans Hagen
  0 siblings, 2 replies; 5+ messages in thread
From: David Arnold @ 2001-01-16  6:48 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 1167 bytes --]

All,

Remember when I asked about:

    f
1 ----> 2

etc. Thanks to all who answered. Here's my solution. Pretty nice. Output
attached.

\usemodule[chart]

\setupcolors[state=start]

\starttext

\setupFLOWfocus
 [framecolor=black]

\setupFLOWcharts
 [%option=test,
  nx=3,ny=4,
  dx=4mm,dy=2mm,
  offset=0mm,
  width=6mm,
  height=6mm,
  maxwidth=\textwidth,
  focus=l1]

\setupFLOWlines
 [corner=rectangular]

\startFLOWchart[f1]
 \startFLOWcell
  \name{fname}
  \location{2,1}
  \shape{node}
  \text{$f$}
 \stopFLOWcell
 \startFLOWcell
  \name{l1}
  \location{1,2}
  \shape{action}
  \text{1}
  \connection[rl]{r1}
  \connection[-rl]{r2}
 \stopFLOWcell
 \startFLOWcell
  \name{r1}
  \location{3,2}
  \shape{action}
  \text{2}
 \stopFLOWcell
 \startFLOWcell
  \name{r2}
  \location{3,3}
  \shape{action}
  \text{3}
 \stopFLOWcell
 \startFLOWcell
  \name{l2}
  \location{1,3}
  \shape{action}
  \text{2}
  \connection[-rl]{r3}
 \stopFLOWcell
 \startFLOWcell
  \name{r3}
  \location{3,4}
  \shape{action}
  \text{4}
 \stopFLOWcell

\stopFLOWchart

\placefigure
 [here][fig1]
 {The domain object 1 gets sent to more than one range object.}
 {\FLOWchart[f1]}

\stoptext

[-- Attachment #2: junk.pdf --]
[-- Type: application/pdf, Size: 13226 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-01-16 19:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-16  6:48 Mappings David Arnold
2001-01-16  7:05 ` Mappings Dan Seracu
2001-01-16 18:55   ` Docs for flowchart module H. Ramm
2001-01-16 19:11   ` Mappings Hans Hagen
2001-01-16 19:06 ` Mappings Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).