On 05/13/2014 10:06 AM, blu-elephant wrote: > Interested to know if there are any plans to link graph-tool with a > graph database e.g. via the Tinkerpop <http://www.tinkerpop.com/>stack > of technology or pyBlueprints > <https://github.com/escalant3/pyblueprints>? > > I would be great to be able to run the algorithms within graph-tool on > data from a graph database (such as neo4j) without having to have a > static GraphML representation of the data
Since Tinkerpop and pyBlueprints have their own graph data structure, there is no other way than to convert it to graph-tool's format. There are no plans to make the connection tighter, since this would involve major rewrites. However you can do better than writing it to a file by simply writing a converter in Python. All you need to do is iterate through the edges and vertices and add them to a new graph-tool graph, and vice versa. Best, Tiago -- Tiago de Paula Peixoto <[email protected]> _______________________________________________ graph-tool mailing list [email protected] http://lists.skewed.de/mailman/listinfo/graph-tool
