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
317 stars 47 forks source link

Refactor Connector Part 2 - raw ID type map #367

Closed kmcginnes closed 5 months ago

kmcginnes commented 5 months ago

Description

This raw ID type map was being stored next to the connector state. It is a lookup for a vertex ID to its original type before it was mapped to a string.

Instead, I store this value on the VertexData instance. It should use the same or less memory and avoids all the strange state logic needed to maintain the map.

Validation

Related Issues

Check List