-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(bugfix/issue-55) Support non-string based ids for gremlin connector #60
(bugfix/issue-55) Support non-string based ids for gremlin connector #60
Conversation
b5078f6
to
4aa0602
Compare
This seems to be fetching the IDs as numerics now and pulling them into the tabular view of all vertices. However, I'm now seeing an issue where fetching a vertex into the Explorer UI and attempting to expand it is not working correctly. I'm testing with the following test graph in Gremlin Server [1]:
Going into the tabular view of all vertices, I can select one of the two "testV' vertices and bring it into the Explorer UI successfully. When I go to expand the vertex to look for neighbors via double-clicking the vertex, the UI states that there are no neighbor vertices. After reviewing the Dev Tools Network tab, I noticed that we're generating the following query:
So the UI is attempting to fetch a vertex with the ID as a String instead of with a Long. The query should be:
[1] Note that I'm allowing Gremlin Server to generate IDs for me and the default is to generate IDs as Longs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see comments from @triggan
I built a version of the Explorer with this PR included. It helped with the issues reported in #33 (Explorer not working with JanusGraph - which also uses numeric IDs). The Explorer will now display nodes. However, when I expand a node, existing (displayed) edges get hidden (disappear). I believe this is consistent with what @triggan reported in his comments above. |
I've updated the PR to properly manage numeric ids. Now, we store the id type inside the GremlinConnector to be able to differentiate string based ids from numeric ids and fetch neighbors using the corresponding template. |
73f724a
to
984995c
Compare
I think it's OK to fix it in a separate PR, but a Gremlin Server also allows UUIDs to be used as the ID type. I added a comment about this in issue #55 |
984995c
to
23985da
Compare
I built the latest code with this PR included. I'm still seeing issues.
|
I built a new container image, and retested with the latest commits. The nodes not expanding correctly when first rendered issue (in Firefox) seems to be improved now. However, every F0Cose layout seems to run twice now, when nodes are expanded, which looks a little odd to a user. The edges vanishing when the Explorer is connected to Janus Graph also seems fixed now. I also tested with Neptune. |
I built and tested with the latest fixes and the double redraw issue is now resolved. I tested on Firefox and Chrome. I think this PR can now be merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Latest updates seem to have resolved the remaining issues called out in the comments.
* new file: package-lock.json modified: packages/graph-explorer/src/connector/gremlin/mappers/mapApiEdge.ts modified: packages/graph-explorer/src/connector/gremlin/mappers/mapApiVertex.ts new file: packages/graph-explorer/src/connector/gremlin/mappers/toStringId.ts modified: packages/graph-explorer/src/connector/gremlin/queries/fetchNeighbors.ts modified: packages/graph-explorer/src/connector/gremlin/types.ts modified: packages/graph-explorer/src/core/StateProvider/nodes.ts renamed: packages/graph-explorer/src/modules/HealthgraphTab/HealthgraphTab.tsx -> packages/graph-explorer/src/modules/AP-HealthgraphTab/HealthgraphTab.tsx renamed: packages/graph-explorer/src/modules/HealthgraphTab/HealthgraphTabContent.styles.ts -> packages/graph-explorer/src/modules/AP-HealthgraphTab/HealthgraphTabContent.styles.ts renamed: packages/graph-explorer/src/modules/HealthgraphTab/HealthgraphTabContent.tsx -> packages/graph-explorer/src/modules/AP-HealthgraphTab/HealthgraphTabContent.tsx renamed: packages/graph-explorer/src/modules/HealthgraphTab/HealthgraphTabFilters.tsx -> packages/graph-explorer/src/modules/AP-HealthgraphTab/HealthgraphTabFilters.tsx renamed: packages/graph-explorer/src/modules/HealthgraphTab/index.ts -> packages/graph-explorer/src/modules/AP-HealthgraphTab/index.ts new file: packages/graph-explorer/src/modules/AP-OntologyTab/OntologyListTypes.ts renamed: packages/graph-explorer/src/modules/OntologyTab/OntologyTab.tsx -> packages/graph-explorer/src/modules/AP-OntologyTab/OntologyTab.tsx renamed: packages/graph-explorer/src/modules/OntologyTab/OntologyTabContent.styles.ts -> packages/graph-explorer/src/modules/AP-OntologyTab/OntologyTabContent.styles.ts new file: packages/graph-explorer/src/modules/AP-OntologyTab/OntologyTabContent.tsx new file: packages/graph-explorer/src/modules/AP-OntologyTab/StoredOntologyList.ts renamed: packages/graph-explorer/src/modules/OntologyTab/index.ts -> packages/graph-explorer/src/modules/AP-OntologyTab/index.ts renamed: packages/graph-explorer/src/modules/PatientSearch/PatientSearch.styles.ts -> packages/graph-explorer/src/modules/AP-PatientSearch/PatientSearch.styles.ts renamed: packages/graph-explorer/src/modules/PatientSearch/PatientSearch.tsx -> packages/graph-explorer/src/modules/AP-PatientSearch/PatientSearch.tsx renamed: packages/graph-explorer/src/modules/PatientSearch/toAdvancedList.ts -> packages/graph-explorer/src/modules/AP-PatientSearch/toAdvancedList.ts renamed: packages/graph-explorer/src/modules/PatientSearch/usePatientSearch.ts -> packages/graph-explorer/src/modules/AP-PatientSearch/usePatientSearch.ts new file: packages/graph-explorer/src/modules/AP-PatientTab/FullExpandCheckbox.tsx renamed: packages/graph-explorer/src/modules/PatientTab/PatientTab.tsx -> packages/graph-explorer/src/modules/AP-PatientTab/PatientTab.tsx renamed: packages/graph-explorer/src/modules/PatientTab/PatientTabContent.styles.ts -> packages/graph-explorer/src/modules/AP-PatientTab/PatientTabContent.styles.ts renamed: packages/graph-explorer/src/modules/PatientTab/PatientTabContent.tsx -> packages/graph-explorer/src/modules/AP-PatientTab/PatientTabContent.tsx renamed: packages/graph-explorer/src/modules/PatientTab/PatientTabFilters.tsx -> packages/graph-explorer/src/modules/AP-PatientTab/PatientTabFilters.tsx renamed: packages/graph-explorer/src/modules/PatientTab/index.ts -> packages/graph-explorer/src/modules/AP-PatientTab/index.ts modified: packages/graph-explorer/src/modules/EntityDetails/EntityDetails.tsx deleted: packages/graph-explorer/src/modules/OntologyTab/OntologyTabContent.tsx deleted: packages/graph-explorer/src/modules/OntologyTab/OntologyTabFilters.tsx modified: packages/graph-explorer/src/workspaces/GraphExplorer/GraphExplorer.tsx * Use the Summary API to improve the schema synchronization performance (aws#80) * Use Summary API to sync the schema * Update counts badges in ConnectionData * Remove individual counts from ConnectionData * Remove individual counts from ConnectionData * Reduce size of Docker image aws#103 (aws#104) * Reduce size of Docker image aws#103 * add a comment about changes made aws#103 * (bugfix/issue-55) Support non-string based ids for gremlin connector (aws#60) * (bugfix/issue-55) Support non-string based ids for gremlin connector * (bugfix/issue-55) Support non-string based ids for gremlin connector * (bugfix/issue-55) Update numeric ids neighbors queries * Fix disappearing edge on JanusGraph * Support JanusGraph Gremlin ids * Fix collapsing edges in non-Chromium browsers * Fix runLayout twice when nodes changes * Restore locking nodes on run layout --------- Co-authored-by: Jackson Millard <jacksonmillard@Jacksons-MacBook-Pro.local> Co-authored-by: Jackson Millard <jacksonmillard@Jacksons-MBP.attlocal.net> * release-1.2.0 (aws#115) Co-authored-by: Michael Chin <chnmch@amazon.com> * modified: package-lock.json modified: package.json new file: packages/graph-explorer/src/components/OntologySelect/OntologySelect.model.ts new file: packages/graph-explorer/src/components/OntologySelect/OntologySelect.styles.ts new file: packages/graph-explorer/src/components/OntologySelect/OntologySelect.tsx new file: packages/graph-explorer/src/components/OntologySelect/index.ts new file: packages/graph-explorer/src/components/OntologySelect/internalComponents/ListBox.tsx new file: packages/graph-explorer/src/components/OntologySelect/internalComponents/SelectBox.tsx new file: packages/graph-explorer/src/components/OntologySelect/internalComponents/SelectHeader/SelectHeader.styles.ts new file: packages/graph-explorer/src/components/OntologySelect/internalComponents/SelectHeader/SelectHeader.tsx new file: packages/graph-explorer/src/components/OntologySelect/internalComponents/SelectListBox.tsx new file: packages/graph-explorer/src/components/OntologySelect/internalComponents/SelectPopover.tsx new file: packages/graph-explorer/src/components/OntologySelect/utils/getThemeWithDefaultValues.ts new file: packages/graph-explorer/src/components/icons/OntologyCreatorIcon.tsx modified: packages/graph-explorer/src/components/icons/index.ts modified: packages/graph-explorer/src/components/index.ts modified: packages/graph-explorer/src/modules/AP-HealthgraphTab/HealthgraphTab.tsx new file: packages/graph-explorer/src/modules/AP-OntologyCreatorTab/InputForm.tsx new file: packages/graph-explorer/src/modules/AP-OntologyCreatorTab/OntologyCreatorTab.tsx new file: packages/graph-explorer/src/modules/AP-OntologyCreatorTab/OntologyCreatorTabContent.styles.ts new file: packages/graph-explorer/src/modules/AP-OntologyCreatorTab/OntologyCreatorTabContent.tsx new file: packages/graph-explorer/src/modules/AP-OntologyCreatorTab/index.ts new file: packages/graph-explorer/src/modules/AP-OntologyCreatorTab/toAdvancedList.ts new file: packages/graph-explorer/src/modules/AP-OntologyListTab/OntologyListTypes.ts renamed: packages/graph-explorer/src/modules/AP-OntologyTab/OntologyTab.tsx -> packages/graph-explorer/src/modules/AP-OntologyListTab/OntologyTab.tsx renamed: packages/graph-explorer/src/modules/AP-OntologyTab/OntologyTabContent.styles.ts -> packages/graph-explorer/src/modules/AP-OntologyListTab/OntologyTabContent.styles.ts new file: packages/graph-explorer/src/modules/AP-OntologyListTab/OntologyTabContent.tsx new file: packages/graph-explorer/src/modules/AP-OntologyListTab/StoredOntologyList.json new file: packages/graph-explorer/src/modules/AP-OntologyListTab/StoredOntologyList.ts renamed: packages/graph-explorer/src/modules/AP-OntologyTab/index.ts -> packages/graph-explorer/src/modules/AP-OntologyListTab/index.ts new file: packages/graph-explorer/src/modules/AP-OntologySearch/OntologySearch.styles.ts new file: packages/graph-explorer/src/modules/AP-OntologySearch/OntologySearch.tsx new file: packages/graph-explorer/src/modules/AP-OntologySearch/toAdvancedList.ts new file: packages/graph-explorer/src/modules/AP-OntologySearch/useOntologySearch.ts deleted: packages/graph-explorer/src/modules/AP-OntologyTab/OntologyListTypes.ts deleted: packages/graph-explorer/src/modules/AP-OntologyTab/OntologyTabContent.tsx deleted: packages/graph-explorer/src/modules/AP-OntologyTab/StoredOntologyList.ts modified: packages/graph-explorer/src/modules/AP-PatientSearch/PatientSearch.styles.ts modified: packages/graph-explorer/src/modules/AP-PatientSearch/PatientSearch.tsx modified: packages/graph-explorer/src/modules/AP-PatientTab/PatientTab.tsx modified: packages/graph-explorer/src/workspaces/GraphExplorer/GraphExplorer.tsx * modified: packages/graph-explorer/src/core/ConfigurationProvider/types.ts modified: packages/graph-explorer/src/modules/AP-OntologySearch/OntologySearch.tsx modified: packages/graph-explorer/src/modules/AP-OntologySearch/useOntologySearch.ts modified: packages/graph-explorer/src/modules/AvailableConnections/AvailableConnections.tsx modified: packages/graph-explorer/src/utils/isValidConfigurationFile.ts modified: packages/graph-explorer/src/utils/saveConfigurationToFile.ts --------- Co-authored-by: nestoralvarezd <117365582+nestoralvarezd@users.noreply.github.com> Co-authored-by: Kelvin Lawrence <gfxman@yahoo.com> Co-authored-by: Jackson Millard <jacksonmillard@Jacksons-MacBook-Pro.local> Co-authored-by: Jackson Millard <jacksonmillard@Jacksons-MBP.attlocal.net> Co-authored-by: Michael Chin <mchin188@yahoo.com> Co-authored-by: Michael Chin <chnmch@amazon.com>
* new file: package-lock.json modified: packages/graph-explorer/src/connector/gremlin/mappers/mapApiEdge.ts modified: packages/graph-explorer/src/connector/gremlin/mappers/mapApiVertex.ts new file: packages/graph-explorer/src/connector/gremlin/mappers/toStringId.ts modified: packages/graph-explorer/src/connector/gremlin/queries/fetchNeighbors.ts modified: packages/graph-explorer/src/connector/gremlin/types.ts modified: packages/graph-explorer/src/core/StateProvider/nodes.ts renamed: packages/graph-explorer/src/modules/HealthgraphTab/HealthgraphTab.tsx -> packages/graph-explorer/src/modules/AP-HealthgraphTab/HealthgraphTab.tsx renamed: packages/graph-explorer/src/modules/HealthgraphTab/HealthgraphTabContent.styles.ts -> packages/graph-explorer/src/modules/AP-HealthgraphTab/HealthgraphTabContent.styles.ts renamed: packages/graph-explorer/src/modules/HealthgraphTab/HealthgraphTabContent.tsx -> packages/graph-explorer/src/modules/AP-HealthgraphTab/HealthgraphTabContent.tsx renamed: packages/graph-explorer/src/modules/HealthgraphTab/HealthgraphTabFilters.tsx -> packages/graph-explorer/src/modules/AP-HealthgraphTab/HealthgraphTabFilters.tsx renamed: packages/graph-explorer/src/modules/HealthgraphTab/index.ts -> packages/graph-explorer/src/modules/AP-HealthgraphTab/index.ts new file: packages/graph-explorer/src/modules/AP-OntologyTab/OntologyListTypes.ts renamed: packages/graph-explorer/src/modules/OntologyTab/OntologyTab.tsx -> packages/graph-explorer/src/modules/AP-OntologyTab/OntologyTab.tsx renamed: packages/graph-explorer/src/modules/OntologyTab/OntologyTabContent.styles.ts -> packages/graph-explorer/src/modules/AP-OntologyTab/OntologyTabContent.styles.ts new file: packages/graph-explorer/src/modules/AP-OntologyTab/OntologyTabContent.tsx new file: packages/graph-explorer/src/modules/AP-OntologyTab/StoredOntologyList.ts renamed: packages/graph-explorer/src/modules/OntologyTab/index.ts -> packages/graph-explorer/src/modules/AP-OntologyTab/index.ts renamed: packages/graph-explorer/src/modules/PatientSearch/PatientSearch.styles.ts -> packages/graph-explorer/src/modules/AP-PatientSearch/PatientSearch.styles.ts renamed: packages/graph-explorer/src/modules/PatientSearch/PatientSearch.tsx -> packages/graph-explorer/src/modules/AP-PatientSearch/PatientSearch.tsx renamed: packages/graph-explorer/src/modules/PatientSearch/toAdvancedList.ts -> packages/graph-explorer/src/modules/AP-PatientSearch/toAdvancedList.ts renamed: packages/graph-explorer/src/modules/PatientSearch/usePatientSearch.ts -> packages/graph-explorer/src/modules/AP-PatientSearch/usePatientSearch.ts new file: packages/graph-explorer/src/modules/AP-PatientTab/FullExpandCheckbox.tsx renamed: packages/graph-explorer/src/modules/PatientTab/PatientTab.tsx -> packages/graph-explorer/src/modules/AP-PatientTab/PatientTab.tsx renamed: packages/graph-explorer/src/modules/PatientTab/PatientTabContent.styles.ts -> packages/graph-explorer/src/modules/AP-PatientTab/PatientTabContent.styles.ts renamed: packages/graph-explorer/src/modules/PatientTab/PatientTabContent.tsx -> packages/graph-explorer/src/modules/AP-PatientTab/PatientTabContent.tsx renamed: packages/graph-explorer/src/modules/PatientTab/PatientTabFilters.tsx -> packages/graph-explorer/src/modules/AP-PatientTab/PatientTabFilters.tsx renamed: packages/graph-explorer/src/modules/PatientTab/index.ts -> packages/graph-explorer/src/modules/AP-PatientTab/index.ts modified: packages/graph-explorer/src/modules/EntityDetails/EntityDetails.tsx deleted: packages/graph-explorer/src/modules/OntologyTab/OntologyTabContent.tsx deleted: packages/graph-explorer/src/modules/OntologyTab/OntologyTabFilters.tsx modified: packages/graph-explorer/src/workspaces/GraphExplorer/GraphExplorer.tsx * Use the Summary API to improve the schema synchronization performance (aws#80) * Use Summary API to sync the schema * Update counts badges in ConnectionData * Remove individual counts from ConnectionData * Remove individual counts from ConnectionData * Reduce size of Docker image aws#103 (aws#104) * Reduce size of Docker image aws#103 * add a comment about changes made aws#103 * (bugfix/issue-55) Support non-string based ids for gremlin connector (aws#60) * (bugfix/issue-55) Support non-string based ids for gremlin connector * (bugfix/issue-55) Support non-string based ids for gremlin connector * (bugfix/issue-55) Update numeric ids neighbors queries * Fix disappearing edge on JanusGraph * Support JanusGraph Gremlin ids * Fix collapsing edges in non-Chromium browsers * Fix runLayout twice when nodes changes * Restore locking nodes on run layout --------- Co-authored-by: Jackson Millard <jacksonmillard@Jacksons-MacBook-Pro.local> Co-authored-by: Jackson Millard <jacksonmillard@Jacksons-MBP.attlocal.net> * release-1.2.0 (aws#115) Co-authored-by: Michael Chin <chnmch@amazon.com> * modified: package-lock.json modified: package.json new file: packages/graph-explorer/src/components/OntologySelect/OntologySelect.model.ts new file: packages/graph-explorer/src/components/OntologySelect/OntologySelect.styles.ts new file: packages/graph-explorer/src/components/OntologySelect/OntologySelect.tsx new file: packages/graph-explorer/src/components/OntologySelect/index.ts new file: packages/graph-explorer/src/components/OntologySelect/internalComponents/ListBox.tsx new file: packages/graph-explorer/src/components/OntologySelect/internalComponents/SelectBox.tsx new file: packages/graph-explorer/src/components/OntologySelect/internalComponents/SelectHeader/SelectHeader.styles.ts new file: packages/graph-explorer/src/components/OntologySelect/internalComponents/SelectHeader/SelectHeader.tsx new file: packages/graph-explorer/src/components/OntologySelect/internalComponents/SelectListBox.tsx new file: packages/graph-explorer/src/components/OntologySelect/internalComponents/SelectPopover.tsx new file: packages/graph-explorer/src/components/OntologySelect/utils/getThemeWithDefaultValues.ts new file: packages/graph-explorer/src/components/icons/OntologyCreatorIcon.tsx modified: packages/graph-explorer/src/components/icons/index.ts modified: packages/graph-explorer/src/components/index.ts modified: packages/graph-explorer/src/modules/AP-HealthgraphTab/HealthgraphTab.tsx new file: packages/graph-explorer/src/modules/AP-OntologyCreatorTab/InputForm.tsx new file: packages/graph-explorer/src/modules/AP-OntologyCreatorTab/OntologyCreatorTab.tsx new file: packages/graph-explorer/src/modules/AP-OntologyCreatorTab/OntologyCreatorTabContent.styles.ts new file: packages/graph-explorer/src/modules/AP-OntologyCreatorTab/OntologyCreatorTabContent.tsx new file: packages/graph-explorer/src/modules/AP-OntologyCreatorTab/index.ts new file: packages/graph-explorer/src/modules/AP-OntologyCreatorTab/toAdvancedList.ts new file: packages/graph-explorer/src/modules/AP-OntologyListTab/OntologyListTypes.ts renamed: packages/graph-explorer/src/modules/AP-OntologyTab/OntologyTab.tsx -> packages/graph-explorer/src/modules/AP-OntologyListTab/OntologyTab.tsx renamed: packages/graph-explorer/src/modules/AP-OntologyTab/OntologyTabContent.styles.ts -> packages/graph-explorer/src/modules/AP-OntologyListTab/OntologyTabContent.styles.ts new file: packages/graph-explorer/src/modules/AP-OntologyListTab/OntologyTabContent.tsx new file: packages/graph-explorer/src/modules/AP-OntologyListTab/StoredOntologyList.json new file: packages/graph-explorer/src/modules/AP-OntologyListTab/StoredOntologyList.ts renamed: packages/graph-explorer/src/modules/AP-OntologyTab/index.ts -> packages/graph-explorer/src/modules/AP-OntologyListTab/index.ts new file: packages/graph-explorer/src/modules/AP-OntologySearch/OntologySearch.styles.ts new file: packages/graph-explorer/src/modules/AP-OntologySearch/OntologySearch.tsx new file: packages/graph-explorer/src/modules/AP-OntologySearch/toAdvancedList.ts new file: packages/graph-explorer/src/modules/AP-OntologySearch/useOntologySearch.ts deleted: packages/graph-explorer/src/modules/AP-OntologyTab/OntologyListTypes.ts deleted: packages/graph-explorer/src/modules/AP-OntologyTab/OntologyTabContent.tsx deleted: packages/graph-explorer/src/modules/AP-OntologyTab/StoredOntologyList.ts modified: packages/graph-explorer/src/modules/AP-PatientSearch/PatientSearch.styles.ts modified: packages/graph-explorer/src/modules/AP-PatientSearch/PatientSearch.tsx modified: packages/graph-explorer/src/modules/AP-PatientTab/PatientTab.tsx modified: packages/graph-explorer/src/workspaces/GraphExplorer/GraphExplorer.tsx * modified: packages/graph-explorer/src/core/ConfigurationProvider/types.ts modified: packages/graph-explorer/src/modules/AP-OntologySearch/OntologySearch.tsx modified: packages/graph-explorer/src/modules/AP-OntologySearch/useOntologySearch.ts modified: packages/graph-explorer/src/modules/AvailableConnections/AvailableConnections.tsx modified: packages/graph-explorer/src/utils/isValidConfigurationFile.ts modified: packages/graph-explorer/src/utils/saveConfigurationToFile.ts --------- Co-authored-by: nestoralvarezd <117365582+nestoralvarezd@users.noreply.github.com> Co-authored-by: Kelvin Lawrence <gfxman@yahoo.com> Co-authored-by: Jackson Millard <jacksonmillard@Jacksons-MacBook-Pro.local> Co-authored-by: Jackson Millard <jacksonmillard@Jacksons-MBP.attlocal.net> Co-authored-by: Michael Chin <mchin188@yahoo.com> Co-authored-by: Michael Chin <chnmch@amazon.com>
* new file: package-lock.json modified: packages/graph-explorer/src/connector/gremlin/mappers/mapApiEdge.ts modified: packages/graph-explorer/src/connector/gremlin/mappers/mapApiVertex.ts new file: packages/graph-explorer/src/connector/gremlin/mappers/toStringId.ts modified: packages/graph-explorer/src/connector/gremlin/queries/fetchNeighbors.ts modified: packages/graph-explorer/src/connector/gremlin/types.ts modified: packages/graph-explorer/src/core/StateProvider/nodes.ts renamed: packages/graph-explorer/src/modules/HealthgraphTab/HealthgraphTab.tsx -> packages/graph-explorer/src/modules/AP-HealthgraphTab/HealthgraphTab.tsx renamed: packages/graph-explorer/src/modules/HealthgraphTab/HealthgraphTabContent.styles.ts -> packages/graph-explorer/src/modules/AP-HealthgraphTab/HealthgraphTabContent.styles.ts renamed: packages/graph-explorer/src/modules/HealthgraphTab/HealthgraphTabContent.tsx -> packages/graph-explorer/src/modules/AP-HealthgraphTab/HealthgraphTabContent.tsx renamed: packages/graph-explorer/src/modules/HealthgraphTab/HealthgraphTabFilters.tsx -> packages/graph-explorer/src/modules/AP-HealthgraphTab/HealthgraphTabFilters.tsx renamed: packages/graph-explorer/src/modules/HealthgraphTab/index.ts -> packages/graph-explorer/src/modules/AP-HealthgraphTab/index.ts new file: packages/graph-explorer/src/modules/AP-OntologyTab/OntologyListTypes.ts renamed: packages/graph-explorer/src/modules/OntologyTab/OntologyTab.tsx -> packages/graph-explorer/src/modules/AP-OntologyTab/OntologyTab.tsx renamed: packages/graph-explorer/src/modules/OntologyTab/OntologyTabContent.styles.ts -> packages/graph-explorer/src/modules/AP-OntologyTab/OntologyTabContent.styles.ts new file: packages/graph-explorer/src/modules/AP-OntologyTab/OntologyTabContent.tsx new file: packages/graph-explorer/src/modules/AP-OntologyTab/StoredOntologyList.ts renamed: packages/graph-explorer/src/modules/OntologyTab/index.ts -> packages/graph-explorer/src/modules/AP-OntologyTab/index.ts renamed: packages/graph-explorer/src/modules/PatientSearch/PatientSearch.styles.ts -> packages/graph-explorer/src/modules/AP-PatientSearch/PatientSearch.styles.ts renamed: packages/graph-explorer/src/modules/PatientSearch/PatientSearch.tsx -> packages/graph-explorer/src/modules/AP-PatientSearch/PatientSearch.tsx renamed: packages/graph-explorer/src/modules/PatientSearch/toAdvancedList.ts -> packages/graph-explorer/src/modules/AP-PatientSearch/toAdvancedList.ts renamed: packages/graph-explorer/src/modules/PatientSearch/usePatientSearch.ts -> packages/graph-explorer/src/modules/AP-PatientSearch/usePatientSearch.ts new file: packages/graph-explorer/src/modules/AP-PatientTab/FullExpandCheckbox.tsx renamed: packages/graph-explorer/src/modules/PatientTab/PatientTab.tsx -> packages/graph-explorer/src/modules/AP-PatientTab/PatientTab.tsx renamed: packages/graph-explorer/src/modules/PatientTab/PatientTabContent.styles.ts -> packages/graph-explorer/src/modules/AP-PatientTab/PatientTabContent.styles.ts renamed: packages/graph-explorer/src/modules/PatientTab/PatientTabContent.tsx -> packages/graph-explorer/src/modules/AP-PatientTab/PatientTabContent.tsx renamed: packages/graph-explorer/src/modules/PatientTab/PatientTabFilters.tsx -> packages/graph-explorer/src/modules/AP-PatientTab/PatientTabFilters.tsx renamed: packages/graph-explorer/src/modules/PatientTab/index.ts -> packages/graph-explorer/src/modules/AP-PatientTab/index.ts modified: packages/graph-explorer/src/modules/EntityDetails/EntityDetails.tsx deleted: packages/graph-explorer/src/modules/OntologyTab/OntologyTabContent.tsx deleted: packages/graph-explorer/src/modules/OntologyTab/OntologyTabFilters.tsx modified: packages/graph-explorer/src/workspaces/GraphExplorer/GraphExplorer.tsx * Use the Summary API to improve the schema synchronization performance (aws#80) * Use Summary API to sync the schema * Update counts badges in ConnectionData * Remove individual counts from ConnectionData * Remove individual counts from ConnectionData * Reduce size of Docker image aws#103 (aws#104) * Reduce size of Docker image aws#103 * add a comment about changes made aws#103 * (bugfix/issue-55) Support non-string based ids for gremlin connector (aws#60) * (bugfix/issue-55) Support non-string based ids for gremlin connector * (bugfix/issue-55) Support non-string based ids for gremlin connector * (bugfix/issue-55) Update numeric ids neighbors queries * Fix disappearing edge on JanusGraph * Support JanusGraph Gremlin ids * Fix collapsing edges in non-Chromium browsers * Fix runLayout twice when nodes changes * Restore locking nodes on run layout --------- Co-authored-by: Jackson Millard <jacksonmillard@Jacksons-MacBook-Pro.local> Co-authored-by: Jackson Millard <jacksonmillard@Jacksons-MBP.attlocal.net> * release-1.2.0 (aws#115) Co-authored-by: Michael Chin <chnmch@amazon.com> * modified: package-lock.json modified: package.json new file: packages/graph-explorer/src/components/OntologySelect/OntologySelect.model.ts new file: packages/graph-explorer/src/components/OntologySelect/OntologySelect.styles.ts new file: packages/graph-explorer/src/components/OntologySelect/OntologySelect.tsx new file: packages/graph-explorer/src/components/OntologySelect/index.ts new file: packages/graph-explorer/src/components/OntologySelect/internalComponents/ListBox.tsx new file: packages/graph-explorer/src/components/OntologySelect/internalComponents/SelectBox.tsx new file: packages/graph-explorer/src/components/OntologySelect/internalComponents/SelectHeader/SelectHeader.styles.ts new file: packages/graph-explorer/src/components/OntologySelect/internalComponents/SelectHeader/SelectHeader.tsx new file: packages/graph-explorer/src/components/OntologySelect/internalComponents/SelectListBox.tsx new file: packages/graph-explorer/src/components/OntologySelect/internalComponents/SelectPopover.tsx new file: packages/graph-explorer/src/components/OntologySelect/utils/getThemeWithDefaultValues.ts new file: packages/graph-explorer/src/components/icons/OntologyCreatorIcon.tsx modified: packages/graph-explorer/src/components/icons/index.ts modified: packages/graph-explorer/src/components/index.ts modified: packages/graph-explorer/src/modules/AP-HealthgraphTab/HealthgraphTab.tsx new file: packages/graph-explorer/src/modules/AP-OntologyCreatorTab/InputForm.tsx new file: packages/graph-explorer/src/modules/AP-OntologyCreatorTab/OntologyCreatorTab.tsx new file: packages/graph-explorer/src/modules/AP-OntologyCreatorTab/OntologyCreatorTabContent.styles.ts new file: packages/graph-explorer/src/modules/AP-OntologyCreatorTab/OntologyCreatorTabContent.tsx new file: packages/graph-explorer/src/modules/AP-OntologyCreatorTab/index.ts new file: packages/graph-explorer/src/modules/AP-OntologyCreatorTab/toAdvancedList.ts new file: packages/graph-explorer/src/modules/AP-OntologyListTab/OntologyListTypes.ts renamed: packages/graph-explorer/src/modules/AP-OntologyTab/OntologyTab.tsx -> packages/graph-explorer/src/modules/AP-OntologyListTab/OntologyTab.tsx renamed: packages/graph-explorer/src/modules/AP-OntologyTab/OntologyTabContent.styles.ts -> packages/graph-explorer/src/modules/AP-OntologyListTab/OntologyTabContent.styles.ts new file: packages/graph-explorer/src/modules/AP-OntologyListTab/OntologyTabContent.tsx new file: packages/graph-explorer/src/modules/AP-OntologyListTab/StoredOntologyList.json new file: packages/graph-explorer/src/modules/AP-OntologyListTab/StoredOntologyList.ts renamed: packages/graph-explorer/src/modules/AP-OntologyTab/index.ts -> packages/graph-explorer/src/modules/AP-OntologyListTab/index.ts new file: packages/graph-explorer/src/modules/AP-OntologySearch/OntologySearch.styles.ts new file: packages/graph-explorer/src/modules/AP-OntologySearch/OntologySearch.tsx new file: packages/graph-explorer/src/modules/AP-OntologySearch/toAdvancedList.ts new file: packages/graph-explorer/src/modules/AP-OntologySearch/useOntologySearch.ts deleted: packages/graph-explorer/src/modules/AP-OntologyTab/OntologyListTypes.ts deleted: packages/graph-explorer/src/modules/AP-OntologyTab/OntologyTabContent.tsx deleted: packages/graph-explorer/src/modules/AP-OntologyTab/StoredOntologyList.ts modified: packages/graph-explorer/src/modules/AP-PatientSearch/PatientSearch.styles.ts modified: packages/graph-explorer/src/modules/AP-PatientSearch/PatientSearch.tsx modified: packages/graph-explorer/src/modules/AP-PatientTab/PatientTab.tsx modified: packages/graph-explorer/src/workspaces/GraphExplorer/GraphExplorer.tsx * modified: packages/graph-explorer/src/core/ConfigurationProvider/types.ts modified: packages/graph-explorer/src/modules/AP-OntologySearch/OntologySearch.tsx modified: packages/graph-explorer/src/modules/AP-OntologySearch/useOntologySearch.ts modified: packages/graph-explorer/src/modules/AvailableConnections/AvailableConnections.tsx modified: packages/graph-explorer/src/utils/isValidConfigurationFile.ts modified: packages/graph-explorer/src/utils/saveConfigurationToFile.ts * modified: packages/graph-explorer/src/connector/gremlin/mappers/mapApiVertex.ts modified: packages/graph-explorer/src/connector/gremlin/mappers/toStringId.ts modified: packages/graph-explorer/src/connector/gremlin/types.ts --------- Co-authored-by: nestoralvarezd <117365582+nestoralvarezd@users.noreply.github.com> Co-authored-by: Kelvin Lawrence <gfxman@yahoo.com> Co-authored-by: Jackson Millard <jacksonmillard@Jacksons-MacBook-Pro.local> Co-authored-by: Jackson Millard <jacksonmillard@Jacksons-MBP.attlocal.net> Co-authored-by: Michael Chin <mchin188@yahoo.com> Co-authored-by: Michael Chin <chnmch@amazon.com>
Issue #55
Description of changes:
How Has This Been Tested?
Mount a local instance of Tinkerpop
docker run --rm -p 8182:8182 tinkerpop/gremlin-server conf/gremlin-server-rest-modern.yaml
using the REST configuration. The default graph contains vertices of type person and software whose ids are like{"@type":"g:Int64","@value":1}
. These kind of non-string ids are the reason of the issue.Create a new configuration with the following parameters:
After synchronization, inspect the 4 people of the 2 software in the connection details
"Node id" column now is not
[Object object]
but it shows the numeric value of the id.It has also been checked that this change does not affect to search or expand capabilities.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.