[NTG-context] Framed text with arrows

2010-02-18 Thread Xan

Hi,

I'm a novice yet. I just want to put framed long texts (paragraphs) with 
arrows connecting these. I want to decorate these frames (background, 
beaty border, etc.). Like entity-relationship diagrams but more beauty 
and that I could put long text in each node.


Is this possible? Do I must use metafun?

Can you provide a simple example?

Thanks a lot,
Xan.

PS: Please, CCme.
___
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
___


Re: [NTG-context] Framed text with arrows

2010-02-18 Thread Willi Egger

Hi Xan,

Did you consider the use of the FLOWchart module? There is a nice  
manual at the pragma-ade site (Charts).


Willi
On Feb 18, 2010, at 5:13 PM, Xan wrote:


Hi,

I'm a novice yet. I just want to put framed long texts (paragraphs)  
with arrows connecting these. I want to decorate these frames  
(background, beaty border, etc.). Like entity-relationship diagrams  
but more beauty and that I could put long text in each node.


Is this possible? Do I must use metafun?

Can you provide a simple example?

Thanks a lot,
Xan.

PS: Please, CCme.
__ 
_
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
__ 
_


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


Re: [NTG-context] Framed text with arrows

2010-02-18 Thread Xan

Thanks,
But is there any possibility of having charts with titles, as in page 
138 of Metafun manual (Zapf example)? And choose border form like in 
page 242 of Metafun manual?


Really, I need the title. Putting section in chart is a temporal 
solution but it's not the same...


Xavi.


En/na Willi Egger ha escrit:

Hi Xan,

Did you consider the use of the FLOWchart module? There is a nice 
manual at the pragma-ade site (Charts).


Willi
On Feb 18, 2010, at 5:13 PM, Xan wrote:


Hi,

I'm a novice yet. I just want to put framed long texts (paragraphs) 
with arrows connecting these. I want to decorate these frames 
(background, beaty border, etc.). Like entity-relationship diagrams 
but more beauty and that I could put long text in each node.


Is this possible? Do I must use metafun?

Can you provide a simple example?

Thanks a lot,
Xan.

PS: Please, CCme.
___ 

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
___ 





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


Re: [NTG-context] Framed text with arrows

2010-02-18 Thread Xan

En/na Willi Egger ha escrit:

Hi Xan,

Did you consider the use of the FLOWchart module? There is a nice 
manual at the pragma-ade site (Charts).


Willi
On Feb 18, 2010, at 5:13 PM, Xan wrote:
Is there any way of specifying the width and height of _only one_ chart 
(not for all charts) \setupFLOWcharts change all charts. I want one 
modify the width of a **single node** in one chart.


Xan.
___
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
___


Re: [NTG-context] Framed text with arrows

2010-02-18 Thread Willi Egger
Definitely out of the box there is no possibility to place titles.  
But since the chart module has the option to use overlays in the  
shapes, with tweaking  the Metapost-graphic as on page 138 in the  
Metafun manual you might get this in place.
Without studying the sources it might be difficult to use shapes as  
those presented on page 242 of the Metafun manual.


Willi
On Feb 18, 2010, at 8:22 PM, Xan wrote:


Thanks,
But is there any possibility of having charts with titles, as in  
page 138 of Metafun manual (Zapf example)? And choose border form  
like in page 242 of Metafun manual?


Really, I need the title. Putting section in chart is a temporal  
solution but it's not the same...


Xavi.


En/na Willi Egger ha escrit:

Hi Xan,

Did you consider the use of the FLOWchart module? There is a nice  
manual at the pragma-ade site (Charts).


Willi
On Feb 18, 2010, at 5:13 PM, Xan wrote:


Hi,

I'm a novice yet. I just want to put framed long texts  
(paragraphs) with arrows connecting these. I want to decorate  
these frames (background, beaty border, etc.). Like entity- 
relationship diagrams but more beauty and that I could put long  
text in each node.


Is this possible? Do I must use metafun?

Can you provide a simple example?

Thanks a lot,
Xan.

PS: Please, CCme.
 
___
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
 
___




__ 
_
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
__ 
_


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


Re: [NTG-context] Framed text with arrows

2010-02-19 Thread Xan

En/na Willi Egger ha escrit:

You might use grouping \bgroup ... setup, part of the FLOWchart \egroup.

Willi
On Feb 18, 2010, at 8:43 PM, Xan wrote:


How can I do that? Can you put me an example?
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]

?

Thanks a lot,
Xan.

PS: I cc mailing list, because I think it's general interest topic.
___
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
___


Re: [NTG-context] Framed text with arrows

2010-02-19 Thread Alan BRASLAU
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
___


Re: [NTG-context] Framed text with arrows

2010-02-19 Thread Xan

En/na Alan BRASLAU ha escrit:

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.

  


Great! ;-)

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.
  

Yes, it's the natural way. I think the module could be improve in that way.

Xan.
___
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
___