i only have the names of nodes ICICI, Disconparams and StoreAccount. So is there a cypher query that can include all these three nodes and traverse through its path. say here there are several API 's in the path that disects and creates branches and so i specifically want to traverse through this path only.

That seems straight forward, you just need to MATCH the pattern with the predicates so you are looking up each of those 3 specific nodes by property. Use EXPLAIN on the query to see how the planner plans to execute this.

You should have indexes on the relevant label/property combinations for fast lookup of each of the nodes, and you can use index hints to force the planner to do an index lookup for each of the nodes if it's not doing this already.

Give it a try, and if you run into trouble let us know, along with the query you attempted.

Since you don't know the labels, you can't use index lookup, and these will be using inefficient all nodes scans. If there is any way you can have labels present in some way, even some general label that can be applied to all your nodes, then it will be possible to create an index and use index lookup.

As for the paths, it looks like you don't know what relationships are connecting these nodes. Are the nodes you previously matched to supposed to be the only nodes making up each path? Right now your queries are finding paths between these nodes, but the nodes in between them may be nodes other than the ones you are matching to.

Here , in the above photo , the Parameter relationship is the last. But this is due to the query. There are Parameters even beyond payload , header,signature nodes. We have implemented an Apriori Algorithm from where we get the retrieve the top five sequences. This sequence is a set of nodes. These nodes are arranged in random order. I want to retrieve the shortest path between these nodes where we get the output till immediate Parameter and not for Parameters beyond that.