From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5560 Path: main.gmane.org!not-for-mail From: Giuseppe Bilotta Newsgroups: gmane.comp.tex.context Subject: Charting module Date: Sun, 9 Sep 2001 19:02:27 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <11821851225.20010909190227@bigfoot.com> Reply-To: Giuseppe Bilotta NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------11B43413014A2D2" X-Trace: main.gmane.org 1035396145 2706 80.91.224.250 (23 Oct 2002 18:02:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:02:25 +0000 (UTC) Original-To: ntg-context@ntg.nl Xref: main.gmane.org gmane.comp.tex.context:5560 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5560 ------------11B43413014A2D2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I just began exploring the charting module. And here I am with a couple of requests! :-) What I basically have the need for is "half-grid" steps. Say that I want a layout like the following X4X \ +--XbX / X2X X1X X3X | | | | \-+-/ \-+-/ | | XcX /-+-\ | | XdX XaX I would like to occupy as less space as possible, while still retaining the "local centering" (that is, box c between box 1 and 2, box b between box 1 and 4, box d possibly aligned under box 1 and box a possibly under box 3). Also the link between 1-3 and d-a should join in the middle before splitting again. Note that I can achieve this by putting intermediate empty spaces between the main (Roman-numbered) boxes, but this would leave too much space. With the grid, we have Empty Empty "Box 4" Empty Empty Empty Empty Empty "Box b" Empty "Box 2" Empty "Box 1" Empty "Box 3" Empty "Box c" Empty 0 Empty Empty Empty "Box d" Empty "Box a" while with half-grid steps I could put the intermediate link box 0 (which btw shows as an empty dot; how to make it disappear so that the conjunction is seamless?) and boxes b and c in a half-step, reducing space waste. A second question is about connection points. Despite the recommendations in the manual about trying to avoid multiple (outgoing) links per side (using e.g. [-b] or [+b]), I find this possibility helpful, and actually essential in the above mentioned example, where "Box 1" has two connection at the bottom (left and right). (Yes I know I should rearrange the chart, but I don't want to; I prefer it this way.) However, these connections are too spaced away, because they are at about 1/4, 3/4 of the side, which is essential if a third connection (midpoint) is used, but sub-optimal when only two connections are used (a better positioning in this case would be to use a 1/3, 2/3 spacing). The suggestion resolves finally in either giving the user the possibility to control position of the connection points, or providing automatically the best position depending on how many connection points are actually used. (And what about allowing the users to have "as many connection points per side as desired"? Imagine a (horrible?) thing with five connection points: ++b, +b, b, -b, --b !) Finally: why do corner radius and arrow size share the same value? Is there a way to change the value for some connections only and activate/deactivate arrows for specific connections? is there a way to force a straight arrow even when by default it would come out bended? Btw, see attached file if you want to see how the chart is currently implemented. -- Giuseppe "Oblomov" Bilotta ------------11B43413014A2D2 Content-Type: application/octet-stream; name="gb-chart.tex" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="gb-chart.tex" JSZjb250LWVuDQoNClx1c2Vtb2R1bGVbY2hhcnRdDQoNClxzZXR1cHBhcGVyc2l6ZVtTNl1bUzZd DQoNClxuZXdpZlxpZnBkZg0KXHBkZnRydWUNClxpZnhccGRmb3V0cHV0XHJlbGF4DQogICAgXHBk ZmZhbHNlDQpcZWxzZQ0KICAgIFxpZm51bVxwZGZvdXRwdXQ9MA0KICAgICAgICBccGRmZmFsc2UN CiAgICBcZmkNClxmaQ0KDQpcaWZwZGYNCiAgXHNldHVwaW50ZXJhY3Rpb25zY3JlZW5bb3B0aW9u PW1heF0NCiAgXHNldHVwYmFja2dyb3VuZHNbcGFwZXJdW3RleHRdDQogICAgICAgICAgICAgICAg ICAgW2JhY2tncm91bmQ9Y29sb3IsYmFja2dyb3VuZGNvbG9yPWRhcmt5ZWxsb3ddDQpcZmkNCg0K DQpcc2V0dXBwYWdlbnVtYmVyaW5nW3N0YXRlPXN0b3BdDQoNClxzdGFydHRleHQNCg0KXHNldHVw RkxPV2NoYXJ0c1ttYXh3aWR0aD1cdGV4dHdpZHRoLGR4PVxib2R5Zm9udHNpemUsZHk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