From: "F V Leung" <fvleung@netvigator.com>
Cc: <ntg-context@ntg.nl>
Subject: Re: Flowchart connections
Date: Mon, 21 May 2001 21:16:25 +0800 [thread overview]
Message-ID: <001001c0e1f8$97852bc0$0934fea9@default> (raw)
In-Reply-To: <3.0.6.32.20010520231655.013cd470@server-1>
[-- Attachment #1: Type: text/plain, Size: 3656 bytes --]
I used CONTEXT ver. 2001.2.27 to process listing below:
\setupoutput[pdftex]
\setupbodyfont[cmr,10pt]
\usemodule[chart]
\starttext
\setupFLOWcharts[nx=3,ny=3,dx=2\bodyfontsize,dy=2\bodyfontsize,width=12\body
fontsize,height=7\bodyfontsize,maxwidth=\textwidth]
\startFLOWchart[material process]
\startFLOWcell
\name{actor}
\location{1,2}
\shape{12}
\text{Actor}
\connection[prpl]{material}
\comment[t]{1}
\stopFLOWcell
\startFLOWcell
\name{material}
\location{2,2}
\shape{action}
\text{Material\\Process}
\setupFLOWlines[dash=no]
\connection[prpl]{goal}
\comment[t]{2}
\setupFLOWlines[dash=yes]
\connection[nlnr]{actor}
\comment[b]{4}
\setupFLOWlines[dash=no]
\connection[bt]{beneficiary}
\comment[r]{5}
\setupFLOWlines[dash=yes]
\connection[tb]{range}
\comment[r]{8}
\stopFLOWcell
\startFLOWcell
\name{goal}
\location{3,2}
\shape{12}
\text{Goal}
\setupFLOWlines[dash=no]
\connection[nlnr]{material}
\comment[b]{3}
\connection[pbnr]{beneficiary}
\comment[tl]{7}
\stopFLOWcell
\startFLOWcell
\name{beneficiary}
\location{2,3}
\shape{action}
\text{Beneficiary}
\connection[prnb]{goal}
\comment[tl]{6}
\stopFLOWcell
\startFLOWcell
\name{range}
\location{2,1}
\shape{action}
\text{Range}
\stopFLOWcell
\stopFLOWchart
\midaligned{\FLOWchart[material process]}
\page[yes]
\setupFLOWcharts[nx=3,ny=1,dx=2\bodyfontsize,dy=2\bodyfontsize,width=12\body
fontsize,height=7\bodyfontsize,maxwidth=\textwidth]
\startFLOWchart[mental process]
\startFLOWcell
\name{senser}
\location{1,1}
\shape{12}
\text{Senser}
\connection[prpl]{mental}
\comment[t]{1}
\stopFLOWcell
\startFLOWcell
\name{mental}
\location{2,1}
\shape{action}
\text{Mental\\Process}
\connection[prpl]{phenomenon}
\comment[t]{2}
\connection[nlnr]{senser}
\comment[b]{4}
\stopFLOWcell
\startFLOWcell
\name{phenomenon}
\location{3,1}
\shape{12}
\text{Phenomenon}
\connection[nlnr]{mental}
\comment[b]{3}
\stopFLOWcell
\stopFLOWchart
\midaligned{\FLOWchart[mental process]}
\page[yes]
\setupFLOWcharts[nx=3,ny=2,dx=2\bodyfontsize,dy=2\bodyfontsize,width=12\body
fontsize,height=7\bodyfontsize,maxwidth=\textwidth]
\startFLOWchart[relational process]
\startFLOWcell
\name{carrier}
\location{1,1}
\shape{12}
\text{Carrier}
\connection[prpl]{attributive relational}
\comment[t]{1}
\stopFLOWcell
\startFLOWcell
\name{attributive relational}
\location{2,1}
\shape{action}
\text{Relational\\Process}
\label[t]{Attributive}
\connection[prpl]{attribute}
\comment[t]{2}
\connection[nlnr]{carrier}
\comment[b]{4}
\stopFLOWcell
\startFLOWcell
\name{attribute}
\location{3,1}
\shape{12}
\text{Attribute}
\connection[nlnr]{attributive relational}
\comment[b]{3}
\stopFLOWcell
\startFLOWcell
\name{token}
\location{1,2}
\shape{12}
\text{Token}
\connection[prpl]{identifying relational}
\comment[t]{5}
\stopFLOWcell
\startFLOWcell
\name{identifying relational}
\location{2,2}
\shape{action}
\text{Relational\\Process}
\label[t]{Identifying}
\connection[prpl]{value}
\comment[t]{6}
\connection[nlnr]{token}
\comment[b]{8}
\stopFLOWcell
\startFLOWcell
\name{value}
\location{3,2}
\shape{12}
\text{Value}
\connection[nlnr]{identifying relational}
\comment[b]{7}
\stopFLOWcell
\stopFLOWchart
\midaligned{\FLOWchart[relational process]}
\stoptext
I found that if I metapost the 'mpgraph.mp' generated, only the first chart
is OK (take a look at the pdf attached). But if I break the 'mpgraph.mp'
into three files and metapost them individually, I get all the charts OK.
Thanks!
Francisco Leung
----- Original Message -----
From: Hans Hagen <pragma@wxs.nl>
To: F V Leung <fvleung@netvigator.com>
Cc: <ntg-context@ntg.nl>
Sent: Monday, May 21, 2001 5:16 AM
Subject: Re: Flowchart connections
>
[-- Attachment #2: chart.pdf --]
[-- Type: application/pdf, Size: 21107 bytes --]
next prev parent reply other threads:[~2001-05-21 13:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-20 13:58 F V Leung
2001-05-20 21:16 ` Hans Hagen
2001-05-21 13:16 ` F V Leung [this message]
2001-05-21 14:14 ` 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='001001c0e1f8$97852bc0$0934fea9@default' \
--to=fvleung@netvigator.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).