On 20.11.2017 15:30, Anton Daneyko wrote:
> So instead of walking the data structure I have and converting it to a list
> of lists or whatever representation is consumed by the graph library, I
> would specify an adaptor interface to my own class so the graph library
> would be able to interact with my hierarchy directly. Is this sort of thing
> possible?

No. Graph-tool has its own internal C++ data structure which is exposed via
Python. However, all algorithms operate on the internal data structure, so
they cannot be used on other ones defined in Python, even if they are
derived from the exposed class.

-- 
Tiago de Paula Peixoto <[email protected]>

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
graph-tool mailing list
[email protected]
https://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to