From: "W. Egger" <w.egger@boede.nl>
Cc: "ntg-context" <ntg-context@ntg.nl>
Subject: Re: FLOWchart: colored connections and other styles
Date: Fri, 12 Apr 2002 22:40:47 +0200 [thread overview]
Message-ID: <001001c1e262$87713420$0100a8c0@digitpaint.nl> (raw)
In-Reply-To: <200204121749.g3CHncR01239@nathir.fiee.lan>
[-- Attachment #1: Type: text/plain, Size: 443 bytes --]
Hallo Hraban
> How can I change color or dashing for only one or a few connections?
> Is it possible to set up some "classes" of cells that use the usual shapes
> but other colors or line styles?
Some time ago I had to make a presentation, wherein I had to solve the above
mentioned issues. At that time Hans gave me some tips. Though my example
file is in Dutch, I believe that this example can help you find your way.
Kind regards Willi
[-- Attachment #2: testchart.pdf --]
[-- Type: application/octet-stream, Size: 11830 bytes --]
[-- Attachment #3: testchart.tex --]
[-- Type: application/octet-stream, Size: 2772 bytes --]
% Context file
% Testchart
\setupoutput[pdftex]
\usemodule[chart]
\usemodule[units]
\setuppapersize[A4][A4]
\setupcolors[state=start]
\definecolor[grey][r=.85,g=.85,b=.85]
\definecolor[darkgreen][r=0,g=0.5,b=0]
\definecolor[Blau][r=0.0,g=0.0,b=0.9]
\setupFLOWcharts
[x=1,
y=1,
nx= 5,
ny= 8,
dx=2\bodyfontsize,
dy=2\bodyfontsize,
maxheight=\textheight]
\setupFLOWshapes
[framecolor=black]
\setupbodyfont[ss,10pt]
\startFLOWchart[Beslisboom1]
\bgroup
\setupFLOWshapes%
[framecolor=Blau]
\setupFLOWlines%
[dash=no,color=Blau]
\startFLOWcell
\name{Start}
\location {3,1}
\shape{12}
\connection[b,t]{Test1}
\text{metaal in eindproduct}
\stopFLOWcell
\startFLOWcell
\name{Test1}
\location {3,2}
\shape{45}
\text{beheersmaatregel uitgevoerd?}
\connection[b,t]{Test2}
\label [b]{j}
\setupFLOWlines%
[color=black,dash=yes]
\connection[l,t]{Test4}
\label[l]{n}
\stopFLOWcell
\startFLOWcell
\name{Test2}
\location {3,3}
\shape{45}
\text{gereduceerd?\\ge\"elimineerd?}
\setupFLOWlines%
[color=black,dash=yes]
\connection[b,t]{Test3}
\label[b]{n}
\setupFLOWlines%
[color=Blau,dash=no]
\connection[r,r]{Test6}
\label[r]{j}
\stopFLOWcell
\startFLOWcell
\name{Test6}
\location {3,6}
\shape{45}
\text{laater in proces\\nog beheers\\maatregelen?}
\connection[b,t]{CCPja}
\label[b]{n}
\setupFLOWlines
[dash=yes, color=black]
\connection[l,r]{Node2}
\label[l]{j}
\stopFLOWcell
\startFLOWcell
\name{CCPja}
\location {3,7}
\shape{12}
\text{\bf{CCP}}
\stopFLOWcell
\egroup
\bgroup
\setupFLOWlines%
[dash=yes,arrow=yes]
\startFLOWcell
\name{Test4}
\location {2,3}
\shape{45}
\text{beheersmaatregel noodzakelijk?}
\connection[b,t]{Test5}
\label [b]{j}
\connection[r,r]{Node1}
\label[r]{n}
\stopFLOWcell
\startFLOWcell
\name{Test5}
\location {2,4}
\shape{45}
\text{beheerst door alg.\\procedure?}
\connection[b,t]{Node1}
\label [b]{j}
\connection[l,r]{Aanpassen}
\label[l]{n}
\stopFLOWcell
\startFLOWcell
\name{Aanpassen}
\location {1,4}
\shape{action}
\text{Aanpassen proces \\ of maatregel}
\connection[t,l]{Start}
\stopFLOWcell
\startFLOWcell
\name{Node1}
\location {2,5}
\shape{node}
\text{}
\connection[b,t]{Node2}
\stopFLOWcell
\startFLOWcell
\name{Node2}
\location {2,6}
\shape{node}
\text{}
\connection[b,t]{CCPnee}
\stopFLOWcell
\startFLOWcell
\name{CCPnee}
\location {2,7}
\shape{12}
\text{\bf{geen CCP}}
\stopFLOWcell
\startFLOWcell
\name{Test3}
\location {3,4}
\shape{45}
\text{gevaar blijft?\\gevaar hoger?}
\connection[b,t]{Test6}
\label[b]{j}
\connection[l,r]{Node1}
\label[l]{n}
\stopFLOWcell
\egroup
\stopFLOWchart
\starttext
\FLOWchart[Beslisboom1]
\stoptext
next prev parent reply other threads:[~2002-04-12 20:40 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-12 17:49 Henning Hraban Ramm
2002-04-12 20:40 ` W. Egger [this message]
2002-04-13 17:58 ` Henning Hraban Ramm
2002-04-14 20:12 ` John Culleton
2002-04-14 21:36 ` Henning Hraban Ramm
2002-04-15 13:57 ` John Culleton
2002-04-15 14:26 ` Hans Hagen
2002-04-15 20:10 ` W. Egger
2002-04-15 20:13 ` W. Egger
2002-04-16 0:04 ` John Culleton
2002-04-16 1:33 ` lucida bright fonts walter a kehowski
2002-04-16 10:39 ` 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='001001c1e262$87713420$0100a8c0@digitpaint.nl' \
--to=w.egger@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).