gremlingraphson

How to visualize graphson data?


i got a requirement to build a Graphson format for the provided data, i'm all done performing that, now my question is, how do i visualize the graphson the way we do that in yEd for graphml. A) Is there any tool to perform that? B) If not, then is there any changes do i need to make to visualize it in any tool?


Solution

  • If you have GraphSON, then you can just read it into a TinkerGraph and write it out as GraphML.

    Graph graph = TinkerGraph.open();
    graph.io(IoCore.graphson()).readGraph("tinkerpop-modern.json");
    graph.io(IoCore.graphml()).writeGraph("tinkerpop-modern.xml")