ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Framed text with arrows
@ 2010-02-18 16:13 Xan
  2010-02-18 16:52 ` Willi Egger
  0 siblings, 1 reply; 8+ messages in thread
From: Xan @ 2010-02-18 16:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* Re: Framed text with arrows
  2010-02-18 16:13 Framed text with arrows Xan
@ 2010-02-18 16:52 ` Willi Egger
  2010-02-18 19:22   ` Xan
  2010-02-18 19:43   ` Xan
  0 siblings, 2 replies; 8+ messages in thread
From: Willi Egger @ 2010-02-18 16:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Xan

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
___________________________________________________________________________________


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

* Re: Framed text with arrows
  2010-02-18 16:52 ` Willi Egger
@ 2010-02-18 19:22   ` Xan
  2010-02-18 20:28     ` Willi Egger
  2010-02-18 19:43   ` Xan
  1 sibling, 1 reply; 8+ messages in thread
From: Xan @ 2010-02-18 19:22 UTC (permalink / raw)
  To: Willi Egger; +Cc: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* Re: Framed text with arrows
  2010-02-18 16:52 ` Willi Egger
  2010-02-18 19:22   ` Xan
@ 2010-02-18 19:43   ` Xan
       [not found]     ` <066526FF-1CB8-40DC-9F29-1DF452547FBC@boede.nl>
  1 sibling, 1 reply; 8+ messages in thread
From: Xan @ 2010-02-18 19:43 UTC (permalink / raw)
  To: Willi Egger; +Cc: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* Re: Framed text with arrows
  2010-02-18 19:22   ` Xan
@ 2010-02-18 20:28     ` Willi Egger
  0 siblings, 0 replies; 8+ messages in thread
From: Willi Egger @ 2010-02-18 20:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* Re: Framed text with arrows
       [not found]     ` <066526FF-1CB8-40DC-9F29-1DF452547FBC@boede.nl>
@ 2010-02-19 13:16       ` Xan
  2010-02-19 13:34         ` Alan BRASLAU
  0 siblings, 1 reply; 8+ messages in thread
From: Xan @ 2010-02-19 13:16 UTC (permalink / raw)
  To: Willi Egger; +Cc: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* Re: Framed text with arrows
  2010-02-19 13:16       ` Xan
@ 2010-02-19 13:34         ` Alan BRASLAU
  2010-02-19 14:04           ` Xan
  0 siblings, 1 reply; 8+ messages in thread
From: Alan BRASLAU @ 2010-02-19 13:34 UTC (permalink / raw)
  To: ntg-context; +Cc: Xan, Willi Egger

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
___________________________________________________________________________________


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

* Re: Framed text with arrows
  2010-02-19 13:34         ` Alan BRASLAU
@ 2010-02-19 14:04           ` Xan
  0 siblings, 0 replies; 8+ messages in thread
From: Xan @ 2010-02-19 14:04 UTC (permalink / raw)
  To: Alan BRASLAU; +Cc: ntg-context, Willi Egger

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
___________________________________________________________________________________


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

end of thread, other threads:[~2010-02-19 14:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-18 16:13 Framed text with arrows Xan
2010-02-18 16:52 ` Willi Egger
2010-02-18 19:22   ` Xan
2010-02-18 20:28     ` Willi Egger
2010-02-18 19:43   ` Xan
     [not found]     ` <066526FF-1CB8-40DC-9F29-1DF452547FBC@boede.nl>
2010-02-19 13:16       ` Xan
2010-02-19 13:34         ` Alan BRASLAU
2010-02-19 14:04           ` Xan

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