CircularLayoutAlgorithm - Order of vertices

Jan 31, 2011 at 1:54 PM


The order in which the CircularLayoutAlgorithm put each node is currently random.

Do you think it will be a good idea to add a delegate to CircularLayoutParameters which will return an ordered list of the vertices that are about to be layed-out?

This way we can do all, but not limited, of the following:

  • Sort nodes according to their name - this way the user can quickly find a node.
  • Sort noes by the rank of edges they have
  • Distribute nodes by rank of edges so the higher rank will not be all on single place

Thank you,