Hi,

I need a graph library that is accessible for both Python and C++
together with a few other requirements.

graph-tool seems to fulfill all this requirements. However, I don't find
any information whether the library is usable from C++ code as well.

My project consists out of several modules that are all aware a one main
graph object. Each module can be written either in Python or C++. The
modules itself are managed with some Python code.

So my question is: Is it possible to get the C++ graph object out of the
Python graph object? Is it possible to fill the C++ graph object
directly with nodes and edges?

Another point is that I need to attach a pointer (or shared_ptr) to a
custom C++ type to some nodes. The pointer does not need to be
accessible or visible from Python. Is this possible in a simple way?
(Of course I can workaround with an e.g. map of type (vertex id,
pointer).)

Regards,
Gerion

Attachment: signature.asc
Description: This is a digitally signed message part.

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

Reply via email to