invana / invana-studio

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

Edge label is not displayed #80

Closed danielinbaraj-cognit closed 3 years ago

danielinbaraj-cognit commented 3 years ago

Hi,

I have created graph data on janusgraph gremlin server. I am able to get the vertices and the edges between them by using gremlin console query.

When I use the invana graph explorer, I am unable to view the edge label by default.

Is there any settings to enable the edge label to be viewed?

Thanks, Daniel

rrmerugu commented 3 years ago

Can you share the screenshot ? Is that ok with you ?

danielinbaraj-cognit commented 3 years ago

Screenshot from 2020-12-15 15-48-02

I require Edge label to be displayed, as well as Vertex Label, instead of vertex id..

rrmerugu commented 3 years ago

Ok got it, labels for edges is not implemented yet, I will fix that soon. But if you just want to see the labels for edges, atleast the colour coding shall help you in identifying the edge labels from the overview. Regarding node labels, you can set any property of the vertex as the label, by clicking the wrench icon next to vertex and provide what property key should the UI use to label the node. But there is no way you can set the vertex label(like Person) as the label of the a node, instead you can user the property key eg: "name" to get the vertex label as "Ravi" assuming the data is {"label": "Person", type: "g:Vertex", "id": 1, properties: {"name": "Ravi"}} . There is no way to user the label "Person" as the label of the node in the current release, you can only user property keys for generating the labels of the nodes.

image

github-actions[bot] commented 3 years ago

Knock Knock! Anyone here! This issue might need attention.