Skip to content

implement customized path and crosspoints RESTful API #305

Closed

Description

@zhoney

Expected behavior 期望表现

customized paths

  1. 指定起点
    • 可以是id列表
    • 也可以是根据label和properties组合查询
  2. 指定每一步遍历的label和direction,以及degree(单个顶点的出/入度)
    • sample,是否进行取样
    • weightBy,计算权重的属性值
  3. 限定其他条件
    • capacity,访问的顶点或边的总量限制
    • limit,返回的路径数目上限
    • sortBy,是否按照路径权重排序
    • with_vertex,是否同时返回路径中出现的顶点的完整信息

customized crosspoints

  1. 指定起点
    • 可以是id列表
    • 也可以是根据label和properties组合查询
  2. 指定每一步遍历的label和direction,以及degree(单个顶点的出/入度)
  3. 限定其他条件
    • capacity,访问的顶点或边的总量限制
    • limit,返回的交点数目上限
    • with_vertex,是否同时返回路径中出现的顶点的完整信息或者交点的完整信息
    • with_path,是否同时返回出现交点的路径

Activity

  1. 17 remaining items

  2. added this to the 0.9 milestone on Apr 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions