How to auto-generated graph model in Neo4j

Hello, I am a newbie to Neo4j tool. Recently, I am looking for ways to auto-gen graph model based from pre-defined data. ex: there are 4 persons (A/B/C/D) have their preference to make friends. Person A and B like apple, but Person C/D like orange. I would like to have auto-generated graph model as Person A and B are friends and person C and D are friend.
My question is can Neo4j auto-generated this graph model? if yes, how could I do?
If not, is there any good pre-process API or tools can do before importing data to Neo4j?
Thanks in advance.

If you have existing data, the Neo4j Data Importer (for Aura) or the ETL tool (for relational databases) does some auto-mapping to a general model for Neo4j.

Outside of those tools, data models are typically constructed by the user by writing Cypher statements for import.