Skip to content
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

Merged
merged 9 commits into from
May 24, 2023

Conversation

nestoralvarezd
Copy link
Contributor

Issue #55

Description of changes:

  • Updates Gremlin connector to take into account non-string based ids for nodes and edges during the mapping

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:

    • Public endpoint: http://localhost:8182
    • Enable cache: false (only to guarantee that all the requests are always performed against the database)
  • 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.

@triggan
Copy link
Contributor

triggan commented Apr 14, 2023

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]:

g.addV('testV').
as('1').
addV('testV').
as('2').
addE('testE').from('1').to('2')

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:

g.V("42774").both().dedup().group().by(label).by(count())

So the UI is attempting to fetch a vertex with the ID as a String instead of with a Long. The query should be:

g.V(42774L).both().dedup().group().by(label).by(count())

[1] Note that I'm allowing Gremlin Server to generate IDs for me and the default is to generate IDs as Longs.

@joywa joywa linked an issue Apr 17, 2023 that may be closed by this pull request
@krlawrence krlawrence self-requested a review April 20, 2023 15:03
Copy link
Contributor

@krlawrence krlawrence left a 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

@krlawrence
Copy link
Contributor

krlawrence commented Apr 21, 2023

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.

@nalvarezdiaz
Copy link

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]:

g.addV('testV').
as('1').
addV('testV').
as('2').
addE('testE').from('1').to('2')

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:

g.V("42774").both().dedup().group().by(label).by(count())

So the UI is attempting to fetch a vertex with the ID as a String instead of with a Long. The query should be:

g.V(42774L).both().dedup().group().by(label).by(count())

[1] Note that I'm allowing Gremlin Server to generate IDs for me and the default is to generate IDs as Longs.

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.

@krlawrence
Copy link
Contributor

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

@nestoralvarezd nestoralvarezd force-pushed the bugfix/55-non-string-gremlin-ids branch from 984995c to 23985da Compare May 9, 2023 07:03
@krlawrence
Copy link
Contributor

I built the latest code with this PR included. I'm still seeing issues.

  1. When you expand an edge, other already expanded edges vanish.
  2. When you add a node and expand it (starting with a clear canvas) the 2 nodes briefly appear nicely with their edge shown but then immediately collapse on top of each other. I reported this above and it remains a problem.

@krlawrence
Copy link
Contributor

krlawrence commented May 18, 2023

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.

@krlawrence
Copy link
Contributor

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.

@krlawrence krlawrence self-requested a review May 24, 2023 17:53
Copy link
Contributor

@krlawrence krlawrence left a 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.

@joywa joywa merged commit 3130c0e into aws:main May 24, 2023
Newber0 added a commit to Apotheca-AI/graph-explorer-apotheca that referenced this pull request Jun 2, 2023
* 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>
Newber0 added a commit to Apotheca-AI/graph-explorer-apotheca that referenced this pull request Jun 2, 2023
* 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>
Newber0 added a commit to Apotheca-AI/graph-explorer-apotheca that referenced this pull request Jun 2, 2023
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: ✅ Done
5 participants