Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

GraphProvider: How do I link my response nodes to the Hierarchy on a search request (IRelationshipSearchParameters)? (Dev11 / Dev12)

$
0
0

I have an existing implementation of IGraphProvider that constructs and links nodes to provide symbol information in my project kind. While implementing support for Search Solution Explorer, I have hit a point where I am not sure what the editor is expecting in response.

The editor has called BeginGetGraphData(IGraphContext) on my graph provider. The GraphContextDirection is Custom and the property bag contains an IRelationshipSearchParameters with information on the string for which user is searching. Other than the one property, everything else in the context is empty.

I am able to traverse my symbol information to construct graph nodes based on the information provided in the IRelationshipSearchParameters. I have added the graph nodes to the OutputNodes collection on the context as I would normally do during other graph provider operations. The editor does not appear to do anything with the nodes that I have provided. Is there a specific property or flag that needs to be set in order for the editor to acknowledge my nodes?


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>