[jgrapht-users] How do I get an ordered dependency iterator using JGraphT
Brought to you by:
barak_naveh,
perfecthash
From: Peter W. <pro...@gm...> - 2011-04-10 09:46:06
|
Hi, I'm working on a js dependency management project. I've been pointed at JGraphT which seems to offer a lot of handy stuff. However I'm having trouble finding the specific info I want which is how I can retrieve the vertexes in dependency order from a given starting node. e.g. I have a tree with 3 Vertexes A => B, B => C, A => C I want to iterate through the vertexes in order of A, B, C. I'm finding I get results like A, C, B. Cheers, Pete |