ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Superimposing two flowcharts
Date: Mon, 26 Apr 2004 00:11:54 +0200	[thread overview]
Message-ID: <6.0.1.1.2.20040426000651.02849ec0@localhost> (raw)
In-Reply-To: <5.2.0.9.1.20040423094844.00a956f8@imap.eco.rug.nl>

Hi Sytse,

>The remaining problem is that the bigger shape is scaled down to the size 
>of the smaller shapes.

I see, you need a shape that spans n cells. I must figure out a way to 
extend the flow charter with that (i.e. a kind of virtual shape, where the 
lines are still drawn from separate nodes, something:

\startFLOWspan
  \name{Obs}
  \location{1,1}
  \shape{action}
  \text{{\bf observations}}
\stopFLOWspan

so let's put that on the todo list ... (remind me in a while, i need to 
print the modules and look into it)

For the moment, you can do something:

\startFLOWchart[Observations]  % The bigger shape

\setupFLOWcharts
   [nx=3,
    ny=2,
    dx=40pt,
    dy=25pt,
    breedte=260pt,
    hoogte=130pt]

\startFLOWcell
  \name{Obs}
  \location{1,1}
  \shape{action}
  \text{{\bf observations}}
\stopFLOWcell

\stopFLOWchart

\startFLOWchart[Parameters] % The smaller shapes

\setupFLOWcharts
   [nx=5,
    ny=2,
    dx=40pt,
    dy=25pt,
    breedte=110pt,
    hoogte=130pt]

... you need to fix the widths and distances (some kind of larger grid) but 
since calculations is part of your profession i leave that to you -)

(you can use \dimexpr for that)

Hans  

  reply	other threads:[~2004-04-25 22:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-22  7:26 Sytse Knypstra
2004-04-22  9:02 ` Hans Hagen
2004-04-23  7:53   ` Sytse Knypstra
2004-04-25 22:11     ` Hans Hagen [this message]
2004-04-26 11:25       ` Sytse Knypstra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6.0.1.1.2.20040426000651.02849ec0@localhost \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).