Hi - I'm building a graph to display via d3's force-directed layout.

In order to find the links, I'm running a query like this:

SELECT expand(out("E")) from V where id=FOO;

This gives me an array of all the objects that are connected to FOO by an 
edge. That's fantastic.

But I also have a property on the edge called "strength" which indicates 
the strength of the connection. How do I access that? 

Ideally what I want to get is something like this:

result: [
  {
    object: { THE VERTEX },
    strength: STRENGTH_VALUE
  }
]

Does that make sense? Am I going about it all wrong? 

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to