Hi Nate, 
as you already know arangodb produces json documents as an output.

As far as I read the desktop Cytoscape overwiew most of the import formats 
seem to be xml based.  However, their web-version seems to be json based:

https://github.com/cytoscape/cytoscape.js/blob/master/test/collection-algorithms2.js

A question to the cytoscape developers would be, whether the desktop client 
can read the same graph data in json format as the webclient can - or if it 
can just dump it.

Then you could use ArangoDBs AQL to formulate the output results directly 
in the format the web client can understand:

( using this example graph: 
https://docs.arangodb.com/3.0/AQL/Graphs/Traversals.html#example-execution )

LET g = (FOR v, e IN 1..3 OUTBOUND 'circles/A' GRAPH 'traversalGraph' LET 
vx = MERGE(v, {id: v._key}) LET ex = MERGE(e, {source: e._from, target: 
e._to}) RETURN {v : {data : vx} , e: {data: ex}}) RETURN { nodes: g[*].v, 
edges: g[*].e}




Btw, ArangoDB 3.1 is going to bring a new graph viewer, you can take a 
sneak preview of it here: 

https://github.com/arangodb/example-datasets#debian-dependency-graph

Cheers, 
Willi

On Friday, August 26, 2016 at 5:22:13 AM UTC+2, Nate Gardner wrote:
>
> I would absolutely love it if there was some kind of Cytoscape Arango 
> bridge. For enormous graphs, a web solution just won't be powerful enough, 
> even if it is WebGL accelerated. I wonder how hard it would be to dump 
> relations in a format Cytoscape could read?
>
> On Monday, March 31, 2014 at 6:19:39 PM UTC-7, Guizmo wrote:
>>
>> This is a built in feature into Arango.
>> There are also dedicated software platform and tools for graph data 
>> visualization and exploration, to manipulate and analyze graphs such as 
>> Maltego <http://www.paterva.com/web6/products/maltego.php>, Gephi 
>> <http://gephi.org/>, Cytoscape <http://www.cytoscape.org/>to mention the 
>> main ones i can think of.
>> Some graph db support some of these tools or benefit of a support from 
>> them (ie the tools support the db).
>>
>> What about Arango ? 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to