Relative Content

Tag Archive for gremlinamazon-neptune

Find unidirectional edges of a given label

There are currently some unidirectional IS_FRIENDS_WITH edges in our graph (where a IS_FRIENDS_WITH b and not vice versa). I want to write a query that will for every such uni-directional edge from a->b, draw a matching edge b IS_FRIENDS_WITH a. At the end of this operation, the intention is that we will know that every IS_FRIENDS_WITH edge has a corresponding incoming edge.