Property Graph简介

来源:互联网 发布:电吉他入门 知乎 编辑:程序博客网 时间:2024/06/03 16:56

(内容摘自https://github.com/tinkerpop/blueprints/wiki/Property-Graph-Model)

A property graph has these elements:

  1. a set of vertices
    • each vertex has a unique identifier.
    • each vertex has a set of outgoing edges.
    • each vertex has a set of incoming edges.
    • each vertex has a collection of properties defined by a map from key to value.
  2. a set of edges
    • each edge has a unique identifier.
    • each edge has an outgoing tail vertex.
    • each edge has an incoming head vertex.
    • each edge has a label that denotes the type of relationship between its two vertices.
    • each edge has a collection of properties defined by a map from key to value.
0 0
原创粉丝点击