* [m-chart] Connections @ 2011-10-18 13:42 Marco 2011-10-18 16:03 ` Aditya Mahajan 0 siblings, 1 reply; 7+ messages in thread From: Marco @ 2011-10-18 13:42 UTC (permalink / raw) To: ntg-context Hi, I cannot figure out how to connect to the bottom right point (the small red one). Anyway, in the manual the shortcuts to address the individual points are not really explained. I blindly guess: tm - top middle t - top middle bl - bottom left br - bottom right bm - bottom centre b - bottom centre … However, in the following example it doesn't work. Any ideas? %%%%%%%%%%%%% \usemodule [chart] \setupFLOWcharts [option=test] \startFLOWchart [mychart] \startFLOWcell \name {foo} \location {1,1} \shape {action} \text {Foo} \stopFLOWcell \startFLOWcell \name {bar} \location {1,2} \shape {action} \text {Bar} %\connection [tmbl] {foo} % left \connection [tmbr] {foo} % also left ?? \stopFLOWcell \stopFLOWchart \starttext \FLOWchart [mychart] \stoptext %%%%%%%%%%%%% Regards Marco Patzer ___________________________________________________________________________________ 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] 7+ messages in thread
* Re: [m-chart] Connections 2011-10-18 13:42 [m-chart] Connections Marco @ 2011-10-18 16:03 ` Aditya Mahajan 2011-10-18 16:14 ` Marco 0 siblings, 1 reply; 7+ messages in thread From: Aditya Mahajan @ 2011-10-18 16:03 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1: Type: TEXT/PLAIN, Size: 825 bytes --] On Tue, 18 Oct 2011, Marco wrote: > Hi, > > I cannot figure out how to connect to the bottom right > point (the small red one). Anyway, in the manual the > shortcuts to address the individual points are not really > explained. I blindly guess: > > tm - top middle > t - top middle > bl - bottom left > br - bottom right > bm - bottom centre > b - bottom centre > … These don't look right. I haven't checked what the manual says, but I usually use t, t+, t- b, b+, b- r, r+, r- l, l+, l- t b r and l correspond to top, bottom, right, and left. The other two points are accessed throught t+ and t- etc. IIRC, for top and bottom, + corresponds to the right point and - to the left point; for left and right, + corresponds to the top point and - to the bottom point. Aditya [-- Attachment #2: Type: text/plain, Size: 485 bytes --] ___________________________________________________________________________________ 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] 7+ messages in thread
* Re: [m-chart] Connections 2011-10-18 16:03 ` Aditya Mahajan @ 2011-10-18 16:14 ` Marco 2011-10-18 16:26 ` Wolfgang Schuster 0 siblings, 1 reply; 7+ messages in thread From: Marco @ 2011-10-18 16:14 UTC (permalink / raw) To: ntg-context On 2011-10-18 Aditya Mahajan <adityam@umich.edu> wrote: > t b r and l correspond to top, bottom, right, and left. > The other two points are accessed throught t+ and t- > etc. IIRC, for top and bottom, + corresponds to the > right point and - to the left point; for left and right, > + corresponds to the top point and - to the bottom > point. According to this, [tb+] should yield to the desired result. However, it produces the same output as [tb]. Marco ___________________________________________________________________________________ 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] 7+ messages in thread
* Re: [m-chart] Connections 2011-10-18 16:14 ` Marco @ 2011-10-18 16:26 ` Wolfgang Schuster 2011-10-18 16:52 ` Aditya Mahajan 0 siblings, 1 reply; 7+ messages in thread From: Wolfgang Schuster @ 2011-10-18 16:26 UTC (permalink / raw) To: mailing list for ConTeXt users Am 18.10.2011 um 18:14 schrieb Marco: > On 2011-10-18 Aditya Mahajan <adityam@umich.edu> wrote: > >> t b r and l correspond to top, bottom, right, and left. >> The other two points are accessed throught t+ and t- >> etc. IIRC, for top and bottom, + corresponds to the >> right point and - to the left point; for left and right, >> + corresponds to the top point and - to the bottom >> point. > > According to this, [tb+] should yield to the desired > result. However, it produces the same output as [tb]. The order of arguments is now different in MkIV (bug?), you have to write “tmb” or “t-p” to connect from the center of the bottom shape the left of the top shape, the two keywords “m” and “p” are synonyms for “-” (minus) and “+” (plus). Wolfgang ___________________________________________________________________________________ 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] 7+ messages in thread
* Re: [m-chart] Connections 2011-10-18 16:26 ` Wolfgang Schuster @ 2011-10-18 16:52 ` Aditya Mahajan 2011-10-18 17:01 ` Wolfgang Schuster 0 siblings, 1 reply; 7+ messages in thread From: Aditya Mahajan @ 2011-10-18 16:52 UTC (permalink / raw) To: mailing list for ConTeXt users On Tue, 18 Oct 2011, Wolfgang Schuster wrote: > > Am 18.10.2011 um 18:14 schrieb Marco: > >> On 2011-10-18 Aditya Mahajan <adityam@umich.edu> wrote: >> >>> t b r and l correspond to top, bottom, right, and left. >>> The other two points are accessed throught t+ and t- >>> etc. IIRC, for top and bottom, + corresponds to the >>> right point and - to the left point; for left and right, >>> + corresponds to the top point and - to the bottom >>> point. >> >> According to this, [tb+] should yield to the desired >> result. However, it produces the same output as [tb]. > > The order of arguments is now different in MkIV (bug?), It is more likely that I did not recall the syntax correctly. Aditya ___________________________________________________________________________________ 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] 7+ messages in thread
* Re: [m-chart] Connections 2011-10-18 16:52 ` Aditya Mahajan @ 2011-10-18 17:01 ` Wolfgang Schuster 2011-10-18 18:58 ` Marco 0 siblings, 1 reply; 7+ messages in thread From: Wolfgang Schuster @ 2011-10-18 17:01 UTC (permalink / raw) To: mailing list for ConTeXt users Am 18.10.2011 um 18:52 schrieb Aditya Mahajan: > On Tue, 18 Oct 2011, Wolfgang Schuster wrote: > >> >> Am 18.10.2011 um 18:14 schrieb Marco: >> >>> On 2011-10-18 Aditya Mahajan <adityam@umich.edu> wrote: >>> >>>> t b r and l correspond to top, bottom, right, and left. >>>> The other two points are accessed throught t+ and t- >>>> etc. IIRC, for top and bottom, + corresponds to the >>>> right point and - to the left point; for left and right, >>>> + corresponds to the top point and - to the bottom >>>> point. >>> >>> According to this, [tb+] should yield to the desired >>> result. However, it produces the same output as [tb]. >> >> The order of arguments is now different in MkIV (bug?), > > It is more likely that I did not recall the syntax correctly. Neither do I, I don’t use module often enough to remember syntax. To be sure I looked for the correct input and also MkII expects the + and - before the location of the node but MkII had “n” as synonym for + which is now “m” in MkIV. Wolfgang ___________________________________________________________________________________ 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] 7+ messages in thread
* Re: [m-chart] Connections 2011-10-18 17:01 ` Wolfgang Schuster @ 2011-10-18 18:58 ` Marco 0 siblings, 0 replies; 7+ messages in thread From: Marco @ 2011-10-18 18:58 UTC (permalink / raw) To: ntg-context On 2011-10-18 Wolfgang Schuster <schuster.wolfgang@googlemail.com> wrote: > […] > > To be sure I looked for the correct input and also MkII expects > the + and - before the location of the node but MkII had “n” as > synonym for + which is now “m” in MkIV. I see. Thanks for checking the sources. That means the syntax is as follows: -t t +t ---------------- +l | | +r | | l | | r | | -l | | -r | | ---------------- -b b +b I added a section to the wiki. Marco ___________________________________________________________________________________ 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] 7+ messages in thread
end of thread, other threads:[~2011-10-18 18:58 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-10-18 13:42 [m-chart] Connections Marco 2011-10-18 16:03 ` Aditya Mahajan 2011-10-18 16:14 ` Marco 2011-10-18 16:26 ` Wolfgang Schuster 2011-10-18 16:52 ` Aditya Mahajan 2011-10-18 17:01 ` Wolfgang Schuster 2011-10-18 18:58 ` Marco
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).