ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Flowchart connections
@ 2001-05-20 13:58 F V Leung
  2001-05-20 21:16 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: F V Leung @ 2001-05-20 13:58 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 236 bytes --]

I included two flowcharts in a document, and the connections of the first chart superimposed on the second chart. I didn't have this problem with an earlier version of CONTEXT. How can I get around this? 

Thanks.

Francisco Leung

[-- Attachment #2: Type: text/html, Size: 667 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Flowchart connections
  2001-05-20 13:58 Flowchart connections F V Leung
@ 2001-05-20 21:16 ` Hans Hagen
  2001-05-21 13:16   ` F V Leung
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2001-05-20 21:16 UTC (permalink / raw)
  Cc: ntg-context

At 09:58 PM 5/20/01 +0800, F V Leung wrote:
>   I included two flowcharts in a document, and the  connections of the
>first chart superimposed on the second chart. I didn't have  this problem
>with an earlier version of CONTEXT. How can I get around this?     Thanks. 

hm, can you send me the charts? Maybe a name space problem; do you use the
beta? 

Hans
-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Flowchart connections
  2001-05-20 21:16 ` Hans Hagen
@ 2001-05-21 13:16   ` F V Leung
  2001-05-21 14:14     ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: F V Leung @ 2001-05-21 13:16 UTC (permalink / raw)
  Cc: ntg-context

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Flowchart connections
  2001-05-21 13:16   ` F V Leung
@ 2001-05-21 14:14     ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2001-05-21 14:14 UTC (permalink / raw)
  Cc: ntg-context

Hi, 

It works ok here so i probably fixed it. 

I will send you the latest m-chart, if it fails, update to the beta. 

Hans

-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-05-21 14:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-20 13:58 Flowchart connections F V Leung
2001-05-20 21:16 ` Hans Hagen
2001-05-21 13:16   ` F V Leung
2001-05-21 14:14     ` Hans Hagen

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).