aws / graph-explorer

React-based web application that enables users to visualize both property graph and RDF data and explore connections between data without having to write graph queries.
https://github.com/aws/graph-explorer
Apache License 2.0
305 stars 46 forks source link

[Bug] Newly added edge properties are not reflected by the Explorer #349

Closed krlawrence closed 2 months ago

krlawrence commented 2 months ago

Community Note

Summary If a new property is added to an existing edge, the new property does not get reflected when that edge is displayed in the Explorer. Having run the query below:

g.E('5064').property('my-new-property',123)

inside the database the edge now has the following properties

g.E('5064').valueMap()

{'my-new-property': 123, 'dist': 708}

However, when the edge is displayed on the explorer it only shows the original property in the details panel.

image

If the browser debugger is used, under the network view, you can see that the Explore does fetch the new property values, but does not then include them in the details view. I also experimented with re-running sync. and nothing seemed to force the Explorer to actually display the new values. It almost feels as if the prior values have somehow been cached.

The image below shows that in the browser debugger the new edge properties were fetched (but not used in the display)

image

kmcginnes commented 2 months ago

I briefly poked around the code and it looks like it attempts to do the right thing. So something must be broken.