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

Fixes #4138: Add support for loading Gephi GEXF file format #4171

Merged
merged 3 commits into from
Oct 7, 2024

Conversation

vga91
Copy link
Contributor

@vga91 vga91 commented Aug 20, 2024

Fixes #4138

  • Added procedures for reading GEXF files.
  • Copied and pasted code from APOC Core and put it into XmlUtil.java
  • Changed parseXML method to be able to handle properties of gexf files. To handle the name of relations we parse the kind tag. While for node properties we change from doing the parse of the data tag to the attvalue tag. Also, to parse the label in the node tag you parse labels instead of labels as compared to how it is done for graphml.
  • Multiple label support for nodes. Example <node id=“0” label=“:Gephi:Webatlas”>.
  • Types tested: string, integer, long, foat, double, boolean, liststring, listboolean
  • Improved ExtendedUtil.convertValue with toLowerCase(), which is used by both Parquet/Arrow and Gefx formats
  • Improved ExtendedTestUtil
    • added arrays assertion to assertMapEquals
    • added assertRelationship

Other changes

  • Added missing parquet.adoc to nav bar

@vga91 vga91 marked this pull request as draft August 30, 2024 13:25
@vga91 vga91 marked this pull request as ready for review October 4, 2024 15:55
@RobertoSannino RobertoSannino merged commit 487d970 into dev Oct 7, 2024
5 checks passed
@RobertoSannino RobertoSannino deleted the issue-4138 branch October 7, 2024 08:40
vga91 added a commit to vga91/neo4j-apoc-procedures that referenced this pull request Dec 3, 2024
…ile format (neo4j-contrib#4171)

* Fixes neo4j-contrib#4138: Add support for loading Gephi GEXF file format

* removed unused imports

* Fixed RollupTest
vga91 added a commit that referenced this pull request Dec 19, 2024
…4171)

* Fixes #4138: Add support for loading Gephi GEXF file format

* removed unused imports

* Fixed RollupTest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants