What’s the basic approach to dealing with expansion when not all of your data is loaded into your model? Consider the following graph:
A -> B -> C -> D -> E, F (that is, a link from D to E and another link from D to F)
Let’s say I’ve defined my model as GraphLinksModel<String, Guid, String, String> and it currently contains the A -> B graph. The remaining data is not yet loaded in from disk/DB/whatever. Using the model, how can I discover that B has a link to C which is not displayed?
I’m familiar with the GoWin product and was surprised to not find a Node.Links property that would tell me how many links a given node currently knows about. It seems like there’s something in GoXam that would help me with this problem, but I can’t quite wrap my brain around it. Would I just insert a link in my model with From = B.Key and To = C.Key, and then only fetch C from disk once the user chooses to display more of the graph? (Is that where the longer form of GraphLinksModel.InsertLink() comes in? How do I get from that link description to a LinkType object expected by the model?) Would GraphLinksModel.FindNodeForKey(C.Key) return null in this scenario thus prompting me to fetch C from disk?