You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@s2graph.apache.org by "zhangmeng (JIRA)" <ji...@apache.org> on 2017/11/14 08:47:00 UTC

[jira] [Updated] (S2GRAPH-171) Support "undirected" label's direction when create Edge

     [ https://issues.apache.org/jira/browse/S2GRAPH-171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

zhangmeng updated S2GRAPH-171:
------------------------------
    Description: 
When bulkload edge csv file,there is a difference between "directed label" and "undirected label".

In "directed  label" case, if there is an edge "a b out", this edge's relatedEdges will be "a b out" and "b a in".
In "undirected label" case, if there is an edge "a b out", this edge's relatedEdges should be "a b out" and "b a out" .

However, as the effect of toEdge function's logic, the "undirected label" case has the same result as the"directed label" case.So I added the support for "undirected" label's direction when create Edge.

  was:
When bulkload edge csv file,there is a difference between "directed label" and "undirected label".

h2. In "directed  label" case, if there is an edge "a b out", this edge's relatedEdges will be "a b out" and "b a in".
h2. In "undirected label" case, if there is an edge "a b out", this edge's relatedEdges should be "a b out" and "b a out" .

However, as the effect of toEdge function's logic, the "undirected label" case has the same result as the"directed label" case.So I added the support for "undirected" label's direction when create Edge.


> Support "undirected" label's direction when create Edge
> -------------------------------------------------------
>
>                 Key: S2GRAPH-171
>                 URL: https://issues.apache.org/jira/browse/S2GRAPH-171
>             Project: S2Graph
>          Issue Type: Bug
>            Reporter: zhangmeng
>              Labels: patch
>
> When bulkload edge csv file,there is a difference between "directed label" and "undirected label".
> In "directed  label" case, if there is an edge "a b out", this edge's relatedEdges will be "a b out" and "b a in".
> In "undirected label" case, if there is an edge "a b out", this edge's relatedEdges should be "a b out" and "b a out" .
> However, as the effect of toEdge function's logic, the "undirected label" case has the same result as the"directed label" case.So I added the support for "undirected" label's direction when create Edge.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)