ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Flowcharts
Date: Wed, 26 Jun 2024 11:06:54 +0200	[thread overview]
Message-ID: <B9CA5EC6-4C7F-43F3-9492-C3DFAB887656@gmail.com> (raw)

Hi all,

Is it possible to have different background colors for different cells in flow charts ? 
For instance in the following example, is it possible to have a particular color for each cell ?

Thanks in advance and best regards: Otared

\usemodule[chart]

\starttext

\startFLOWchart[example]
\startFLOWcell 
  \name {flow}
  \location {1,1}
  \text {Flow}
  \connection [rl] {chart}
\stopFLOWcell
\startFLOWcell
  \name {chart}
  \location{2,1}
  \text {Charts}
\stopFLOWcell
\startFLOWcell 
  \name {flow2}
  \location {1,2}
  \text {Chart}
  \connection [rl] {chart}
\stopFLOWcell
\startFLOWcell
  \name {chart2}
  \location{2,2}
  \text {Flow}
\stopFLOWcell
\stopFLOWchart

\FLOWchart[example]

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

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

                 reply	other threads:[~2024-06-26  9:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=B9CA5EC6-4C7F-43F3-9492-C3DFAB887656@gmail.com \
    --to=otared@gmail.com \
    --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).