------ art_14363_32064191.1144143740588 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Then you have to manually enter all the edges? I wanted to be able to pass an array of edges, so that the array can be generated programmatically. On 4/4/06, Robert Feldt <robert.feldt / gmail.com> wrote: > > On 4/4/06, Himadri Choudhury <hchoudh / gmail.com> wrote: > > Perhaps I can ask this in another way. Is it possible to pass a variable > > collection of paths to create a DiGraph? > > > I don't understand what you mean by "variable collection". > > DiGraph.new([1,2]) create a DiGraph like so > > 1 -> 2 > > and DiGraph.new([1,2], [2,3]) creates a DiGraph like so > > 1 -> 2 -> 3 > > Does this help? > > Regards, > > Robert > > ------ art_14363_32064191.1144143740588--