ArangoDB-Community / arangodb-tinkerpop-provider

An implementation of the Tinkerpop OLTP Provider for ArangoDB
Apache License 2.0
83 stars 16 forks source link

ArangoDB as datasource for gephi #7

Closed hoffmaaxe closed 6 years ago

hoffmaaxe commented 10 years ago

Is there a way to use ArangoDB as datasource for gephi? I tried https://github.com/datablend/gephi-blueprints-plugin/wiki . But it is only working with the indirection over rexster with included plugin blueprints-arangodb-graph.

I think this is very inelegant option with a lot overhead.

I wish some way, that I'm able to add a blueprints arango db plugin to gephi and then I'm able to choose a ArangoDB as datasource. Maybe in combination with gephi-blueprints-plugin!? Ideas?

moonglum commented 10 years ago

Hey :smiley: If I'm not mistaken, ArangoDB can export data as CSV (not only JSON). And I know that Gephi can import CSV for analysis (used that in my thesis).

Let me check that!

moonglum commented 10 years ago

Sorry, this was nonsense... We can't export CSV as CSV does not support nested data, this is not really possible.

moonglum commented 10 years ago

I guess we would need to support one of the other graph formats that Gephi can import.

hoffmaaxe commented 10 years ago

Hi, I read your thesis partially and saw that you worked with Neo4j and Gephi. Did you also worked with ArangoDB and Gephi?

I think a combination of the blueprints plugin for gephi and the arangodb blueprints API would be the nicest solution to avoid an additional step over a csv (or other) file to work with data from ArangoDB in Gephi.

The description of the blueprints plugin for gephi says: "The Gephi Blueprints plugin allows a user to import graph-data from any graph database that implements the Tinkerpop Blueprints generic graph API". But I don't know how - it supports out of the box only TinkerGraph, Neo4j, OrientDB, Dex, RexterGraph and FluxGraph.

moonglum commented 10 years ago

Great to hear :smile: I generated graphs via a preferential attachment algorithm I implemented in Ruby that exported the graph for Neo, Arango and Gephi in my evaluation.

We already implemented a Tinkerpop/Blueprint adapter. Maybe this will be enough? Could you try this?

hoffmaaxe commented 10 years ago

Gephi can't use blueprint without a plugin. I tried to use it in combination with "gephi-blueprints-plugin" from datablend ( https://github.com/datablend/gephi-blueprints-plugin ) But it doesn't work. Maybe I miss something - but I can't find any explanation how to use other blueprint enabled databases like the out-of-the-box supported databases (TinkerGraph, Neo4j, OrientDB, Dex, RexterGraph and FluxGraph) with the gephi blueprint plugin.

The arangodb blueprint adapter works nicely with other implementations which support blueprint like rexter. But not with the Gephi Blueprint plugin.

moonglum commented 10 years ago

It seems like one has to create a gephi-blueprint-plugin specifically. If you look at the branches on this repository you can see that they implemented them separately. I'm not sure if that is a problem of the blueprints-arangodb-graph plugin, maybe you need to write a separate adapter?

hoffmaaxe commented 10 years ago

Yes, from my current point of view, there is no other possibility than write a own plugin for Gephi.

hoffmaaxe commented 10 years ago

Yes, from my current point of view there is no other possibility than writing a own plugin for Gephi.

moonglum commented 10 years ago

Ok! If you have any questions along the way, please feel free to ping us!

wenerme commented 7 years ago

Any progress on this issues ?

dothebart commented 7 years ago

not directly, but we're introducing arangoexport, which has cytoscape support: https://www.arangodb.com/2017/02/arangoexport-tool-exporting-data-arangodb/

wenerme commented 7 years ago

Any release date for 3.2 ? We just started using arangodb for POC.

dothebart commented 7 years ago

We're planning to release ArangoDB 3.2 in Q2 2017

gabefair commented 6 years ago

So in conclusion what is the best way to use ArangoDB as datasource for gephi? Is it still the blueprint route?

gabefair commented 6 years ago

I also noticed Arangodb is not on this list: tinkerpop.apache.org/

arcanefoam commented 6 years ago

This seems to be a more general question that directly related to the Tinkerpop provider. Closing this as the code base and versions supported have changed significantly. Please reopen if you continue to experience this issue.