On Fri, Jul 23, 2010 at 10:18 PM, Ben Edwards <[email protected]> wrote:
> As I am working on patching this, I wonder if we shouldn't have an API
> change in sage. Currently several functions, namely cliques_number_of
> take a 'with_labels' argument as a Bool to determine whether a
> dictionary of values is returned or a list. In the new networkx
> version, the function always returns a dictionairy, and one can access
> the list of values with a call to .values(). This seems more natural
> and intuitive to me, and I think we should change the sage function to
> be consistent with the networkx method. Thoughts?

I think we should change the API, not in order to stay consistent with
the NetworkX method, but because it is better. Hopefully the NX API is
more stable than it has been in the past, but it has been a moving
target before. In general the Sage API is distinct from the NX one...


-- 
Robert L. Miller
http://www.rlmiller.org/

-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to