Is there a way to extract a subgraph from a neo4j graph database,base on the nodes which I want to exist in my subgraph,so the subgraph will include the declared nodes and their relationships with each other?
I am using neo4j java embedding database.
I searched but did not find about subgraph extraction based on nodes,so I will be really thankful for your great help.