(In the future you're probably better off asking questions to
the mailing list as a whole, since I can't promise timely (or
even eventual) answers :-)

To label the center of each triangle, I believe the following will
work (or is very close):
this is written in script terms but obviously can be applied to the
visual program editor.

c = Extract(fieldoftriangles, "connections");
num = Inquire(c,"items");
trinums = Enumerate(start=0, delta = 1, count=num);  //this just makes a
list 0,1,2,3,......, num-1
trinums = Options(trinums,"dep", "connections"); //this adds dx-necessary
meta-data; that these are 1:1 with connections
output = Replace(trinums, c, NULL, "data");   // now you have as the data
component, the index of the triangle
labels = AutoGlyph(output,"text"); //this should make labels at the center
of each triangle

As for the vectors on the edges, unless you already have the positions of
the center of the edges, this
is going to be difficult. You might try this one on the forum.

Donna

_________________________________
Donna L. Gresh, Ph.D.
Visual Analysis Group
IBM T.J. Watson Research Center
(914) 784-5049
[EMAIL PROTECTED]

Reply via email to