DRAWEDGELABELS Draw values associated to graph edges. usage: drawEdgeLabels(NODES, EDGES, VALUES); NODES: array of double, containing x and y values of nodes EDGES: array of int, containing indices of in and out nodes VALUES is an array the same length of EDGES, containing values associated to each edges of the graph. The function computes the center of each edge, and puts the text with associated value. H = drawEdgeLabels(...) return array of handles to each text structure, making possible to change font, color, size ----- author: David Legland INRA - TPV URPOI - BIA IMASTE created the 10/02/2003.
Package: matgeom