I understand that the previous (now deprecated) Neo4j Spark Connector allowed for the generation of Spark Graphs and GraphFrames using the corresponding methods of the org.neo4j.spark.Neo4j class. With the Neo4j class gone, the only examples I found using the new approach generate DataFrames based on something like:
spark.read.format("org.neo4j.spark.DataSource")
.option("url", "bolt://localhost:7687")
.option("query", "...")
.load()
How do I get Graph instances directly using the "Neo4j Connector for Apache Spark v4.0.0"?