Re: [graph-tool] Graph database
Are you sure that that wouldn't work wth Neo4j? How large is your dataset? Felix Victor Münch PhD Candidate @ QUT Digital Media Research Centre Social Media: https://about.me/flxvctr Google Scholar: https://scholar.google.com.au/citations?user=yn1Rz_EJ Academia.edu: https://qut.academia.edu/FlxVctr ResearchGate: https://www.researchgate.net/profile/Felix_Muench ORCID: https://orcid.org/-0001-8808-6790 QUT: http://staff.qut.edu.au/staff/muench/ QUT preprints: https://eprints.qut.edu.au/view/person/M=FCnch,_Felix_Victor.html > On Monday, Jun 18, 2018 at 8:49 pm, Matyas Csongor (mailto:cfm...@mun.ca)> wrote: > I know this is a bit off topic, but it might be related to graph-tool also > there might be someone here who could help me. I need all the planar graphs > that are 4-regular (in the meaning that every vertex has a degree 4) but each > graph is allowed to have double edges (not triple or more) also an edge can > connect to the same vertex. I couldn't find any database that could give > these to me so probably I will have to generate them for myself. Any idea of > how could I do this with graph-tool? I know how can I check weather these > graphs are planar or not, but the rest seems very complicated. Any help is > very much appreciated. > > Csongor > ___ > graph-tool mailing list > graph-tool@skewed.de > https://lists.skewed.de/mailman/listinfo/graph-tool ___ graph-tool mailing list graph-tool@skewed.de https://lists.skewed.de/mailman/listinfo/graph-tool
Re: [graph-tool] Graph database graph-tool
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 ti...@skewed.de ___ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool
Re: [graph-tool] Graph database graph-tool
Great response, thanks for the swift answer. I'm sure I'll have more questions. Keep up the great work On 14 May 2014 16:58, Tiago de Paula Peixoto ti...@skewed.de wrote: 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 ti...@skewed.de ___ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool ___ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool