Standard graph API?
Magnus Lie Hetland
mlh at furu.idi.ntnu.no
Mon Aug 23 22:49:09 CEST 2004
In article <mailman.2228.1093282813.5135.python-list at python.org>,
Robert Brewer wrote:
>> Is there any interest in a (hypothetical) standard graph API (with
>> 'graph' meaning a network, consisting of nodes and edges)?
>2) Only if it's in C.
That would be up to the implementer. I'm only talking about defining
an API -- not the implementation. (Cf. the DB-API.)
>3) It would have to accept arbitrary objects. No "make your class a
>subclass of GraphNode" garbage.
Of course. Signature-based polymorphism and protocols all the way :)
Magnus Lie Hetland "Canned Bread: The greatest thing since sliced
http://hetland.org bread!" [from a can in Spongebob Squarepants]
More information about the Python-list