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
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
On 2011-10-18 Aditya Mahajan
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
Am 18.10.2011 um 18:14 schrieb Marco:
On 2011-10-18 Aditya Mahajan
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
On Tue, 18 Oct 2011, Wolfgang Schuster wrote:
Am 18.10.2011 um 18:14 schrieb Marco:
On 2011-10-18 Aditya Mahajan
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
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
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
On 2011-10-18 Wolfgang Schuster
[…]
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
participants (3)
-
Aditya Mahajan
-
Marco
-
Wolfgang Schuster