Can i get nodes by providing node property?
Which API are you referring to? I'm guessing perhaps common.graph but your question does not make it clear.
If you are talking about common.graph, then it does not support retrieving nodes according to a property of the node; you would need to provide your own data structure to do that.
@terence1984 If you're indeed using one of the common.graph classes that @jrtom mentioned, e.g. Graph or Network, then you might find these two StackOverflow questions useful, both of which I answered:
I hope this helps. :)
Let's use StackOverflow for questions like this.
Most helpful comment
Which API are you referring to? I'm guessing perhaps common.graph but your question does not make it clear.
If you are talking about common.graph, then it does not support retrieving nodes according to a property of the node; you would need to provide your own data structure to do that.