Hello, As this is my first message here, first of all: many thanks for Mayavi. It is very impressive indeed.
I am only just starting out - got the general idea, worked through some examples. So these are proper newbie questions. Beginning from http://networkx.lanl.gov/examples/drawing/mayavi2_spring.html [1] I would like to make the diameter of each graph edge (tube) depend on an associated weight value. My impression is that tube_radius can only be a single value, not a vector, so I imagine a loop is required. Is that correct? [2] I am somewhat confused by the lines pts.mlab_source.dataset.lines = np.array(G.edges()) tube = mlab.pipeline.tube(pts, tube_radius=0.01) in that it is not immediately obvious that a points3d object has lines associated with it. Or are these /created/ here (1st line)? Then how does the 2nd line 'know' that the tube shapes need to be applied to the /lines/? Please point to relevant docs if this is explained somewhere. [3] Would curved tubes be possible? [4] What about arrowheads, for a directed graph? I'm not sure how to even start approaching [3] and [4], so a general idea would be very welcome. Thank you! Andreas ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ MayaVi-users mailing list MayaVi-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mayavi-users