ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Willi Egger <context@boede.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: FLOWcharts - connector line length?
Date: Thu, 26 Apr 2012 22:08:13 +0200	[thread overview]
Message-ID: <C6497C9E-7BD9-4378-92AA-89BD39ECA289@boede.nl> (raw)
In-Reply-To: <CAGbDsP0m4MnHtuKzy=AVaX_b-kFM_K_umbn0eVB+NO6c_C2W6A@mail.gmail.com>

Hi Mari,

as Marco said, the distance key is the dx/dy parameter.

It is not possible to make cells spanning more than one column. This is related to the fact that the cells are on a grid. It is also not possible to have cells on e.g. half way down/left/right.

Indeed this is a very useful module. Setting up a proper flowchart gives great insight in e.g. processes, workflows and alike. I have built many charts for the meat-processing industry. 
The advantage of this module is that you can number the cell relatively. Only the first cell has an explicit position. So if you have to insert new cells you have to look only for cells which could be outside of the grid, but that is easier than to walk through the whole chart and renumber the cells.


\startFLOWchart[Decisiontree]

   \startFLOWcell
      \name{Begin}
      \location {3,1}
      \shape{procedure}
      \text{Begin\\ decisiontree}
      \connection[bt]{Risc}
   \stopFLOWcell{\bf }

   \startFLOWcell
      \name{Risc}
      \location {+0,+1}  % x,y
      \shape{action}
      \text{Danger}
      \connection[bt]{Question1}
   \stopFLOWcell
 …
\stopFLOWchart

Willi

On 26 Apr 2012, at 09:30, Mari Voipio wrote:

> Hi,
> 
> I've just fallen in love with the chart module, my first flowchart is
> almost done. I'll never draw these "by hand" again... Besides, it
> seems that the chart module forces me to do flowcharts "right", that
> should help with consistency and legibility. Now I just have to read a
> bit on how to do charts properly!
> 
> I've figured out about text font and box sizes and making connections
> and all that, but there's one important question that I just can't
> seem to find the answer for: how do I adjust the connector line
> length? My labels just don't fit between the boxes and I'd have a
> whole A4 for a ny=5 flowchart, so I'd have space...
> 
> 
> (Oh, the other question is: is there a way to span a cell across
> several slots on the grid? If not, I can deal with *that*, the line is
> a lot more of a problem.)
> 
> 
> 
> Thank you in advance,
> 
> Mari
> (apparently in the "expand your ConTeXt skills" mode this week)
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  parent reply	other threads:[~2012-04-26 20:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-26  7:30 Mari Voipio
2012-04-26 10:27 ` Marco
2012-05-08  6:28   ` Mari Voipio
2012-04-26 13:09 ` Mari Voipio
2012-04-26 20:08 ` Willi Egger [this message]
2012-05-08  6:20   ` Mari Voipio
2012-05-08  7:34     ` Hans Hagen

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=C6497C9E-7BD9-4378-92AA-89BD39ECA289@boede.nl \
    --to=context@boede.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).