bricaud / graphexp

Interactive visualization of the Gremlin graph database with D3.js
Apache License 2.0
780 stars 215 forks source link

gremlin server 3.4.1 with bitsy #64

Closed dpavsrtrl closed 1 year ago

dpavsrtrl commented 5 years ago

Bitsy uses UUID. I don't see edges at all. Instead of id it displays [object Object].

Here's the response to [Search] command:

{"requestId":"1bf4cbbe-7e1b-4306-a3e6-2de346c8efdf","status":{"message":"","code":200,"attributes":{"@type":"g:Map","@value":["host","/127.0.0.1:7404"]}},"result":{"data":{"@type":"g:List","@value":[{"@type":"g:List","@value":[{"@type":"g:Vertex","@value":{"id":{"v":1,"l":"person","p":{"@type":"g:Map","@value":["alive",true,"birthyear",{"@type":"g:Int32","@value":2009},"hobbies",{"@type":"g:List","@value":["traversing","reflecting"]},"name","Gremlin"]},"id":"6dbeb7a0-924c-461b-884f-02ea1e43587e"},"label":"person"}},{"@type":"g:Vertex","@value":{"id":{"v":1,"l":"gimpl","p":{"@type":"g:Map","@value":["language","Java8","name","Gremlin-Java"]},"id":"545bff81-e37b-43b8-bc8e-8ecc37add487"},"label":"gimpl"}},{"@type":"g:Vertex","@value":{"id":{"v":1,"l":"gimpl","p":{"@type":"g:Map","@value":["language","Python","name","Gremlin-Python"]},"id":"9485bbae-92dd-43ec-ae43-5a2883791cb9"},"label":"gimpl"}},{"@type":"g:Vertex","@value":{"id":{"v":1,"l":"gimpl","p":{"@type":"g:Map","@value":["language","Clojure","name","Ogre"]},"id":"ce346ed6-1836-49ec-b543-85e2d761bd11"},"label":"gimpl"}}]},{"@type":"g:List","@value":[{"@type":"g:Edge","@value":{"id":{"id":"a363d3dc-b6a7-4699-8703-cc354839d5cc","v":1,"l":"languages","p":null},"label":"languages","inVLabel":"gimpl","outVLabel":"person","inV":{"v":1,"l":"gimpl","p":{"@type":"g:Map","@value":["language","Clojure","name","Ogre"]},"id":"ce346ed6-1836-49ec-b543-85e2d761bd11"},"outV":{"v":1,"l":"person","p":{"@type":"g:Map","@value":["alive",true,"birthyear",{"@type":"g:Int32","@value":2009},"hobbies",{"@type":"g:List","@value":["traversing","reflecting"]},"name","Gremlin"]},"id":"6dbeb7a0-924c-461b-884f-02ea1e43587e"}}},{"@type":"g:Edge","@value":{"id":{"id":"188a50f6-46af-4f7b-8a3c-d87521cca31e","v":1,"l":"languages","p":null},"label":"languages","inVLabel":"gimpl","outVLabel":"person","inV":{"v":1,"l":"gimpl","p":{"@type":"g:Map","@value":["language","Java8","name","Gremlin-Java"]},"id":"545bff81-e37b-43b8-bc8e-8ecc37add487"},"outV":{"v":1,"l":"person","p":{"@type":"g:Map","@value":["alive",true,"birthyear",{"@type":"g:Int32","@value":2009},"hobbies",{"@type":"g:List","@value":["traversing","reflecting"]},"name","Gremlin"]},"id":"6dbeb7a0-924c-461b-884f-02ea1e43587e"}}},{"@type":"g:Edge","@value":{"id":{"id":"11e1858a-b64f-4892-b6aa-47c46640c925","v":1,"l":"languages","p":null},"label":"languages","inVLabel":"gimpl","outVLabel":"person","inV":{"v":1,"l":"gimpl","p":{"@type":"g:Map","@value":["language","Python","name","Gremlin-Python"]},"id":"9485bbae-92dd-43ec-ae43-5a2883791cb9"},"outV":{"v":1,"l":"person","p":{"@type":"g:Map","@value":["alive",true,"birthyear",{"@type":"g:Int32","@value":2009},"hobbies",{"@type":"g:List","@value":["traversing","reflecting"]},"name","Gremlin"]},"id":"6dbeb7a0-924c-461b-884f-02ea1e43587e"}}},{"@type":"g:Edge","@value":{"id":{"id":"bd341b44-d9a5-44fb-8d65-c4a57f8e5704","v":1,"l":"test","p":{"@type":"g:Map","@value":["name","testedge"]}},"label":"test","inVLabel":"gimpl","outVLabel":"person","inV":{"v":1,"l":"gimpl","p":{"@type":"g:Map","@value":["language","Clojure","name","Ogre"]},"id":"ce346ed6-1836-49ec-b543-85e2d761bd11"},"outV":{"v":1,"l":"person","p":{"@type":"g:Map","@value":["alive",true,"birthyear",{"@type":"g:Int32","@value":2009},"hobbies",{"@type":"g:List","@value":["traversing","reflecting"]},"name","Gremlin"]},"id":"6dbeb7a0-924c-461b-884f-02ea1e43587e"}}}]}]},"meta":{"@type":"g:Map","@value":[]}}}