How to integrate Cytoscape with JanusGraph 0.2?
Asked Answered
B

1

7

JanusGraph official website provides some graph visualization tools. Cytoscape is one of them. I want to visualize my graph data with Cytoscape. I have no clue how to integrate Cytoscape with JanusGraph. Can someone provide some information how to integrate Cytoscape with JanusGraph?

Bramwell answered 27/1, 2018 at 8:11 Comment(0)
W
8

GraphML is the IO format of choice when integrating with other graph oriented tools, like visualization packages. Simple export your graph to that format as described in the Apache TinkerPop documentation:

graph.io(graphml()).writeGraph("export.xml")

The import that to Cytoscape 3 via the File | Import option. If I recall correctly, with Cytoscape 2 you needed the the GraphML Reader installed. As with any visualization tool the size of the graph you intend to visualize will be constrained by the amount of memory that you have. So, if you have a large graph, you will like wish to subgraph it for export so that you can visualize just the portion you care about.

Whetstone answered 29/1, 2018 at 12:3 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.