invana / invana-studio

Open source graph visualiser.
Apache License 2.0
174 stars 19 forks source link

properties not shown #81

Closed flashpixx closed 3 years ago

flashpixx commented 3 years ago

I'm using the latest docker containers of graphexplorer & -engine and janusgraph with lucene backend, I can query edges & vertices without any problem, but the UI does show any properties (edges & vertices), but in the database properties are existing, see screenshot. I have tested it with Chrome, Firefox & Safari.

Bildschirmfoto 2021-01-14 um 22 01 58
rrmerugu commented 3 years ago

Hello @flashpixx, I'm assuming you are using a custom query using the query console feature. Can you confirm if you are using something like this g.V().limit(2).valueMap(true).toList(). ie., Using the valueMap(true) in the query, this will return the properties also.

when query is g.V().limit(2).valueMap(true).toList() image

when query is g.V().limit(2).toList(). image

Let me know, if this worked

rrmerugu commented 3 years ago

@flashpixx did this work ?

etshei commented 3 years ago

i was having the same problem with a custom query and not having the properties but when adding valueMap(true) they were available in the UI 👍🏼

rrmerugu commented 3 years ago

Yeah, you need to add valueMap(true) with the custom query. I hope that fixed your issue, I'm closing this issue now,