Hi there!
My issue is that I'm working with an in-house method that generates a chart but returns it wrapped in a Try construct. I'm not able to call a
.get right way, but, when I do this, I lose the direct path type dependency after running the
find method on my graph - so, my return types becomes
scalax.collection.Graph[myNodeType, scalax.collection.GraphEdge.DiEdge],#NodeT instead of
myGraph.NoteT. With the first construct, I'm not able to call the method
pathTo, which is what I need.
I've noticed the same thing happening if I happen to wrap my graph in a Traversable object, and then extracting it - I will lose the path dependency after extracting it using
.head() or anything like that.
I explained my case more in more details in
this question on Stack Overflow, hoping someone would come along, but that has not been the case so far.
My doubt, then, is: how to extract an inner node from a graph that has been extracted from some other construct, as a Try or a Traversable object, keeping the path type dependency in order to allow me to use that kind of method?