ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan BRASLAU <alan.braslau@cea.fr>
To: ntg-context@ntg.nl
Cc: Xan <dxpublica@telefonica.net>, Willi Egger <w.egger@boede.nl>
Subject: Re: Framed text with arrows
Date: Fri, 19 Feb 2010 14:34:25 +0100	[thread overview]
Message-ID: <201002191434.25960.alan.braslau@cea.fr> (raw)
In-Reply-To: <4B7E8F37.1080102@telefonica.net>

On Friday 19 February 2010 14:16:39 Xan wrote:
> How can we change the width, height and color of the second node
> ("chart") in this example:
> 
> \usemodule[chart]
> \setupFLOWcharts[height=3\lineheight]
> 
> \startFLOWchart[example]
> \startFLOWcell
>   \name {flow}
>   \location {1,1}
>   \text {Flow}
>   \connection [rl] {chart}
> \stopFLOWcell
> \startFLOWcell
>   \name {chart}
>   \location{2,1}
>   \text {Charts}
> \stopFLOWcell
> \stopFLOWchart
> \FLOWchart[example]
> 
> PS: I cc mailing list, because I think it's general interest topic.

Yes, I am interested.

I do not see how one can change the width and height of a node
as I believe that the grid is defined through \setupFLOWcharts.

However, it could eventually be interesting to be able to modify
the frame size within a cell
\startFLOWcell [width=]
or
\startFLOWcell [scale=]
but this is not (yet) a feature...

I see no reason why one cannot set the color by FLOWcell,
but the obvious
\startFLOWcell [framecolor=red,backgroundcolor=yellow]
does not seem to work.

One can use FLOWfocus, but can one focus on multiple cells?

Alan

P.S. I think that it would be interesting to be able to
abstract the location of a cell, as in
\startFLOWchart[example]
\startFLOWcell 
  \name {flow}
  \text {Flow}
  \connection [rl] {chart}
\stopFLOWcell
\startFLOWcell
  \name {chart}
  \location{rightof=flow}
  \text {Charts}
\stopFLOWcell
\startFLOWcell
  \name {new}
  \location{above=flow}
  \connection [bt] {flow}
  \text {New}
\stopFLOWcell
\stopFLOWchart
\FLOWchart[example]

___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2010-02-19 13:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-18 16:13 Xan
2010-02-18 16:52 ` Willi Egger
2010-02-18 19:22   ` Xan
2010-02-18 20:28     ` Willi Egger
2010-02-18 19:43   ` Xan
     [not found]     ` <066526FF-1CB8-40DC-9F29-1DF452547FBC@boede.nl>
2010-02-19 13:16       ` Xan
2010-02-19 13:34         ` Alan BRASLAU [this message]
2010-02-19 14:04           ` Xan

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=201002191434.25960.alan.braslau@cea.fr \
    --to=alan.braslau@cea.fr \
    --cc=dxpublica@telefonica.net \
    --cc=ntg-context@ntg.nl \
    --cc=w.egger@boede.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).