hmmm, thanks, im sure ill be back tomorrow with more questions. going to
try to digest this and read up on strategies a bit more and see where it
gets me. Your help is much appreciated
On Sun, Oct 8, 2017 at 1:07 AM, Joshua Shinavier wrote:
> Small tweaks to the syntax, but yeah you can create
Small tweaks to the syntax, but yeah you can create the strategy first,
then add it to a traversal source, e.g.
strategy = SubgraphStrategy.build().edges(__.hasLabel("knows")).create()
graph = TinkerFactory.createModern()
g = graph.traversal()
g.getStrategies().addStrategies(strategy)
g.E()
H
My cuurent attempt tried to do exactly that, but i think I went about it
wrong.
Can I just add it to an existing GraphTraversalSource like this:
graph = TinkerFactory.createModern()
g = graph.traversal()
g.getStrategies().addStrategies(SubgraphStrategy)
subgraph = g.e().hasLabel("Foo").subgra
To pull these threads together:
I have a new Redis-based Graph implementation I can share once I get
approval from my company. It took about 1600 lines of code and quite a bit
of time debugging to get it to pass (most) of the structure and process
standard test suite.
The wrapper I described earl
Thanks, may be useful for others who come along. Though I could still use
some help. With that said im also trying to understand adding custom
strategies to existing providers and having some trouble understanding that
as well. I seem to have ventured into undocumented territory to some degree.
On
I'm going to paste here what I wrote in a side thread:
Well, one reason you don't see a lot of pass-through Graph wrappers in TP3
is that a lot of the things we used to do with wrappers is now accomplished
with traversal strategies. Take IdGraph, for example. This allows you to
add the user-defin
The past 24 hours ive been trying to write a simple pass-through graph
provider. Basically a Graph type that takes any other Graph type as an
argument in a constructor and passes all calls through to the graph. I want
to make the framework so someone can then simply override one or two
methods to d